When you click the Upload button on OneDrive for Business in Google Chrome, the browser sometimes opens a login page or a file picker that belongs to a different Microsoft 365 tenant than your organization. This prevents you from uploading files and may display files or folders you do not recognize. The problem occurs because Chrome caches authentication tokens and site data across multiple Microsoft 365 accounts that are signed into the same browser profile. This article explains the root cause and provides specific steps to force Chrome to use your correct tenant and clear the conflicting cached data.
Key Takeaways: Fixing OneDrive Web Upload to the Wrong Tenant in Chrome
- Chrome > Settings > Privacy and security > Clear browsing data > Cached images and files + Cookies and other site data: Removes cached authentication tokens that cause tenant misdirection.
- Chrome profile picker > Switch to the correct profile: Isolates work and personal Microsoft 365 accounts to prevent token overlap.
- OneDrive web app URL: https://yourdomain-my.sharepoint.com: Directly accessing your tenant-specific SharePoint URL bypasses the tenant chooser that may open the wrong tenant.
Why OneDrive Web Opens the Wrong Tenant in Chrome
Google Chrome stores authentication cookies and cached site data separately for each website domain. When you sign in to multiple Microsoft 365 accounts in the same browser profile, Chrome may serve the cached session for the wrong account when you click Upload on OneDrive. This is because the OneDrive web application uses the same core authentication domain login.microsoftonline.com for all tenants. Chrome cannot always distinguish which tenant’s token to use, especially if you recently signed into a different tenant in the same browser window.
The issue is more common when you use a personal Microsoft account and a work or school account in the same Chrome profile. Chrome merges the session state for the login.microsoftonline.com domain, causing the file picker or upload dialog to show content from the wrong tenant. Clearing the cached cookies and site data for Microsoft domains forces Chrome to request a fresh authentication token for the correct tenant.
Steps to Force OneDrive Web to Use the Correct Tenant
Perform the steps in the order listed. Each step addresses a specific layer of Chrome’s cached data.
- Sign out of all Microsoft accounts in Chrome
Open Chrome and go to myaccount.microsoft.com. Click your profile picture in the top-right corner and select Sign out. Repeat for accounts.microsoft.com and any SharePoint site you have open. Signing out clears the active token from the browser session. - Clear cookies and cached data for Microsoft domains
Click the padlock icon in the address bar next to the OneDrive URL. Select Cookies and site data > Manage. Remove all cookies for login.microsoftonline.com, microsoftonline.com, sharepoint.com, and onedrive.live.com. Then go to Chrome Settings > Privacy and security > Clear browsing data. Select Cached images and files and Cookies and other site data. Set the time range to All time. Click Clear data. - Use a dedicated Chrome profile for work accounts
Click the profile icon in the top-right corner of Chrome and select Add. Create a new profile named Work or Office 365. Do not sign in with a personal Microsoft account in this profile. Open the profile and go to your organization’s OneDrive URL directly, for example https://yourcompany-my.sharepoint.com. Sign in with your work or school account only. - Disable automatic sign-in in Chrome settings
In the new work profile, go to Chrome Settings > You and Google > Sync and Google services. Turn off Allow Chrome sign-in. This prevents Chrome from automatically signing you into the browser with a personal account that might conflict with your work tenant. - Test the upload with a private browsing window
Open a Chrome Incognito window (Ctrl+Shift+N). Navigate to your tenant-specific OneDrive URL. Sign in with your work credentials. Click Upload and select a file. If the upload works correctly, the problem is confirmed as a cached session issue in your regular profile. - Clear Chrome’s Host Cache if the problem persists
Type chrome://net-internals/#dns in the address bar. Click Clear host cache. Then go to chrome://net-internals/#sockets and click Close idle sockets followed by Flush socket pools. This clears Chrome’s internal DNS and connection cache that may hold stale tenant routing data.
If OneDrive Still Opens the Wrong Tenant After the Main Fix
OneDrive shows a tenant picker page instead of the upload dialog
Some organizations use a tenant picker page that lists multiple tenants when you sign in. This page may show tenants you accessed previously. Select the correct tenant from the list. If the correct tenant does not appear, ask your Microsoft 365 administrator to check the tenant policy for external collaboration and guest access. You may need to sign out of all tenants and sign in again using the Use another account link.
Chrome redirects to a generic login page every time
This indicates that Chrome is not retaining the tenant-specific cookie even after clearing data. Open Chrome Settings > Privacy and security > Site Settings > Cookies and site data. Ensure that Block third-party cookies is not enabled for the Microsoft domains. Add an exception for []sharepoint.com and []microsoftonline.com to allow cookies. Then repeat the steps to clear cached data and sign in again.
The upload button is grayed out or missing
If the upload button is disabled, you may be viewing a SharePoint site that has restricted upload permissions. Check that you have at least Contribute or Edit permissions on the document library. Contact your site owner or Microsoft 365 administrator to verify your permission level. Alternatively, the site may have file type restrictions that block the specific file you are trying to upload.
OneDrive Web Upload vs Desktop Sync: Key Differences for Tenant Access
| Item | OneDrive Web Upload | OneDrive Desktop Sync |
|---|---|---|
| Tenant selection method | Browser session cookies and cached tokens | Windows credential manager and registry |
| Common cause of wrong tenant | Multiple Microsoft accounts signed into the same Chrome profile | Stale work or school account credentials in Credential Manager |
| Fix for tenant mismatch | Clear cookies and use a dedicated Chrome profile | Remove old credentials from Windows Credential Manager and re-add the correct account |
| Upload file size limit | 250 GB per file | 250 GB per file |
| Offline access | Not available | Available via Files On-Demand |
After following the steps above, you should be able to upload files to the correct OneDrive tenant in Chrome without seeing another organization’s files. Use a dedicated Chrome profile for work accounts to prevent the issue from recurring. As an advanced tip, you can create a Chrome desktop shortcut with the –profile-directory flag to automatically open your work profile. Right-click the Chrome shortcut, select Properties, and add –profile-directory=”Profile 2″ to the Target field, replacing Profile 2 with the name of your work profile folder.