How to Fix Excel Repeatedly Requesting Sign-In to d.docs.live.net
Question details
The user needs to stop Excel from constantly asking for authentication to d.docs.live.net when interacting with synced workbooks.

- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Opening files, updating external links, or refreshing data types in Excel workbooks connected to OneDrive.
- Observed behavior
- Excel repeatedly prompts the user to sign in to d.docs.live.net despite already being logged into their Microsoft account, and clearing the Office cache does not resolve it.
Before modifying system settings or the Windows Registry, ensure you have backed up your registry and saved all active Excel workbooks to prevent accidental data loss.
Disable Office Client Sync Integration via Registry Editor
Modifying the OneDrive policy in the Windows Registry is the most effective way to bypass the d.docs.live.net loop by stopping Office from handling OneDrive sync.
This method disables the Office Document Cache integration with OneDrive, forcing OneDrive to handle synchronization natively without constantly requesting Office-level authentication.
Press the Windows Key + R, type 'regedit' in the Run dialog box, and press Enter to launch the Registry Editor.
Use the left sidebar to navigate to HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft. If you see a 'OneDrive' folder, click it. If the OneDrive folder is missing, right-click the 'Microsoft' folder, select New > Key, and name it 'OneDrive'.
Right-click in the right pane of the OneDrive key, select New > DWORD (32-bit) Value, and name it 'EnableAllOcsiClients'.
Double-click 'EnableAllOcsiClients', set its Value data to 0, and click OK. Close the Registry Editor and restart your computer to apply the changes.

Adjust File Explorer Merge Conflict Settings
Changing how File Explorer handles folder merge conflicts can sometimes clear the sync blockage that causes Excel's authentication prompts.
Switch to WPS Office for a Hassle-Free Spreadsheet Experience
If you are tired of dealing with Microsoft Excel's persistent OneDrive login loops and complex registry tweaks, try WPS Office. It provides a lightweight, highly compatible spreadsheet editor that works seamlessly with your local and cloud files without the frustrating d.docs.live.net authentication errors.
- 1. Download and Install: Download WPS Office for free from the official website and follow the simple installation wizard.
- 2. Open Your Spreadsheets: Launch WPS Spreadsheets, click 'Open', and select your existing Excel files.
- 3. Edit Without Interruptions: Enjoy editing your files and updating data links smoothly without annoying login prompts.

Frequently Asked Questions
Why does Excel keep connecting to d.docs.live.net?
The address d.docs.live.net is the server endpoint Microsoft Office uses to connect to OneDrive. Excel prompts for this sign-in when it attempts to sync data, update external links, or access cloud-hosted files but fails to retrieve your cached Microsoft account credentials.
What should I do if the OneDrive folder is missing in the Registry Editor?
If you navigate to HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\ and do not see a OneDrive folder, you must create it manually. Right-click the 'Microsoft' folder, choose New > Key, and name the new key exactly 'OneDrive'. Then you can proceed to create the EnableAllOcsiClients value inside it.
Does clearing the Office Document Cache fix the d.docs.live.net prompt?
While clearing the Office Document Cache can resolve minor sync issues, it often fails to fix persistent d.docs.live.net login loops because the root cause lies in how Office integrates with the OneDrive sync client. Modifying the OneDrive sync registry key is generally the required permanent solution.




