Fix Excel Online Signing Out When Opening OneDrive Links
Question details
The user is experiencing an unexpected sign-out when clicking a shared OneDrive folder link from within an Excel Online document.

- Product
- Excel Online, OneDrive
- Device & OS
- not provided
- Scenario
- Accessing a shared OneDrive folder via a hyperlink embedded in an Excel Online spreadsheet.
- Observed behavior
- The shared OneDrive link works when accessed directly, but forces the user to sign out or drops the authentication session when clicked from within Excel Online.
Ensure you are logged into the correct Microsoft account and temporarily disable any strict privacy extensions or ad blockers that might interfere with authentication cookies.
Test in an InPrivate or Incognito Window
Use a private browsing window to verify if corrupted browser cache or conflicting account sessions are causing the sign-out.
Browsers often store multiple Microsoft account sessions (work, school, and personal). Clicking a link that points to a different tenant can confuse the browser's authentication cache, forcing a sign-out.
Launch your browser and open an Incognito mode window (Ctrl+Shift+N on Chrome) or InPrivate window (Ctrl+Shift+P on Edge).
Navigate to Office.com, log into your Microsoft account, and open the Excel Online file containing the link.
Click the OneDrive folder link to see if the session remains active without signing you out.

Recreate and Update the OneDrive Sharing Link
Reconfigure the sharing link to ensure permissions align correctly between the Excel Online environment and the target folder.
Verify Account Types and Organization Policies
Cross-tenant policies might block external sharing if one account is a work/school account and the other is personal.
Avoid Browser Sync Issues with WPS Office
If browser-based session drops and cloud syncing issues disrupt your workflow, switch to a robust desktop solution. WPS Office provides a lightweight, highly compatible alternative to Microsoft Office, letting you handle spreadsheets and cloud files smoothly without constant re-authentication.
- 1. Download and Install: Download WPS Office for free from the official website and follow the installation wizard.
- 2. Open Your Spreadsheets: Launch WPS Spreadsheet and open your .xlsx files directly on your desktop.
- 3. Manage Cloud Files Seamlessly: Connect your preferred cloud drive or use WPS Cloud to manage shared files without browser-induced sign-outs.

Frequently Asked Questions
Why does clicking a link in Excel Online log me out?
This typically happens due to conflicting Microsoft account sessions in your browser. If the link points to a different organization tenant or account type, the browser may drop your current session to attempt a new authentication.
How do I fix the 'Anyone can edit' link not working in Excel Online?
Generate a new sharing link from OneDrive, ensure your organization's sharing policies allow external links, and update the hyperlink in your Excel Online document.
Can browser extensions cause Excel Online authentication errors?
Yes, ad blockers or strict privacy extensions can block tracking cookies used by Microsoft to maintain your active login session across different tabs. Disable them temporarily to test if the issue persists.
Does this sign-out issue happen in the desktop version of Excel?
Typically, no. The desktop version of Excel handles authentication differently through Windows accounts, so it is less prone to the cross-session browser cache errors seen in Excel Online.




