Microsoft Teams Keeps Asking to Sign In (Login Loop)
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. Check whether the account itself works
- Open a private browser window and sign in at teams.microsoft.com
- If the web works, the problem is the desktop app or device
- If the web also fails, contact your admin: the account, license or policy is the issue
Did this fix it?2. Clear the Teams cache
- Quit Teams
- Windows: Settings > Apps > Installed apps > Microsoft Teams > Advanced options > Reset
- Mac: in Terminal run rm -rf ~/Library/Group\ Containers/UBF8T346G9.com.microsoft.teams and rm -rf ~/Library/Containers/com.microsoft.teams2
- Open Teams and sign in once (don't click Sign in repeatedly)
Did this fix it?3. Remove stale work accounts from Windows
- Open Settings > Accounts > Access work or school
- Disconnect old or duplicate work accounts (not your current managed device account if IT manages it)
- Restart and sign in to Teams again
Did this fix it?4. Turn off VPN/proxy and check TLS
- Disconnect VPN and retry sign-in
- In Windows Internet Options > Advanced, make sure TLS 1.2 is enabled
- Temporarily allow Teams through third-party firewall/antivirus
Did this fix it?5. Ask IT to check license and device
- Give your admin the exact error code from the sign-in window
- Admin checks that a Teams license is assigned in the Microsoft 365 admin center
- Admin checks the device is enabled and registered in Microsoft Entra ID
- 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 quoteOther Microsoft Teams errors
- How to Cancel Microsoft Teams Subscription
- Microsoft Teams Not Loading or Stuck on White Screen
- Microsoft Teams Using Too Much Memory
- Microsoft Teams Notifications Not Working
- Microsoft Teams Camera Not Working
- Microsoft Teams Microphone Not Working
- Microsoft Teams Status Stuck on Away or Offline
- Teams Screen Sharing Shows a Black Screen