Microsoft Teams is stuck in a login loop in Edge, Internet Explorer or Google Chrome

Symptoms

When you try to sign in to Microsoft Teams in Microsoft Edge, Internet Explorer or Google Chrome, the site continually loops, and you can never sign in.

Cause

This issue occurs if your organization uses Trusted Sites in Internet Explorer and doesn't enable the URLs for Microsoft Teams. In this case, the Teams web-based application cannot sign in, as the trusted sites for Teams are not enabled.

Resolution

Change Microsoft Edge, Internet Explorer or Google Chrome settings using administrator rights or a Group Policy object (GPO).

Microsoft Edge

  1. In the Edge Settings window, select Cookies and site permissions then select Manage and delete cookies and site data under Cookies and data stored.

  2. Turn on Allow sites to save and read cookie data (recommended) and make sure Block third-party cookies is turned off. Alternatively, follow step 3 if you need to keep third-party cookies blocked.

  3. In the same window, under Allow, select Add to add the following sites:

    • [*.]microsoft.com
    • [*.]microsoftonline.com
    • [*.]teams.skype.com
    • [*.]teams.microsoft.com
    • [*.]sfbassets.com
    • [*.]skypeforbusiness.com

    Screenshot of edge.

Internet Explorer

  1. In Windows Control Panel, open Internet Options.

  2. In the Internet Options window, select Privacy and Advanced.

  3. Select Accept for First-party Cookies and Third-party Cookies, and select the Always allow session cookies check box.

    Screenshot of IE.

    Alternatively, follow steps 3 and 4 if you need to keep third-party cookies blocked.

  4. In the Internet Options window, select Security > Trusted Sites > Sites.

  5. Add the following sites:

    • https://*.microsoft.com
    • https://*.microsoftonline.com
    • https://*.teams.skype.com
    • https://*.teams.microsoft.com
    • https://*.sfbassets.com
    • https://*.skypeforbusiness.com

Note

It's always good to validate and enable all trusted URLs for Teams and review the requirements in this article: Office 365 URLs and IP address ranges.

Google Chrome

  1. In the Chrome Settings window, on the Privacy and security tab, select Cookies and other site data.

  2. Under Sites that can always use cookies, select Add and select the Including third-party cookies on this site check box.

  3. Add the following sites:

    • [*.]microsoft.com
    • [*.]microsoftonline.com
    • [*.]teams.skype.com
    • [*.]teams.microsoft.com
    • [*.]sfbassets.com
    • [*.]skypeforbusiness.com

Third-party information disclaimer

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

Still need help? Go to Microsoft Community.