How to troubleshoot Teams web client is stuck in a login loop

Authored by: Support.com Tech Pro Team

1. Introduction

How to troubleshoot Teams web client is stuck in a login loop

2. Resolution

When you try to sign in to Microsoft Teams in Microsoft Edge, Google Chrome, Mozilla Firefox, Safari, or Internet Explorer, the site continually loops, and you're not able to sign in.

This issue occurs if you use the Trusted Sites feature in your browser and you don't add the URLs for Microsoft Teams to the list of sites that your browser should trust. In this situation, the Teams web client can't sign in.

To resolve this issue, update the settings for your browser. You must have administrative rights to make the updates. If you're the administrator for your organization, you can use a Group Policy Object (GPO) to make the updates

3. Edge

  1. In the Edge Settings window, select Cookies and site permissions > Cookies and data stored > Manage and delete cookies and site data.
  2. Turn on Allow sites to save and read cookie data (recommended), and make sure that Block third-party cookies is turned off.
  3. Or, iIf you have to keep third-party cookies blocked, do this instead in the same window:
  4. Under Allow, select Add to add the following sites:
  5. [*.]microsoft.com
  6. [*.]microsoftonline.com
  7. [*.]teams.skype.com
  8. [*.]teams.microsoft.com
  9. [*.]sfbassets.com
  10. [*.]skypeforbusiness.com

To change the settings by using a GPO, follow these steps:

  1. Download and install the Microsoft Edge administrative template.
  2. Add the sites that are listed in step 2 under "Microsoft Edge" to Content settings > CookiesAllowedForUrls by having either a mandatory or recommended policy. For more information, see Set mandatory or recommended policies and CookiesAllowedForUrls setting

4. 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 then select the Including third-party cookies on this site checkbox.
  3. Add the following sites:
  4. [*.]microsoft.com
  5. [*.]microsoftonline.com
  6. [*.]teams.skype.com
  7. [*.]teams.microsoft.com
  8. [*.]sfbassets.com
  9. [*.]skypeforbusiness.com

To change the settings by using GPO:

  1. Download and install the Chrome administrative template.
  2. Add the sites that are listed in step 2 under "Microsoft Edge" to the Content settings > CookiesAllowedForUrls setting

5. Safari

Teams support for Safari is currently in preview. Update the following setting, and then try to access the Teams web client:

  1. Select Preferences > Privacy.
  2. Clear the Prevent cross-site tracking checkbox.
  3. Close Safari, reopen the browser, and then navigate to teams.microsoft.com

6. Firefox

  1. In the Firefox Settings window, select the Privacy & Security tab.
  2. Under Cookies and Site Data, select Manage Exceptions.
  3. In the Address of website text box, enter the following URLs, and then select Allow.
  4. https://microsoft.com
  5. https://microsoftonline.com
  6. https://teams.skype.com
  7. https://teams.microsoft.com
  8. https://sfbassets.com
  9. https://skypeforbusiness.com
  10. Select Save Changes.

To change the settings by using a GPO:

  1. Download and install the Firefox administrative template.
  2. Add the sites that are listed under "Microsoft Edge" to Cookies > Allowed Sites