Common problems when creating and using a gMSA, and their fixes.
"Key does not exist" when creating the account
There is no KDS root key, or it is not effective yet. Check with Get-KdsRootKey and wait until its EffectiveTime has passed.
Test-ADServiceAccount returns False
The server is not in the host group, or has not restarted since you added it. Check the group with Get-ADGroupMember "SG-CON-App-Hosts", restart the server and test again.
Test-ADServiceAccount gives an access error
You are signed in as the server's local Administrator. Sign in with a domain account and run it again.
The Cloud Sync installer cannot use the account
Create the gMSA first, add the server to the host group, restart, and get True from the test before you run the installer. Run the installer signed in as CONTOSO\Administrator.
A service will not start with "logon failure"
The account name is missing its $, or a password was typed in. Re-enter the account with the dollar sign and leave both password boxes empty.
A member server lost its trust with the domain
If Test-ComputerSecureChannel returns False on the server, run nltest /sc_reset:ad.contoso.com, then test the gMSA again.


