Fix OneDrive Repeatedly Asking for Password in Microsoft 365
Question details
Users are experiencing repeated prompts for passwords and verification codes from OneDrive, leading to read-only documents and unresponsive authentication buttons.

- Product
- Microsoft OneDrive and Microsoft 365
- Device & OS
- not provided
- Scenario
- Syncing files or accessing cloud documents via OneDrive in the Microsoft 365 desktop client.
- Observed behavior
- OneDrive repeatedly asks for credentials, documents open in read-only mode, and clicking 'Sign In' or 'Resolve' fails to refresh the authentication state.
Before troubleshooting your local application settings, check the Microsoft 365 Service Status page (portal.office.com/ServiceStatus) to ensure there are no ongoing server outages affecting OneDrive authentication.
Clear Cached Office and OneDrive Credentials
Removing corrupted or expired cached credentials forces OneDrive and Office to request a fresh authentication token.
When your cached login token expires or becomes corrupted, Office applications may fail to recognize your active session. Clearing these credentials from your operating system's vault resolves the continuous password loop.
Open any Microsoft Office application, click on 'File', select 'Account', and click 'Sign out' for all connected accounts. Close all Office apps.
Click the Start menu, type 'Credential Manager' in the search bar, and open the application.
Select the 'Windows Credentials' tab. Scroll down to the 'Generic Credentials' section and locate any entries starting with 'MicrosoftOffice16' or 'OneDrive Cached Credential'.
Click on each relevant entry, select 'Remove', and confirm. Restart your computer, open OneDrive, and sign in again to generate a new authentication token.

Disconnect and Reconnect Your Work or School Account
Re-registering your device with Microsoft 365 can resolve underlying Multi-Factor Authentication (MFA) conflicts.
Tired of Sync and Login Errors? Switch to WPS Office
If Microsoft 365 authentication issues are disrupting your workflow, WPS Office offers a lightweight, highly compatible alternative. Enjoy seamless local editing and built-in cloud support without the hassle of constant credential loops.
- 1. Download and Install: Get the free WPS Office installer from the official website and complete the quick setup.
- 2. Open Your Documents: Directly open your existing Word, Excel, or PowerPoint files with perfect formatting preservation.
- 3. Save to Cloud or Local: Choose to save files locally on your hard drive or utilize the integrated WPS Cloud for smooth syncing across devices.

Frequently Asked Questions
Why do my OneDrive documents suddenly open as read-only?
When OneDrive's cached credentials expire or get corrupted, the Office application cannot verify your edit permissions with the Microsoft server. To prevent version conflicts, it defaults the document to read-only mode until authentication is restored.
Will clearing my Windows Credentials delete my OneDrive files?
No. Clearing credentials from the Windows Credential Manager only removes the saved login token used for authentication. Your actual files remain safely stored in the cloud and intact on your local drive.
Why doesn't the 'Resolve' button fix the sync error in Microsoft 365?
The 'Resolve' or 'Sign In' button often fails if the underlying cached token is completely corrupted, creating a loop where Office tries to use the broken token. Manually signing out and clearing the credential cache is required to force the generation of a new token.




