How to Fix Microsoft Teams Error Code 80080005

Attempting to launch or sign into Microsoft Teams on Windows 11 only to be blocked by an authentication error screen displaying error code 80080005 along with the message “We ran into a problem. Reconnecting…” or “Server execution failed” is a common stumbling block for enterprise and educational accounts.

In Windows programming, hex code 0x80080005 represents CO_E_SERVER_EXEC_FAILURE. In Microsoft Teams, this error indicates that the Teams desktop client was unable to communicate with the Windows Web Account Manager (WAM) or Azure Active Directory token broker to retrieve your encrypted login credentials. Follow these targeted steps to repair the token broker and restore Teams access.

Disconnect and Reconnect Work or School Account

Because Teams relies on Windows identity tokens, disconnecting the broken workplace association forces Windows to generate a fresh cryptographic identity token.

  1. Open Windows Settings (Win + I).
  2. Navigate to Accounts in the left sidebar.
  3. Click on Access work or school.
  4. Locate the account associated with your Teams organization.
  5. Click on the account name and select Disconnect. Confirm the disconnection prompt.
  6. Restart your PC.
  7. Return to Settings > Accounts > Access work or school, click Connect, and sign in with your corporate or school credentials.
  8. Launch Microsoft Teams to verify clean single sign-on authentication.

Clear Stale Microsoft Teams App Data and Cache

Corrupted local session tokens inside the Teams AppX package data directory will cause the COM server execution handshake to fail repeatedly.

  • Right-click the Microsoft Teams icon in the system tray and click Quit.
  • Press Win + R, paste the following directory path, and press Enter:
    %localappdata%\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams
  • Select all files inside this directory (Ctrl + A) and delete them.
  • Also navigate to %localappdata%\Microsoft\IdentityCache and clear any temporary authentication token folders present there.
  • Relaunch Microsoft Teams.

Re-register Web Account Manager (WAM) via PowerShell

If the native Windows Account Manager package has suffered registry or manifest corruption, re-registering its runtime binaries restores broker execution.

  1. Search for powershell in the Start menu, right-click Windows PowerShell, and select Run as administrator.
  2. Execute the following command to re-register the Microsoft AAD broker plugin:
    Add-AppxPackage -Register "$env:windir\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown
  3. Press Enter. Next, re-register the Accounts Control package:
    Add-AppxPackage -Register "$env:windir\SystemApps\Microsoft.Windows.AccountsControl_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown
  4. Close PowerShell and reboot your machine.

Repair and Reset Microsoft Teams in Windows Settings

The native Windows 11 application repair framework can repair damaged application dependencies without uninstalling the client.

  • Open Settings > Apps > Installed apps.
  • Scroll down to find Microsoft Teams.
  • Click the three horizontal dots menu next to it and select Advanced options.
  • Click the Repair button and wait for the tick mark.
  • If the error persists upon opening, return and click the Reset button to restore the app to factory default settings.

Access Teams via Web Client as Immediate Workaround

If you have an urgent meeting scheduled and need immediate connectivity while troubleshooting system broker files, the browser client provides identical meeting functionality.

  1. Open Google Chrome, Microsoft Edge, or Safari.
  2. Navigate to https://teams.microsoft.com.
  3. Sign in with your work or school credentials.
  4. When prompted to download the desktop app, click Use the web app instead to participate in calls and chats without delay.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.