logo
search
Sign-in & Login Problems

Fix Excel Online Signing Out When Opening OneDrive Links

Rana GarciaRana Garcia Sep 25, 2026 868 views

Question details

The user is experiencing an unexpected sign-out when clicking a shared OneDrive folder link from within an Excel Online document.

Fix Excel Online Signing Out When Opening OneDrive Links
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.
Before you start

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.

Solution 1Recommended

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.

1
Open a private window

Launch your browser and open an Incognito mode window (Ctrl+Shift+N on Chrome) or InPrivate window (Ctrl+Shift+P on Edge).

2
Log into Excel Online

Navigate to Office.com, log into your Microsoft account, and open the Excel Online file containing the link.

3
Test the hyperlink

Click the OneDrive folder link to see if the session remains active without signing you out.

Test in an InPrivate or Incognito Window
Clear Your Browser Cache: If the link works perfectly in a private window, clearing your regular browser's cache and cookies will permanently resolve the session conflict.
Free Microsoft Office alternative

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. 1. Download and Install: Download WPS Office for free from the official website and follow the installation wizard.
  2. 2. Open Your Spreadsheets: Launch WPS Spreadsheet and open your .xlsx files directly on your desktop.
  3. 3. Manage Cloud Files Seamlessly: Connect your preferred cloud drive or use WPS Cloud to manage shared files without browser-induced sign-outs.
Highly compatible with Microsoft Excel (.xlsx, .xls) and other Office formats.Built-in cloud syncing directly integrated into a stable desktop client.Free to use, lightweight, and requires no complicated browser configurations.Familiar tabbed user interface minimizes the learning curve.
microsoft office alternative - wps office

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.