AADSTS50196 Severity: Medium Server terminated session (sign-in loop)
Microsoft Entra detected a sign-in loop: too many attempts in too little time. The session is forcibly terminated, you must break the loop.
Affected systems
Symptoms
- AADSTS50196 with 'Server termination'
- Happens after several rapid sign-ins in quick succession
- Browser shows the same
Possible causes
- Multiple apps try sign-in simultaneously (e.g. Outlook + Teams + Edge)
- Browser tabs auto-loop and each triggers a sign-in
- Conditional Access bounces the user and the app retries immediately
Solutions
1.Break the loop
-
Close all Microsoft apps: Teams, Outlook, OneDrive, Edge with Microsoft tabs.
-
Wait 5-10 minutes for server throttling to subside.
-
Open only one app and sign in cleanly there.
2.Clear browser cookies
-
Delete cookies for login.microsoftonline.com and login.live.com.
-
Restart browser, sign in via private window.
3.Reset cache
-
Fully delete Teams cache.
%appdata%\Microsoft\Teams~/Library/Application Support/Microsoft/Teams -
Scrub Credential Manager / Keychain entries with 'Microsoft' in the name.
-
Reboot, then open only one Microsoft app.
Background
The loop happens when a sign-in is denied by a Conditional Access rule that the app does not understand and immediately retries. Microsoft detects the pattern and ends the session with AADSTS50196 as a protective measure.
Useful links
- Microsoft Learn - AADSTS Codes
- mysignins.microsoft.com - revoke active sessions