How to Fix the Office Online Service Credential Expired Error
Question details
The user needs to resolve a recurring error message in Microsoft Office stating that their online service credential has expired, which blocks saving files to SharePoint.

- Product
- Microsoft Office, SharePoint, OneDrive
- Device & OS
- Windows
- Scenario
- Creating folders or saving files to connected cloud services like SharePoint and OneDrive using desktop Office applications.
- Observed behavior
- An error message pops up indicating the online service credential has expired, interrupting workflow and preventing successful file synchronization or saving to the cloud.
Ensure you have your Microsoft work or school account username and password readily available, as you will need to sign back into your Office applications after clearing your local cached credentials.
Clear Cached Office Credentials and Reconnect
This is the most effective method for resolving login token conflicts. It involves removing outdated credentials from Windows and signing back into your account.
Outdated or corrupted login tokens stored in Windows can prevent Office from communicating with SharePoint or OneDrive. Clearing these tokens forces the applications to fetch fresh credentials.
Open any Office application like Word or Excel. Navigate to File > Account, locate your connected SharePoint or OneDrive service under 'Connected Services', and click 'Remove'.
On the same Account page, click the 'Sign out' button under your User Information. Once signed out, completely close all running Office applications.
Click the Windows Start button, search for 'Credential Manager', and open it. Select 'Windows Credentials', scroll down to 'Generic Credentials', and click 'Remove' on any entry containing 'MicrosoftOffice'.
Restart your computer. Open an Office application, sign in with your associated Microsoft account, and re-add your connected cloud services if they do not appear automatically.

Disable Office File Synchronization in OneDrive
Conflicts between the OneDrive sync client and Office's built-in upload center can trigger credential errors. Disabling this overlapping feature may stabilize the connection.
Reinstall Office and Test New User Profile
If clearing credentials does not work, the issue might stem from deep local profile corruption or damaged Office installation files.
Switch to WPS Office for a Hassle-Free Experience
Tired of dealing with complex credential expired errors and unexpected sync issues? WPS Office offers a highly compatible alternative to Microsoft Office. Enjoy seamless editing, built-in local and cloud storage integration, and a familiar user interface without recurring subscription sign-in glitches.
- 1. Download the installer: Visit the official WPS Office website and download the free installation package for Windows.
- 2. Install the software: Run the downloaded executable file and follow the on-screen instructions to complete the setup in minutes.
- 3. Open and edit seamlessly: Launch WPS Office and instantly open your existing Microsoft Office documents without worrying about formatting issues or credential errors.

Frequently Asked Questions
Why does Microsoft Office keep saying my credentials have expired?
This error typically occurs when the cached login token in the Windows Credential Manager becomes outdated, corrupted, or out of sync with Microsoft's servers, causing communication failures between your local Office app and SharePoint.
Will deleting Office credentials delete my saved files?
No. Clearing generic credentials in the Windows Credential Manager only removes your saved authentication tokens. Your locally saved files and cloud documents remain entirely safe and untouched.
How do I fix the credential error if my colleagues aren't experiencing it?
If it is an isolated issue not affecting others in your organization, the problem is local to your machine. Focus on clearing your local Windows Credential Manager cache, signing out and back into Office, or testing on a new Windows user profile.




