You open OneDrive on the web and click the Recent files tab. Instead of seeing files from your work or school account, you see documents from another company or organization. This usually happens when your browser has cached authentication tokens from a different Microsoft 365 tenant. This article explains why this occurs and provides step-by-step methods to clear mixed-tenant data and restore correct file visibility.
The root cause is that your browser stores session data from multiple Microsoft 365 accounts. When you sign into one tenant, the Recent files view may pull cached metadata from another tenant stored in the same browser profile. The fix involves clearing specific browser storage for the OneDrive domain without losing all other browsing data.
This guide covers three reliable methods to resolve the issue: clearing site data for the OneDrive domain, using InPrivate or Incognito mode, and removing conflicting account cookies via Microsoft 365 sign-out. You will also learn how to prevent the problem from recurring.
Key Takeaways: Fix OneDrive Web Showing Files from the Wrong Tenant
- Browser DevTools > Application > Clear site data (onedrive.live.com): Removes cached tenant-specific IndexedDB and local storage that causes cross-tenant file display.
- InPrivate or Incognito mode: Starts a clean browser session with no cached tokens, forcing OneDrive to authenticate only with the current tenant.
- Microsoft 365 sign-out > Clear cookies > Sign back in: Removes all tenant-specific session cookies and forces fresh authentication to the correct tenant.
Why OneDrive Web Shows Files from a Different Tenant
OneDrive on the web uses browser storage to cache metadata about your recent files. This includes IndexedDB databases, local storage keys, and session cookies that store your Microsoft 365 tenant ID. When you sign into multiple tenants from the same browser profile, these storage areas can become mixed.
The Recent files tab queries the Microsoft Graph API using the authenticated user token. If the browser serves stale cached data from a previous tenant session, the API response may include file metadata from that other tenant. The OneDrive web interface then renders those files in the Recent list even though you are signed into a different account.
This is not a security breach. The other tenant files are not accessible for download or editing. The issue is purely a display problem caused by cached metadata. Clearing the browser storage for the OneDrive domain resolves it without affecting other sites.
Methods to Fix OneDrive Web Showing the Wrong Tenant
Use the following methods in order. Start with Method 1 because it is the fastest and least disruptive. Only proceed to Method 2 or 3 if the first method does not resolve the issue.
Method 1: Clear OneDrive Site Data Using Browser DevTools
This method removes all cached data specific to the OneDrive domain without clearing cookies or storage for other websites.
- Open OneDrive on the web
Navigate to onedrive.live.com and sign into the correct tenant account. - Open browser DevTools
Press F12 or right-click anywhere on the page and select Inspect. - Go to the Application tab
In the DevTools panel, click the Application tab. If you do not see it, click the double-arrow icon to show all tabs. - Select Clear site data
In the left sidebar, click Storage. Then click the Clear site data button. A confirmation dialog appears. - Confirm and reload
Click Clear to delete all IndexedDB, local storage, and session storage for the onedrive.live.com domain. Then reload the page by pressing F5.
After reloading, OneDrive reauthenticates and fetches fresh metadata from the correct tenant. Check the Recent files tab to confirm the correct files appear.
Method 2: Use InPrivate or Incognito Mode
This method starts a completely clean browser session that does not share cookies or cached data with your normal profile. Use it to verify whether the problem is caused by cached data.
- Open a private browsing window
In Microsoft Edge, press Ctrl+Shift+N. In Google Chrome, press Ctrl+Shift+N. In Mozilla Firefox, press Ctrl+Shift+P. - Navigate to OneDrive
Go to onedrive.live.com and sign into your work or school account. - Check the Recent files tab
Click Recent in the left navigation pane. Verify that only files from the correct tenant appear.
If the Recent files tab shows the correct files in private mode, the issue is confirmed to be caused by cached browser data. Return to your normal browser window and proceed to Method 3 for a thorough cleanup.
Method 3: Sign Out, Clear Cookies, and Sign Back In
This method removes all tenant-specific cookies and authentication tokens from the browser. It is the most thorough fix but requires you to sign into all Microsoft 365 services again.
- Sign out of all Microsoft 365 accounts
Go to onedrive.live.com. Click your profile picture in the top-right corner. Click Sign out. Repeat for any other Microsoft 365 tabs open in the same browser. - Open browser cookie settings
In Microsoft Edge, go to Settings > Cookies and site permissions > Manage and delete cookies and site data. In Google Chrome, go to Settings > Privacy and security > Cookies and other site data > See all cookies and site data. - Delete cookies for onedrive.live.com
In the cookie list, search for onedrive.live.com. Click the trash icon or Remove button next to each entry. Also remove cookies for login.microsoftonline.com and account.live.com. - Clear cached images and files
In Edge, go to Settings > Cookies and site permissions > Manage and delete cookies and site data. Check Cached images and files. Click Clear. In Chrome, go to Settings > Privacy and security > Clear browsing data. Select Cached images and files. Set the time range to All time. Click Clear data. - Close and reopen the browser
Close all browser windows completely. Open a new window and navigate to onedrive.live.com. Sign into your correct tenant account.
After signing back in, OneDrive creates fresh cookies and tokens for the correct tenant. The Recent files tab should now display only files from that tenant.
If OneDrive Web Still Shows the Wrong Tenant After Clearing Data
In rare cases, clearing site data and cookies does not resolve the issue. This can happen if the browser extension or profile sync reintroduces stale data. Try the following advanced steps.
Disabled browser extensions that modify cookies
Extensions such as session managers, cookie editors, or VPN tools can restore old cookies after you clear them. Temporarily disable all extensions and repeat Method 3. If the issue stops, enable extensions one at a time to identify the culprit.
Create a new browser profile
Corrupt browser profile data can prevent cookie clearing from working. In Edge or Chrome, create a new profile from Settings > Profiles > Add profile. Sign into OneDrive from the new profile. If the Recent files tab shows the correct tenant, use this profile for Microsoft 365 work going forward.
Use a different browser
If the problem persists across all methods, test OneDrive on a browser that you have never used for Microsoft 365. For example, if you normally use Chrome, try Microsoft Edge. This determines whether the issue is browser-specific or account-specific.
OneDrive Web Recent Files vs OneDrive Sync Client Recent Files: Key Differences
| Item | OneDrive Web Recent Files | OneDrive Sync Client Recent Files |
|---|---|---|
| Data source | Microsoft Graph API queried in the browser | Local sync database and server metadata |
| Cache location | Browser IndexedDB and local storage | Local app data folder in %LocalAppData%\Microsoft\OneDrive |
| Cross-tenant display issue | Possible due to mixed browser storage | Not possible; sync client binds to one tenant per profile |
| Fix method | Clear browser site data, cookies, or use private mode | Reset the sync client or unlink and relink the account |
| Effect of clearing cache | Recent files reload immediately after page refresh | Sync client must re-scan and re-index all files |
The OneDrive sync client does not suffer from cross-tenant Recent files issues because it stores metadata in a local database that is tied to a single tenant profile. The web version relies on browser storage, which can become mixed when multiple tenant sessions are active.
After clearing browser data using the methods above, your OneDrive web Recent files tab will display only files from the correct tenant. To prevent this issue in the future, avoid signing into multiple Microsoft 365 tenants simultaneously in the same browser profile. Use separate browser profiles or private browsing windows for each tenant. If you frequently switch between tenants, consider using the Microsoft 365 Apps for enterprise which keep tenant sessions isolated by default.