T The Triage ManualTechnical Guides for IT Emergencies
P2 · Microsoft 365 & Collaboration

Outlook & Teams Sign-in Loops, Cache Corruption, and Autodiscover Failures on Microsoft 365 Clients

Microsoft 365 desktop clients (Outlook 2016–365, Teams Classic and New) fail with repeated credential prompts, stuck loading screens, missing shared mailboxes, or calendar/chat sync failures. Root causes are almost always client-side: corrupted WAM/Credential Manager tokens, stale Teams cache in %AppData%\Microsoft\Teams or %LocalAppData%\Packages\MSTeams_8wekyb3d8bbwe, broken Outlook profile, missing Autodiscover CNAME, disabled Modern Authentication, or a Conditional Access block. Resolution follows a deterministic sequence: rule out service health, verify licensing/Autodiscover, then clear cached credentials, reset Teams cache, and rebuild Outlook profile if needed.

Indicators

Likely causes

Diagnostic steps

  1. Open Microsoft 365 admin center → Health → Service Health. Filter on Exchange Online, Microsoft Teams, and Identity Service. Note any active advisories or incidents.
    Rule out tenant-wide service outage before touching the client — avoids wasted remediation on a Microsoft-side incident.
  2. In admin center → Users → Active Users, confirm the affected user has an active Microsoft 365 licence with Exchange Online and Teams service plans enabled and mailbox provisioned (Get-Mailbox <upn> via Exchange Online PowerShell).
    Confirms licensing and mailbox provisioning are not the root cause.
  3. Run Microsoft Remote Connectivity Analyzer (https://testconnectivity.microsoft.com) → Office 365 → Outlook Connectivity and Exchange ActiveSync Autodiscover, using the user's UPN and password.
    End-to-end validation of Autodiscover, OAuth token issuance, and mailbox connectivity from outside the corporate network.
  4. On the affected workstation, open Control Panel → Credential Manager → Windows Credentials. Enumerate entries starting with MicrosoftOffice16_Data:, MSTeams, msteams_adalsso, and *.office.com.
    Identifies stale or corrupt cached OAuth/WAM tokens driving repeated credential prompts.
  5. Collect diagnostics: Teams — hold Ctrl+Shift+Alt+1 (Classic) or right-click Teams tray icon → Collect support files (New Teams). Outlook — File → Options → Advanced → 'Enable troubleshooting logging (requires restarting Outlook)', restart, reproduce, then collect %TEMP%\Outlook Logging.
    Captures client-side auth and MAPI/HTTP failure detail for deeper analysis or Microsoft support escalation.
  6. In Entra ID admin center → Users → Sign-in logs, filter by the affected UPN for the last 24 hours. Inspect Status, Failure reason, Conditional Access column, and correlation ID for each failure.
    Identifies Conditional Access blocks, MFA failures, or device compliance failures preventing token issuance.
  7. From an admin PowerShell on the workstation, run: Resolve-DnsName autodiscover.<primary-smtp-domain> -Type CNAME. Confirm it resolves to autodiscover.outlook.com.
    Detects missing or misconfigured public Autodiscover DNS records — a common cause of Outlook profile creation failure.
  8. Run Microsoft Support and Recovery Assistant (SaRA) with the Outlook or Teams scenario for the affected user profile.
    Automates known-issue detection (profile corruption, cached mode issues, Teams add-in conflicts) with structured output.

Resolution path

Prevention

Tools

References

microsoft-365outlookteamsauthenticationautodiscoverexchange-onlineentra-idconditional-accesscredential-managermodern-authentication