How to Fix Microsoft Teams Cannot Switch Tenants or Organisations

Collaborating across multi-tenant enterprise environments or guest accounts is a core feature of Microsoft Teams. However, users frequently encounter an issue where clicking the organization switcher dropdown in the top-right corner results in an endless loading spinner, throws an error stating: ‘We ran into a problem switching to your organization. Try again later’, or redirects back to the default tenant. This tenant switching failure affects both personal and business accounts, preventing consultants, contractors, and corporate partners from accessing external channels, shared calendars, and group chat threads.

Why Microsoft Teams Fails During Tenant Switching

Modern Microsoft Teams (built on the WebView2 client architecture) authenticates across organizations using Azure Active Directory (Azure AD / Entra ID) cross-tenant access tokens. Common failure causes include:

  • Stale Authentication Tokens in Local Cache: Expired single sign-on (SSO) session tokens stored in local Windows Web Account Manager (WAM) or Teams AppData repositories.
  • Mismatched Conditional Access Policies: The external organization enforcing strict mobile device management (MDM), compliant device checks, or location-based MFA rules that fail to evaluate cleanly during tenant switching.
  • Corrupted Windows Credential Manager Entries: Legacy Microsoft Office and Teams identity tokens conflicting with new Entra ID credentials.
  • Guest Account Provisioning Desynchronisation: The inviting organization removing or altering your guest user object in Azure AD while local desktop client caches retain the old tenant identifier.

Step 1: Clear the Microsoft Teams Local App Cache

Clearing the local cache flushes stale session tokens and forces Microsoft Teams to perform a clean cryptographic authentication against Azure AD.

  1. Right-click the Teams icon in the Windows notification area (taskbar tray) and select Quit.
  2. Press Win + R to open the Run dialogue box.
  3. For New Teams (Work or School):
    • Open Settings > Apps > Installed apps.
    • Search for Microsoft Teams, click the three dots (…), and select Advanced options.
    • Click Reset to purge application cache.
  4. For Classic Teams:
    • Type %appdata%\Microsoft\Teams in the Run dialogue and press Enter.
    • Delete all files and folders inside this directory.
  5. Relaunch Microsoft Teams, sign in, and test switching organizations.

Step 2: Remove Stale Microsoft Identity Credentials

Windows Credential Manager caches security tokens that can prevent Teams from acquiring valid secondary tenant access tokens.

  1. Press the Windows Key, type Credential Manager, and open it.
  2. Select Windows Credentials.
  3. Scroll down to the Generic Credentials section.
  4. Locate any entries labelled MicrosoftAccount:user=, msteams_authtoken, or Microsoft_Work_or_School.
  5. Click the drop-down arrow next to each relevant entry and click Remove.
  6. Restart your PC and reopen Microsoft Teams to allow the client to request fresh tenant tokens.

Step 3: Test Access via Teams Web Client in a Private Window

Isolating whether the tenant switching issue is client-specific or account-wide helps identify upstream administrative blocks.

  1. Open a new InPrivate Window (Edge) or Incognito Window (Chrome).
  2. Navigate to the Teams web application at:
    https://teams.microsoft.com
  3. Sign in with your enterprise credentials.
  4. Click your profile picture in the top-right corner and select the guest organization or secondary tenant from the dropdown menu.
  5. If the web version switches successfully, the issue is strictly isolated to your local desktop client installation. If the web version fails with an access denied code, your guest account permissions in the target organization’s Azure AD require re-invitation.

Step 4: Disconnect and Reconnect Work or School Accounts

Re-establishing the system-level Windows workplace join ensures correct Entra ID device registration tokens are provided during tenant transitions.

  1. Open Windows Settings (Win + I).
  2. Navigate to Accounts > Access work or school.
  3. Click on the connected corporate account experiencing tenant switching failures and select Disconnect.
  4. Restart your workstation.
  5. Return to Accounts > Access work or school, click Connect, and re-authenticate your organizational credentials.

Get the best tech tips delivered straight to your inbox.

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