Step 2

Share the service account

Both agents run as the same gMSA, so there is no password to copy. Let the new server retrieve it.

10 minutes, including a restartRun as CONTOSO\Administrator

Add the server to the host group

A domain controller
Add-ADGroupMember -Identity "SG-CON-Sync-Hosts" -Members "CON-SYNC-02$"

Restart, then test

The server picks up its group at restart. Sign back in as a domain account.

CON-SYNC-02
Add-WindowsFeature RSAT-AD-PowerShell
Test-ADServiceAccount -Identity "svc-entra-gmsa"    # must be True
Using the default gMSA?

If the first agent created provAgentgMSA, use that name here. Both agents must use the same account.

Your progress is kept in this browser only.