I'm using SharePoint 2016.

I would like to enable and force redirect to HTTPS, and I have followed this solution https://sharepoint.stackexchange.com/a/209004/20605 and seems to work fine when users access the SharePoint site from the "main" URL like http://myportal.mydomain.tld. They are automatically redirected to https://myportal.mydomain.tld.

I've noticed a problem with users that are using bookmarks saved with HTTP protocol: SharePoint is prompting authentication from HTTP and serve the page on HTTP when the user log in.

Then, when the user returns to the home page, the HTTPS redirect works and a new authentication panel is prompted.

My goal is to immediately redirect user from HTTP to HTTPS and, eventually, prompt the authentication panel. How can I immediately redirect to HTTPS?

PS: I've also tried some solutions with URL Rewrite in IIS, but these methods are always returning TOO_MANY_REDIRECTS error.

  • Its easy, remove HTTP binding from IIS, send all users information email, that new security is the Cause, create a short manual for editing bookmarks to https from http. There is no easy way. Employees must adapt. – Zdeněk Vinduška Jan 30 at 9:06

As mentioned in the comments, this solution does not redirect every deeplink within SharePoint.

URL Rewriting in IIS also gives a bunch of drawbacks (i.e. Outlook doesn't follow redirects if you connect a contact list).

Switch existing environments from HTTP to HTTPS is always a bit of pain. As i haven't found a perfect technical solution yet, lots of things need to be resolved in support.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.