TeamsFixer
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.

Last verified:

Affected systems

windows macos ios android web

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

  1. Close all Microsoft apps: Teams, Outlook, OneDrive, Edge with Microsoft tabs.

  2. Wait 5-10 minutes for server throttling to subside.

  3. Open only one app and sign in cleanly there.

2.Clear browser cookies

  1. Delete cookies for login.microsoftonline.com and login.live.com.

  2. Restart browser, sign in via private window.

3.Reset cache

  1. Fully delete Teams cache.

    %appdata%\Microsoft\Teams
    ~/Library/Application Support/Microsoft/Teams
  2. Scrub Credential Manager / Keychain entries with 'Microsoft' in the name.

  3. 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.

Related symptoms