Microsoft Teams Keeps Asking to Sign In (Login Loop)

Share
Workaround available Windows, Mac Updated November 13, 2026Based on 5 user reportsHow we research

Quick answer

Sign-in loops and errors like CAA50021 or caa70004 usually come from stale cached credentials, a device registration problem in Microsoft Entra ID, or a missing Teams license. Test the web app, clear the cache, remove stale work accounts, and ask IT to check the license and device.

Most likely fix: Check whether the account itself works

How to fix it

Try these in order — the most common fix is first.

  1. 1. Check whether the account itself works

    1. Open a private browser window and sign in at teams.microsoft.com
    2. If the web works, the problem is the desktop app or device
    3. If the web also fails, contact your admin: the account, license or policy is the issue
    Did this fix it?
  2. 2. Clear the Teams cache

    1. Quit Teams
    2. Windows: Settings > Apps > Installed apps > Microsoft Teams > Advanced options > Reset
    3. Mac: in Terminal run rm -rf ~/Library/Group\ Containers/UBF8T346G9.com.microsoft.teams and rm -rf ~/Library/Containers/com.microsoft.teams2
    4. Open Teams and sign in once (don't click Sign in repeatedly)
    Did this fix it?
  3. 3. Remove stale work accounts from Windows

    1. Open Settings > Accounts > Access work or school
    2. Disconnect old or duplicate work accounts (not your current managed device account if IT manages it)
    3. Restart and sign in to Teams again
    Did this fix it?
  4. 4. Turn off VPN/proxy and check TLS

    1. Disconnect VPN and retry sign-in
    2. In Windows Internet Options > Advanced, make sure TLS 1.2 is enabled
    3. Temporarily allow Teams through third-party firewall/antivirus
    Did this fix it?
  5. 5. Ask IT to check license and device

    1. Give your admin the exact error code from the sign-in window
    2. Admin checks that a Teams license is assigned in the Microsoft 365 admin center
    3. Admin checks the device is enabled and registered in Microsoft Entra ID
    4. Admin can collect Teams debug logs and open a support case
    Did this fix it?

Symptoms

Teams prompts for your password again and again, shows 'We couldn't sign you in' with a code such as CAA50021, caa70004 or 0xCAA20003, or signs in on the web but not in the desktop app.

Why it happens

  • Corrupted cached credentials or Teams cache
  • Device disabled or registration expired in Microsoft Entra ID (CAA50021)
  • No Teams license assigned (common after unbundling), causing generic sign-in errors
  • VPN, proxy, firewall or disabled TLS blocking authentication (caa70004)
  • MFA or conditional access policy blocking the device
  • Repeatedly clicking Sign in, which makes retry errors worse

This guide also covers

  • teams keeps asking to sign in
  • teams login loop
  • teams error caa50021
  • teams error caa70004
  • we couldn't sign you in teams

Still not working?

If Microsoft Teams keeps failing, you're not alone. See every Microsoft Teams problem users report or the alternatives people switch to.

Need a custom web app or internal tool? Our small team builds it, on your domain or hosted by us. Price agreed together.

Get a quote
Fixed it? Share this guide

Other Microsoft Teams errors

All 10 Microsoft Teams errors and fixes →