How to Fix Office Cached Credentials Expired Error
Question details
Users are unable to save files in Microsoft Office desktop applications due to continuous sign-in prompts and expired cached credential errors.

- Product
- Microsoft Office 365
- Device & OS
- Windows
- Scenario
- Attempting to save documents in desktop applications like Word, Excel, and PowerPoint.
- Observed behavior
- Office applications fail to save files, repeatedly ask the user to sign in, report expired cached credentials, or display error code 0x8007052E. Meanwhile, Microsoft 365 web apps function normally.
Before proceeding, ensure you have your Microsoft account email and password ready, as you will need to sign back into your applications after clearing the outdated credentials.
Clear Outdated Credentials from Windows Credential Manager
Removing old or corrupted Microsoft Office credentials forces the application to request a fresh authentication token, resolving the sign-in loop and error 0x8007052E.
When your account password changes or the cached login token expires, Office can sometimes fail to update this information automatically. Manually clearing the cache in Windows is the most effective fix.
Open Word or Excel, click on your account profile name at the top right corner, and select 'Sign out'. Close all running Office applications.
Click the Windows Start button, type 'Credential Manager' into the search bar, and hit Enter to open the control panel applet.
Select 'Windows Credentials'. Scroll down to the 'Generic Credentials' section and look for any entries that begin with 'MicrosoftOffice16', 'MicrosoftOffice15', or 'OneDrive'.
Click the downward arrow next to each Office-related credential and click 'Remove'. Confirm your choice to delete them.
Restart your computer. Open Microsoft Word, click 'Sign In', and enter your active Microsoft 365 account credentials to reactivate the software.
Unlink OneDrive and Save Files Locally
If OneDrive synchronization is interfering with the Microsoft Office authentication process, temporarily unlinking it allows you to save your files safely to a local drive.
Avoid Complex Credential Loops with WPS Office
If Microsoft Office activation errors and forced cloud syncs are preventing you from saving your work, consider switching to WPS Office. It provides a highly compatible, lightweight workspace where you can save documents locally without dealing with frustrating credential expiration loops.
- 1. Download WPS Office: Visit the official WPS Office website to download the free installation package for your Windows PC.
- 2. Open Your Existing Documents: Once installed, you can natively open, edit, and save your existing Word, Excel, and PowerPoint files without any formatting loss.
- 3. Save Safely to Your Local Drive: Work without interruptions and save your files directly to your preferred local folders without dealing with expired credential prompts.

Frequently Asked Questions
Why does Microsoft Office keep asking me to sign in?
This continuous sign-in loop typically occurs when the authentication token stored in the Windows Credential Manager becomes corrupted or expires. Office tries to use the old token, fails to verify your license, and prompts you to sign in again.
What is Office error code 0x8007052E?
Error 0x8007052E is a Windows security code indicating a logon failure. In the context of Microsoft Office, it usually means the application attempted to authenticate using invalid, outdated, or expired cached credentials.
Can I still use Microsoft 365 online if my desktop apps won't save?
Yes. Microsoft 365 web applications rely on your current browser session rather than the Windows Credential Manager. You can usually continue editing files online while you troubleshoot the desktop application issues.
How do I save my document if Office says it cannot save files?
As a temporary workaround, bypass OneDrive and default cloud locations. Click 'File' > 'Save As', select 'Browse', and choose a specific local folder on your hard drive, such as a new folder directly on your C: drive or your local Desktop.




