logo
search
Sign-in & Login Problems

How to Fix Excel Repeatedly Requesting Sign-In to d.docs.live.net

Chanuka GeekiyanageChanuka Geekiyanage Oct 12, 2026 869 views

Question details

The user needs to stop Excel from constantly asking for authentication to d.docs.live.net when interacting with synced workbooks.

How to Fix Excel Repeatedly Requesting Sign-In to d.docs.live.net
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 you start

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.

Solution 1Recommended

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.

1
Open the Registry Editor

Press the Windows Key + R, type 'regedit' in the Run dialog box, and press Enter to launch the Registry Editor.

2
Navigate to the Microsoft Policies Folder

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'.

3
Create a New DWORD Value

Right-click in the right pane of the OneDrive key, select New > DWORD (32-bit) Value, and name it 'EnableAllOcsiClients'.

4
Modify the Value Data

Double-click 'EnableAllOcsiClients', set its Value data to 0, and click OK. Close the Registry Editor and restart your computer to apply the changes.

Disable Office Client Sync Integration via Registry Editor
Proceed with Caution: Editing the Windows Registry incorrectly can cause system instability. Always create a system restore point or export a backup of the registry key before making modifications.
Free Microsoft Office alternative

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. 1. Download and Install: Download WPS Office for free from the official website and follow the simple installation wizard.
  2. 2. Open Your Spreadsheets: Launch WPS Spreadsheets, click 'Open', and select your existing Excel files.
  3. 3. Edit Without Interruptions: Enjoy editing your files and updating data links smoothly without annoying login prompts.
Fully compatible with Microsoft Excel formats including .xlsx, .xls, and .csv.Eliminates Microsoft-specific d.docs.live.net sign-in loops and sync errors.Built-in WPS Cloud provides stable, conflict-free document synchronization.Free, lightweight, and incredibly easy to install on Windows, Mac, and Linux.
microsoft office alternative - wps office

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.