Fix Expired Cached Office Credentials on Windows 11
Question details
Users are encountering expired cached credentials or invalid license errors in Microsoft 365 applications, preventing access despite having an active subscription.
- Product
- Microsoft 365
- Device & OS
- Windows 11
- Scenario
- Attempting to activate, sign in, or use Microsoft Office desktop applications with a valid subscription.
- Observed behavior
- The application incorrectly displays an expired cached credentials prompt or an invalid license error and fails to activate.
Before modifying system settings or the Windows Registry, ensure you are logged in as an administrator and create a system restore point.
Clear Office Identity Registry Keys and Remove Duplicates
Clearing corrupted identity cache from the Windows Registry and removing conflicting Office versions can resolve stubborn authentication errors.
Conflicting installations of Microsoft Office or corrupted account data in the registry often trigger persistent credential issues. Removing these elements forces Office to establish a fresh connection with the licensing servers.
Go to Windows 'Settings' > 'Apps' > 'Installed apps', search for 'Office' or 'Microsoft 365', and uninstall any duplicate or older versions.
Press Win + R, type 'regedit', and press Enter to launch the Windows Registry Editor.
Navigate to 'HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity'. Right-click the 'Identities' folder and select 'Delete'.
Restart your computer, open an Office application like Word, and sign in again with your Microsoft credentials.
Revert Office to an Earlier Version via Command Prompt
If recent software updates caused the credential issue, rolling back Microsoft 365 to a previous stable build is a proven fix.
Switch to WPS Office to Avoid Activation Headaches
Tired of dealing with expired credentials, complex registry fixes, and Microsoft 365 subscription bugs? WPS Office offers a powerful, lightweight alternative that bypasses complicated activation processes while remaining highly compatible with your existing files.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for Windows.
- 2. Install WPS Office: Run the installer and follow the quick on-screen instructions to set up the software on your PC.
- 3. Open Your Files: Launch WPS Office and directly open your existing .docx, .xlsx, or .pptx files with zero formatting loss.

Frequently Asked Questions
What causes cached credentials to expire in Microsoft 365?
Cached credentials can become invalid due to recent password changes, conflicting Office installations, corrupted registry identity keys, or buggy Microsoft Office software updates.
Will clearing the Office Identity registry key delete my documents?
No, clearing the identity key in the Registry Editor only removes saved login states and authentication tokens. Your personal files, documents, and emails are completely safe.
How do I find a correct build number to roll back Microsoft Office?
You can find a list of previous Office build numbers and release dates on the official Microsoft 365 update history web page. It is recommended to select a build number from a few weeks prior to when your activation issues began.
Can I use an offline installer to fix this activation problem?
Yes. If clearing the registry and rolling back updates fail, completely uninstalling Office and reinstalling it using the offline installer downloaded directly from your Microsoft account page can resolve deep-rooted system conflicts.




