Each time an account is linked to the Windows installation, a registry entry is set, but it is not deleted when you link a new account to the Windows installation. This registry entry has to be removed by hand. To do so press the Windows key + R, type “regedit” and press enter. Here you have to navigate to HKEY_USERS -> $ID of your Windows User$ -> Software -> Microsoft -> Office -> 16.0 -> Common -> Identity -> Identities. In here you will find an entry with a seemingly random name. Search them all for an entry that contains the email address of your old Microsoft subscription account and delete it.
Most of the times after this the installation should work. Sometimes you also have to uninstall Office entirely and reinstall it.
Comments
I encountered this too when installing Microsoft Office from the software list provided by TU Vienna. I wonder, if there would be another, easier way to hand out licenses other than providing new Microsoft accounts each time the subscription runs out of time.
Nevertheless, this is a useful, on-point guide for solving this problem, thank you!
I stumbled across the same problem, when i got an license for Microsoft Office issued by TU Vienna. Your solution worked for me as well, thank you for the great help!
I also had this problem with the license for Microsoft Office 365 Abo from TU Vienna. Your answer was a great help to me and solved my problem without any problems.