Remove and re-add Office 365 license for Office 2016

One of my users got a notice in Office 2016 that he needed to reactivate his Office 365 subscription. After clicking reactive a warning came up that “there was a problem with your Office 365 subscription, and we need your help to fix it”. In the My Account page you see an overview of the registered device with your license. The computer in question was not listed here.

When you go to the Account page in Office (File > Account) I noticed that the Office subscription belonged to another user. That user in question was no longer working for our company and his license was revoked.  Signing in- and out didn’t not help. So you can we change the “Belongs to”?

When a user activated Office on a computer and is removed from Office 365, then Office would go into a “grace period” and notify the user that he need to reactivated.

Reassign the software license

You can fix this issue from the command line. Start cmd with admin privilege and go the program folder of the Office version you installed.

Run cscript OSPP.VBS /dstatus to list all licenses. Note the line “Last 5 characters of installed product key: *****”

There could be more than one key listed.

Now run the following command for each key listed to remove all the licences

When done re-launch Office 2016, you will get a prompt to activated Office where you can enter the user credentials to reactivate Office.