Sign-in loops stem from corrupted Teams WebView2 cache or broken TPM/WAM device tokens (80090016). Quit Teams completely, open Settings > Apps > Installed apps > Microsoft Teams > Advanced options > Reset, delete %userprofile%\AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams, and sign back in.
Before You Start: Quick Pre-Check
- Sign in with a Windows Administrator account so elevated Command Prompt, PowerShell, and Settings changes apply cleanly.
- Save open documents and create a quick System Restore point before editing services, drivers, or registry keys.
- Note the exact hexadecimal error code (e.g., 0x800xxxxx) or Event Viewer timestamp if the error repeats.
Why This Issue Happens
Sign-in loops stem from corrupted Teams WebView2 cache or broken TPM/WAM device tokens (80090016).
This issue falls under Microsoft OneDrive, SharePoint & Teams (Microsoft & Windows). Confirming the exact trigger before making changes prevents unnecessary resets and helps preserve your data and account standing.
Step-by-Step Resolution Protocol
Quit Teams completely, open Settings >.
Installed apps >.
Microsoft Teams >.
Advanced options >.
Reset, delete %userprofile%\AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams.
Sign back in.
How to Verify the Fix Worked
- Restart Windows fully (Start > Power > Restart — not Shut Down, which uses Fast Startup caching) and confirm the error no longer appears.
- Open Windows Update or Event Viewer (Windows Logs > System / Application) and verify there are no fresh red critical errors for the affected component.
- Confirm dependent apps, drivers, or Microsoft 365 services sign in and sync normally without prompts.
What if the issue still persists? If the same stop code or error persists after DISM/SFC repair and a full reboot, boot into Safe Mode with Networking or test under a new local Windows user profile to isolate profile corruption vs. failing storage/RAM hardware.