You try to access OneDrive files through a browser and see repeated login prompts, blank pages, or error messages that say your session has expired. These symptoms usually occur because the web session data stored in your browser has become corrupted or outdated. This article explains how to clear OneDrive web session problems using browser settings, account sign-out methods, and Microsoft 365 admin tools.
Session problems affect any browser including Chrome, Edge, Firefox, and Safari. The fix involves removing stored cookies, cache, and authentication tokens that force the browser to request a fresh session from Microsoft servers. You will learn three reliable methods to clear these problems and how to prevent them from returning.
Key Takeaways: Clearing OneDrive Web Session Problems
- Browser settings > Clear browsing data: Removes cookies, cached files, and site data that cause session errors in OneDrive web app.
- Sign out of all Microsoft accounts: Forces a fresh authentication token renewal and resolves stale session conflicts.
- InPrivate or Incognito window: Bypasses corrupted session data entirely to verify if the problem is browser-specific.
Why OneDrive Web Session Problems Occur
OneDrive web app uses authentication cookies and session tokens to keep you signed in. When these tokens expire or become corrupted, the browser cannot maintain a valid connection. Common triggers include browser updates, clearing only part of the cache, or using multiple Microsoft accounts in the same browser profile.
The session data is stored in two locations. Browser cookies hold your authentication state. The browser cache stores page resources like scripts and stylesheets. If either set of data is outdated or mismatched, OneDrive cannot load correctly. The fix removes both sets and forces the browser to request new data from Microsoft servers.
How Session Corruption Affects OneDrive Features
A corrupted session prevents you from uploading files, viewing thumbnails, or using the drag-and-drop feature. You might see a spinning loading indicator that never completes. The web app may also fail to sync changes made by other users in shared folders. Clearing the session restores all these functions without affecting your locally synced files.
Steps to Clear OneDrive Web Session Problems
Follow these steps in order. Start with the simplest method and move to the next only if the problem persists. Each method targets a different layer of session data.
Method 1: Clear Browser Cache and Cookies for OneDrive
- Open your browser settings
In Chrome or Edge, click the three-dot menu in the upper-right corner and select Settings. In Firefox, click the hamburger menu and choose Settings. - Navigate to privacy and security
In Chrome and Edge, go to Privacy and security then Clear browsing data. In Firefox, go to Privacy & Security then Clear Data. - Set the time range to All time
In the Clear browsing data dialog, change the time range drop-down to All time. This ensures that old session tokens are removed. - Select Cookies and site data and Cached images and files
Check both boxes. Do not check passwords or autofill data unless you want to remove saved logins for other sites. - Click Clear data
Wait for the process to finish. Then close and reopen your browser. - Sign in to OneDrive again
Go to onedrive.live.com and enter your Microsoft 365 credentials. Your session is now fresh and should load correctly.
Method 2: Sign Out of All Microsoft Accounts in the Browser
If clearing cache does not fix the problem, your browser may have conflicting tokens from multiple Microsoft accounts.
- Go to account.microsoft.com
Open a new tab and navigate to the Microsoft account management page. - Sign out of all sessions
Click your profile picture in the upper-right corner and select Sign out. Repeat this step for every Microsoft account you have signed into in this browser. - Close all browser windows
Do not just close the tab. Close the entire browser application to clear in-memory tokens. - Reopen the browser and sign in to OneDrive
Use your primary work or school account. Do not sign into other Microsoft accounts in the same browser profile.
Method 3: Use an InPrivate or Incognito Window
This method does not clear existing data. It bypasses session problems by starting a fresh session without any stored cookies or cache.
- Open an InPrivate window in Edge or Incognito window in Chrome
Press Ctrl+Shift+N on Windows. In Firefox, press Ctrl+Shift+P. - Navigate to onedrive.live.com
Sign in with your Microsoft 365 credentials. If OneDrive loads correctly, the problem is caused by corrupted session data in your regular browser profile. - Clear your regular browser data using Method 1
After confirming the issue, close the private window and clear cache and cookies in your main browser profile.
If OneDrive Web Session Problems Persist
Sometimes session problems are caused by tenant-level settings or browser extensions. These require additional steps.
OneDrive Shows a Blank Page After Clearing Cache
A blank page usually indicates that a browser extension is blocking OneDrive scripts. Disable all extensions temporarily. In Chrome, go to the puzzle icon in the toolbar, click Manage extensions, and toggle each extension off. Reload OneDrive. If it loads, enable extensions one by one to find the culprit. Ad blockers and privacy extensions are common causes.
OneDrive Keeps Asking for Credentials in a Loop
This loop occurs when the browser rejects the new authentication cookie. Open the browser developer tools by pressing F12. Go to the Application tab and expand Cookies. Delete all cookies for onedrive.live.com and login.microsoftonline.com. Then refresh the page and sign in again.
Session Error Appears Only on Shared Files
If you can open your own files but get session errors on shared files, the problem is often a permission token mismatch. Sign out of OneDrive web app completely. Then sign in again using the account that owns the shared file. If the problem continues, ask the file owner to reshare the file with a new sharing link.
| Item | Clear Browser Cache | Use Private Browsing |
|---|---|---|
| Effect on session data | Removes all stored cookies and cache | Bypasses existing data without removal |
| Time to complete | 2 to 5 minutes | Under 1 minute |
| Requires sign-out | Yes | No |
| Best for | Recurring session problems | Quick test to isolate the cause |
| Affects other websites | Yes | No |
You now have three methods to clear OneDrive web session problems and a troubleshooting path for persistent errors. Start with clearing browser cache and cookies for all time, then test with an InPrivate window if needed. For recurring issues, check browser extensions and tenant-level session policies in the Microsoft 365 admin center under Org settings > Services > OneDrive. Remember that session problems affect only the web interface and do not impact files synced through the OneDrive desktop app.