How to Fix Expired Credentials When OneDrive Files Won't Upload
Question details
The user is unable to upload or sync Microsoft 365 files to OneDrive because of an expired or corrupted credential cache.

- Product
- OneDrive
- Device & OS
- Windows
- Scenario
- Attempting to sync or upload updated documents to OneDrive.
- Observed behavior
- Files fail to upload to the cloud, and synchronization remains paused or stuck, even after the general Office credentials have been cleared.
Before resetting your credentials, manually back up any local files that have not yet synchronized to OneDrive to prevent potential data loss during the relinking process.
Clear OneDrive Cached Credentials in Windows
Removing outdated or corrupted OneDrive credentials from the Windows Credential Manager forces the application to create a fresh, secure authentication token.
Windows stores your login information in the Credential Manager. When your Microsoft account password changes or the token expires, the cached credentials can cause sync failures. Clearing these entries allows OneDrive to prompt you for a fresh sign-in.
Click the Windows Start menu, type 'Credential Manager' in the search bar, and hit Enter to open the utility.
Click on the 'Windows Credentials' tab at the top to view all the saved login information on your computer.
Scroll down to the 'Generic Credentials' section and find any entries starting with 'OneDrive Cached Credential'. Click the drop-down arrow next to each one and select 'Remove'.
Close the Credential Manager. Right-click the OneDrive cloud icon in your system tray, select 'Quit OneDrive', and then reopen the application from the Start menu to sign back in.

Unlink and Relink Your PC to OneDrive
If clearing credentials does not resolve the upload failure, unlinking your computer will completely reset the connection to the OneDrive servers.
Switch to WPS Office for a Hassle-Free File Experience
Tired of dealing with OneDrive credential errors and Microsoft 365 sync failures? WPS Office is a lightweight, reliable alternative that offers seamless document editing and its own stable cloud ecosystem, ensuring your files are always accessible.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the Software: Run the downloaded installation file and follow the simple on-screen instructions to set up the suite on your device.
- 3. Open and Edit Seamlessly: Launch WPS Office and instantly open your existing Microsoft Office documents without worrying about formatting or sync errors.

Frequently Asked Questions
Will clearing my OneDrive credentials delete my synchronized files?
No, clearing your credentials from the Windows Credential Manager only removes the saved login information. Your actual files stored in the cloud and on your local drive remain completely safe and untouched.
How do I know which files failed to upload before I unlink my account?
Open your local OneDrive folder in Windows File Explorer. Files that have not uploaded will display a red 'X' icon or a blue syncing icon in the status column, instead of a solid green checkmark.
Why do OneDrive credentials become corrupted or expire in the first place?
Credentials can expire or become corrupted due to recent password changes on your Microsoft account, major Windows updates, network interruptions during authentication, or overlapping login sessions from other Microsoft 365 applications.




