How to Fix Microsoft 365 License and Local Sign-In Errors
Question details
The user is experiencing persistent license and local sign-in errors with a personal Microsoft 365 account after removing a corporate account from the laptop.
- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Switching from a corporate Microsoft account to a personal Microsoft 365 account on the same device.
- Observed behavior
- The system throws license and local sign-in errors for the personal account despite having an active subscription, and a standard reinstallation of Office does not fix the issue.
Verify that your personal Microsoft 365 subscription is currently active via your Microsoft account dashboard, and ensure you have administrator privileges on the laptop to modify registry settings safely.
Clear Office Authentication Cache and Registry Keys
Clearing the OneAuth and IdentityCache folders alongside removing the Office Identity registry key forces Office to reset its authentication state and forget the old corporate account.
When switching from a corporate to a personal account, leftover identity cache or registry tokens can cause persistent sign-in conflicts. Modifying the registry resets this state, allowing clean authentication.
Press Win + R, type 'regedit', and hit Enter. Go to File > Export to create a backup of your current registry settings before proceeding.
Open File Explorer, navigate to the LocalAppData folder (%localappdata%\Microsoft\Office\16.0), and delete the contents of the OneAuth and IdentityCache folders.
In the Registry Editor, navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity and delete the Identity key. Restart your PC and sign into Office again.
Reinstall Office using Support and Recovery Assistant (SaRA)
Use Microsoft's official SaRA tool to completely scrub remnants of the old corporate installation before reinstalling.
Roll Back the Office Version
If the sign-in issue started immediately after an Office update, reverting to the previous build might bypass the error.
Switch to WPS Office for a Hassle-Free Experience
Tired of dealing with complex license errors and account conflicts? WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office. Enjoy a familiar interface without the headache of subscription sign-in bugs.
- 1. Download and Install WPS Office: Visit the official WPS website, download the free installer, and complete the lightweight setup in minutes.
- 2. Open Your Existing Documents: Launch WPS Office and directly open your existing .docx, .xlsx, or .pptx files with full formatting retention.
- 3. Work Without Sign-In Hassles: Start editing your documents immediately without dealing with complex subscription activations or account conflict errors.

Frequently Asked Questions
Why does my personal Microsoft 365 account show a license error after removing a work account?
Office often retains authentication tokens and cached credentials from previous work accounts in the IdentityCache folder and registry. This causes conflicts when a new personal account tries to authenticate.
Will a standard uninstallation fix Microsoft 365 sign-in errors?
Usually, a standard uninstallation via the Windows Control Panel does not remove cached identity folders or deep registry keys. You typically need to use the Microsoft Support and Recovery Assistant (SaRA) for a clean wipe.
Is it safe to delete the Office Identity registry key?
Yes, provided you delete the specific key associated with Office identities under the Microsoft\Office structure. It will force Office to prompt for sign-in again, generating a fresh set of keys. Always back up the registry before making any changes.




