How to Fix TPM Error 80090016 in Office After Domain Migration
Question details
The user is experiencing TPM Error 80090016 in Microsoft Office applications after migrating a computer to a new domain.

- Product
- Microsoft Office
- Device & OS
- Windows
- Scenario
- Opening Office applications on an existing Windows profile after an Active Directory domain migration.
- Observed behavior
- Office displays TPM Error 80090016 due to stale Workplace Join or Azure AD Broker credentials, preventing successful sign-in and activation.
Ensure you have administrative privileges on your Windows computer and verify that your device is properly connected to the new domain network.
Remove Stale Workplace Join Credentials and BrokerPlugin Cache
Use the WPJCleanup script and clear the BrokerPlugin cache to remove stale Azure AD credentials that cause the TPM error, avoiding the need to create a new Windows profile.
After an ADMT migration, old domain credentials can get stuck in the Windows profile. Clearing these out allows the system to generate fresh credentials for the new domain.
Download and execute the WPJCleanup script provided by Microsoft to remove stale Workplace Join information from the system.
Navigate to %LOCALAPPDATA%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy in File Explorer and delete all contents within this folder.
Reboot your PC to ensure all credential caches are fully cleared from memory.
Open Word or Outlook and sign in again using your new domain credentials to reactivate Office.

Reset Microsoft 365 Apps Activation State
If clearing Workplace Join credentials does not completely resolve the issue across all Office apps, resetting the Office activation state will remove all lingering Office identities.
Try WPS Office for a Hassle-Free Experience
Tired of dealing with complex Windows domain migration errors, TPM issues, and activation problems? WPS Office is a lightweight, free alternative that bypasses complex Azure AD Broker plugins, offering a seamless and user-friendly experience.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package.
- 2. Install the Software: Run the installer and follow the simple on-screen instructions to complete the setup in minutes.
- 3. Open Your Files: Launch WPS Office and directly open your existing Word, Excel, and PowerPoint files without formatting loss.

Frequently Asked Questions
Why does TPM Error 80090016 happen after a domain migration?
This error occurs because the existing Windows profile still holds stale Workplace Join or Azure AD credentials from the old domain. These old credentials conflict with the new domain's authentication process when Office tries to verify your license.
Do I need to create a new Windows user profile to fix this error?
No. By using the WPJCleanup script to clear stale Workplace Join information and resetting the BrokerPlugin cache, you can usually resolve the TPM error without the hassle of recreating Windows profiles.
Will resetting the Office activation state delete my documents?
No, resetting the activation state only removes the saved login credentials and licensing identities associated with Microsoft 365. Your local files, cloud documents, and personal settings remain entirely untouched.




