VMware Horizon Community
LukaszDziwisz
Hot Shot
Hot Shot

Office 365 activation help needed

Hello Everyone,

We are in a desperate need of help with our Office 365 activation/sign in issue. We have been using O365 for some time now with on prem Exchange and no cloud content on Windows 10 20H2. We have AD Connector that provides single sign on for licensing and accounts synchronization with AD.

Recently our image went haywire and it won't take updates and has other issues so we have decided to make a new one. On the new image, we have installed exactly the same version of OS, horizon agents (7.13.2) and AppVolumes 4.4.4.6 just like on previous image. THe only difference this time was that we didn't optimize it with OSOT. After publishing to the pool, when new user signs in they get activated and all office products work great, but if they click sign out they will never be able to sign back in, it just prompts for email/upn and does nothing.  If a new user signs in and the writable profile is created but don't open any office application on first session then on next one they are immediately prompted to sign in to office, once they provide email/upn they get signed in but all office products show as Unlicensed Product.

For existing users with writable created on AppVolumes 4.4.4.6 they are working fine and can sign out and sign back in on the old image pool but once they sign in to the new pool with new image they are immediately broken and being asked to sign in each time they open any office product.   

In meantime we also had to upgrade AV agent to 2203 due to the Start Menu error and that fixed the problem as outlined in Release notes. I was hoping this will help with activation but to no avail. It's just very strange that it's the same OS version, agents, GPOs etc and yet seeing completely new stuff happening.

Did anybody encounter a similar issue? At this point I'm not even sure what is there to blame, Microsoft, VMWare or new image? For the record we have already created another image to rule that out and getting the same result. 

 

Went through every single post on forum to see if there is a similar issue and couldn't find a solution. We did enable SharedComputerLicensing feature as per VMware recommendation. 

Any help would be greatly appreciated. Thank you in advance

 

Labels (2)
Tags (2)
0 Kudos
3 Replies
pkley
Contributor
Contributor

Not sure if this helps or not, but we recently had an issue where some users had no problem using office while others had Unlicensed and one more new user had hers go Unlicensed after several days. While trying to work around the issue, we signed the user into OneDrive and magically her Office Suite started behaving itself and was licensed. This trick worked for the other users having the issue as well.

0 Kudos
xmode
Contributor
Contributor

This may or may not help but I run the following powershell script on login to remove any office cached credentials. It may need to be modified to include newer version of office. You can also manually remove them from the Credential Manager in control panel (a good way to see if this is actually your issue).

 

$credlist = cmdkey /list

ForEach ($Credline in $credlist) {
if (($credline -like "*MicrosoftOffice15_Data*") -or ($credline -like "*MicrosoftOffice16_Data*")) {
$Cred = $credline.replace("Target:", "").Trim()
cmdkey /delete:$Cred
}

Tags (1)
0 Kudos
LukaszDziwisz
Hot Shot
Hot Shot

Thank you everyone for your comments, what actually appeared to be the problem was that we had a GPO for SharedComputerLicensing enabled and it just wasn't applying it properly. INstead we have added a registry on the gold image and that resolved the problem

0 Kudos