Q. When users attempt to sign into Microsoft 365 desktop applications, they receive an error message.
Error: Something went wrong.
The computer being used is Windows.
A. There may be a problem with the Microsoft 365 Apps for enterprise license activation.
*From January 2025, the name "Microsoft 365" was changed to "Microsoft 365 Copilot".
When this error occurs, a code is displayed together with the error message.
* In many cases, this code is the string shown as "Error Tag" in the Troubleshooting details section at the bottom of the message.
Code List |
|---|
| [1001] |
| [657rx] |
| [7ita9] |
| [4vt9f] |
| [7q20j] |
| [1200] |
If these errors occur, please reset the sign-in information for the Office applications.
1) Sign out from Microsoft Office apps
- Launch a Microsoft Office application such as Excel and click on "Account".
- Click "Sign out".
-
"Sign out from Office" is displayed on the screen.
Click "Sign out".
* If "Delete Account" appears on the screen, click "Yes".
* If you are signed in with multiple accounts, please sign out of all accounts. - Close all running Office applications.
2)Run OLicenseCleanup.vbs (script file)
- Access the following Microsoft support page.
-
Click on the file "OLicenseCleanup.zip" in "Method: Use scripts to automate the cleanup process" to download it.
- Run the OLicenseCleanup.vbs (VBScript script file) inside the OLicenseCleanup.zip file.
For that purpose, please double-click on OLicenseCleanup.vbs.
*The execution process runs in the background and the completion screen is not displayed.
*If the logged-on user does not have administrator privileges, the script needs to be run twice.
In the case of the logged-on user, after running OLicenseCleanup.vbs, right-click the command prompt and launch it under a different administrator user account.
After that, please run OLicenseCleanup.vbs on the command prompt.
3)Disconnect the account from "Access work or school"
- Click the Start (Windows icon) and select "Settings" (gear icon).
- Click on "Account" and select "Access work or school".
- If you have an THERS account under "Work or School Account", click "Disconnect".
*Do not disconnect any items other than THERS account connected to Azure AD or AD.
Please note that if you "cut off", you will be disconnected from the domain.
4)Delete the folder causing the error
- Copy and paste the following file name into the Windows search bar, and delete all the files in the folder that appears.
-
- %LOCALAPPDATA%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\AC\TokenBroker\Accounts
- %LOCALAPPDATA%\Packages\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy\AC\TokenBroker\Accounts
- %LOCALAPPDATA%\Microsoft\TokenBroker\Cache
- %LOCALAPPDATA%\Microsoft\OneAuth
- %LOCALAPPDATA%\Microsoft\IdentityCache
- After deletion, restart the computer.
5) Activate Office 365 license
- Launch a Microsoft Office application such as Excel.
- When the screen that says "Please sign in to start (app name)" appears, click "Sign in to your account or create an account".
* If "Sign in to set up Office" is displayed, click "Sign In". - Enter your THERS account(ab.12c.3456@f.thers.ac.jp,@s.thers.ac.jp,@a.thers.ac.jp) and password for "Office License Activation".
-
When the "Sign in to all apps, websites, and service on this device?" screen appears, select "No, this app only".
* If you clicked "Yes", please refer to the article below.
Reference: When trying to use Teams, the message "Device management could not be enabled" is displayed.
-
Click "Agree" on the license agreement screen.
After that, please check if the Office applications are working properly.