logo
search
Sign-in & Login Problems

How to Fix OneDrive Sign-In to the Wrong Microsoft Entra Tenant

Adam DavisAdam Davis Oct 12, 2026 869 views

Question details

The user's OneDrive and Teams clients are attempting to sign into an unrelated Microsoft Entra tenant instead of their own organization.

Fixing OneDrive Sign-In to the Wrong Microsoft Entra Tenant
Product
Microsoft OneDrive and Teams
Device & OS
not provided
Scenario
Signing into Microsoft 365 desktop clients or web services.
Observed behavior
The authentication prompt redirects to the wrong Microsoft Entra tenant, preventing the user from accessing their files and displaying an error.
Before you start

Determine if you are trying to open a file or folder shared by an external organization, as this will naturally route your sign-in to their tenant where you may need guest access.

Solution 1Recommended

Clear Local Cache and Reinstall OneDrive Sync Client

Use this solution if you can successfully access OneDrive for Business in a web browser but the desktop client fails.

If browser access is functional, the issue is likely caused by stale cached credentials or corrupted settings within the local OneDrive sync client.

1
Unlink Accounts

Open OneDrive settings and unlink all accounts from the sync client, including any personal OneDrive accounts.

2
Uninstall OneDrive

Go to Windows Settings > Apps > Installed apps, locate Microsoft OneDrive, and select Uninstall.

3
Move Cache Folders

Navigate to your local AppData folder and move or rename the existing OneDrive cache folders to clear old tenant data.

4
Reinstall and Sign In

Restart your device, download the latest version of the OneDrive client from Microsoft, install it, and start synchronization using your correct organizational credentials.

Clear Local Cache and Reinstall OneDrive Sync Client
Verification: Always verify that you can access SharePoint Online or OneDrive for Business via the web before proceeding with the reinstallation.
Free Microsoft Office alternative

Experience Hassle-Free Document Management with WPS Office

Dealing with Microsoft Entra tenant mismatches and sync errors can disrupt your workflow. WPS Office offers a streamlined, lightweight, and free alternative that lets you edit and manage documents without complex enterprise tenant configurations.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package.
  2. 2. Install the Software: Run the installer and follow the on-screen instructions to set up WPS Office on your device.
  3. 3. Open and Edit Files: Launch WPS Office and directly open your local or cloud-stored documents without worrying about complicated tenant sign-ins.
No complex Microsoft Entra tenant setups requiredFully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight application with quick installationFree to use with a familiar, user-friendly interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does my OneDrive sign-in show an unrelated organization's tenant?

This usually happens if your local credentials cache contains tokens from a previous session, or if you recently clicked a shared link originating from another organization's Microsoft 365 tenant.

How do I access files shared with me from another tenant?

To access files hosted in a different Entra tenant, the organization sharing the files must invite you and add your account as a guest user in their Microsoft Entra directory.

Does uninstalling OneDrive delete my local files?

No, uninstalling the OneDrive sync client only removes the application. Your downloaded files will remain intact in their respective local folders.