Friday, July 19, 2013

Making "Keep me signed in" work for Office 365 and IE

I generally love irony, unless it involves my information management solutions. Consider this extremely common scenario:
  • I use Microsoft Office 365 for Outlook, SharePoint, etc.
  • I go to log in to Office 365 using Microsoft Internet Explorer.
  • I check the "Keep me signed in" box because I am on my company computer, and I don't want to have to log in every time.
  • I close the browser, then open it again.
  • I have to sign in to Microsoft Office 365 yet again. And again. And again.
Why does this happen?  Because in an effort to make things a little more secure, Internet Explorer (IE) by default does not allow you to stay signed in for sites that are not part of your local domain (or something like that). This is extremely frustrating, however, especially when there is no friendly warning like "I'm sorry Dave, I'm afraid I can't do that."

My name's not Dave, but you get the point.

So is there a way to make "Keep me signed in" work for Office 365 and IE? Yes! But first, a warning:

Only do this on your own computer (i.e., not a shared computer), and only if you lock that computer using your own user account every time you are not physically at said computer. By the way, you should always do this anyway. No I mean it. No really, start locking your computers!

Here's how to make "Keep me signed in" work:

Go to Internet Options » Security tab » Trusted sites » Sites button. Then add the following entries:
  • https://*.microsoftonline.com
  • https://*.outlook.com
  • https://*.sharepoint.com
You should leave "Require server verification (https:) for all sites in this zone" checked. Close it out. Then close your browser, open IE again and log in to Office 365, checking "Keep me signed in". Once you are in, you can try closing IE and then opening your Office 365 site again. You should be automagically signed in.

If this doesn't work for you, it may mean that your IT staff has set some policies that interfere with it. Or gremlins. Hopefully it just works!

Update: This fix applies only to Internet Explorer.

8 comments:

  1. THANK YOU!!!!!! Worked perfectly!

    ReplyDelete
  2. It's looking promising so far. The hardest part for me was trying to find access to Internet Options in Chrome!

    ReplyDelete
  3. This worked for me as well. Thank you! It also worked for Yammer as Yammer is now part of the O365 hosted apps.

    It looks like O365 is generating a specific cookie when logging in with the Keep Me Signed On function. We are now seeing an issue once we turned on Azure AD Federation. With AAD Federation and SSO, the user will not be prompted to authenticate and therefore will not receive an O365 Login Page. MS is stating that the only way to generate the O365 specific cookie is to force the user to authenticate via the O365 Login Page. Any suggestions?

    ReplyDelete
  4. Where is INTERNET OPTIONS in Safari?

    ReplyDelete
    Replies
    1. This fix is specific to Microsoft's Internet Explorer (IE). It does not work with other browsers. I will edit the post to say "Internet Explorer" to clarify.

      Delete
  5. Google Chrome has an extension for their browser called Office 365 Login. Once you add this extension you simply put your Microsoft User ID in the extension and it turns your Office 365 sign in into a one click process.

    This is the link to use for assistance in adding extensions to Chrome.

    https://support.google.com/chrome_webstore/answer/2664769?hl=en-GB&rd=2

    ReplyDelete
  6. Thank you! I have been struggling with this for months now and wanted a solution before rolling it out to the other workers here. This seems to work great for Edge as well as Internet Explorer.
    Personally, I haven't had trouble with the other browsers, Chrome seems to automatically log in as long as I select 'Keep me signed in'. It was only Edge (& IE) that I had trouble with.
    -- John Gillanders

    ReplyDelete