How to Fix OneDrive Document Sharing and Office Sign-In Errors
Question details
Users are unable to share Excel workbooks or PDF files from OneDrive due to account sign-in errors or cached credential conflicts.

- Product
- Microsoft Office and OneDrive
- Device & OS
- Windows
- Scenario
- Attempting to share a document directly from OneDrive or a Microsoft Office application.
- Observed behavior
- The sharing process fails with a "Sign-in required" prompt, and Office displays errors regarding expired cached credentials or conflicting organizational accounts.
Ensure you save all your open documents and have your Microsoft account login credentials handy, as you will need to sign back into your Office applications after clearing the cache.
Clear Cached Credentials and Reset OneDrive Sync
Removing outdated or conflicting Microsoft Office credentials from Windows resolves most sign-in and sharing errors.
Conflicting credentials in Windows can prevent Office from verifying your account, which blocks OneDrive's sharing features. Clearing these cached tokens forces a fresh, clean login.
Sign out completely from all Microsoft Office applications and close them.
Open the Windows Control Panel and navigate to User Accounts > Credential Manager.
Click on "Windows Credentials" and look under "Generic Credentials" to remove any saved Microsoft Office credentials.
Open OneDrive Settings, go to the Office tab, and uncheck "Use Office applications to sync Office files that I open".
Relaunch your Office application and sign in again with your primary account.

Test in Safe Mode and Run Online Repair
If clearing credentials doesn't work, third-party add-ins or a corrupted Office installation might be blocking the sharing feature.
Clear Office Identity Registry Keys
For persistent organizational account conflicts, manually clearing the Office identity registry keys forces a completely fresh sign-in state.
Avoid Sign-in Hassles with WPS Office
Tired of complex Office credential conflicts and OneDrive sync errors? Switch to WPS Office for a lightweight, stable, and completely free alternative that integrates seamlessly with your local and cloud files.

Frequently Asked Questions
Why does OneDrive say "Sign-in required" when I am already signed in?
This usually happens when the Windows Credential Manager stores expired login tokens or when conflicts arise between a personal and an organizational Microsoft account on the same device.
Will clearing my Windows Credentials delete my actual Office files?
No, clearing Generic Credentials only removes saved login sessions. Your local documents and files stored in OneDrive remain perfectly safe.
What does the "Use Office applications to sync Office files" setting do?
It allows Office features like real-time co-authoring to work via OneDrive. However, if credentials clash, turning this off forces OneDrive to handle the sync independently, which often bypasses the sharing error.
How do I know if an add-in is causing my Excel sharing error?
You can launch Excel in Safe Mode by pressing Windows + R and typing `excel /safe`. If sharing works successfully in Safe Mode, a third-party add-in is likely causing the problem and should be disabled in the Excel options menu.




