Run the Microsoft 365 activation troubleshooter on the affected PC first; if it does not resolve the error and this is Microsoft 365 Apps for enterprise, clear the device’s Office licensing and Windows account-token state.
1. Run the activation troubleshooter
Because the same accounts activate on another computer, continue troubleshooting the affected Windows installation rather than clearing the TPM again.
- Close every Office application.
- On the affected PC, open the Microsoft 365 activation guidance and select the button that starts the Microsoft 365 activation troubleshooter.
- When prompted that the site is trying to open Get Help, select Open.
- Complete the suggested fixes, restart Office, and try activation again.
The troubleshooter must run on the PC containing the problematic Microsoft 365 installation and requires Windows 10 or later. ^1^
2. Check for a conflicting Office installation
A factory image can contain more than one Office installation or edition.
- Open Control Panel → Programs → Programs and Features.
- Search the installed-program list for Office.
- If multiple Office versions appear, uninstall versions that are not being used.
- Restart Windows and attempt activation again.
Multiple Office installations can cause activation conflicts. ^1^
3. Reset activation state—enterprise installations only
Use this branch only if the installed product is Microsoft 365 Apps for enterprise. It removes cached Office licenses and account tokens, so close all Office applications first.
Microsoft recommends these cleanup scripts:
- Download and extract OLicenseCleanup.zip from Microsoft:
- Download and extract signoutofwamaccounts.zip:
- Place
signoutofwamaccounts.ps1 in the same folder as OLicenseCleanup.vbs.
- Run
OLicenseCleanup.vbs with elevated permissions. It will also invoke the WAM-account cleanup script when both files are together.
- Restart Windows, open Word, and sign in with the licensed business account.
These scripts remove previous licenses, cached Office identities, and Office-associated Web Account Manager (WAM) tokens. ^2^
Do not run WPJCleanUp.cmd unless the computer is Workplace Joined. Check from an elevated Command Prompt:
dsregcmd /status
Under User State, use WPJ cleanup only if WorkplaceJoined : YES. Clearing Workplace Join removes the current session’s single sign-on state and unregisters the device from cloud management, so coordinate that action with the Microsoft 365 administrator. ^2^
4. Repair or reinstall Office if cleanup does not work
First perform an Online Repair:
- Open Control Panel → Programs → Programs and Features.
- Select Microsoft 365 and choose Change.
- Select Online Repair → Repair.
Online Repair is more comprehensive than Quick Repair. If activation still fails, use Microsoft’s uninstall troubleshooter to remove Office completely, restart, and reinstall it from the licensed business account. [^3^](https://support.microsoft.com/office/-something-went-wrong-error-when-you-try-to-start-a-microsoft-365-app-4b4471dd-cf86-4a37-910d-35a01a6c7d17 ""Something went wrong" error when you try to start a Microsoft 365 app")
5. If the error remains
Record the complete error details shown by the sign-in dialog, especially:
- Error code or tag
- Timestamp
- Correlation ID
- Request ID, if displayed
Provide those values to the organization’s Microsoft 365 administrator so they can correlate the attempt with tenant sign-in logs. Also verify that Windows has the correct automatic date, time, and time zone, and test whether a proxy, firewall, or antivirus product is interfering with Office activation. These are documented activation-failure checks. ^1^
References
- Unlicensed Product and activation errors in Office | Microsoft Support
- Reset activation state for Microsoft 365 Apps for enterprise
- "Something went wrong" error when you try to start a Microsoft 365 app