Regarding service accounts used by Entra connect Server , GMSA is not supported to be used for AD DS connector. For AD DS connector you have to create a standard user. for more information about permission required for this service account used by AD DS Connector you can refer to the following link: Create the AD DS Connector account.
GMSA is required when you want use a remote SQL instance. In this case you can use GMSA to connect on this instance. I have alreday configured it in my envirement without any issue.
Note that You can set the service account only on first installation. You can't change the service account after installation is finished.
If you want replace the service account used by Entra Connect server to connect on SQL instance you have to reinstall Entra Connect server: GMSA
I recommend you follow these steps that I used to replace the service account with a GMSA service account:
- Create GMSA service account and standard user service account
- Configure required permissions (full access) to GMSA service account to connect on SQL instance and required permission to standard service account to be used for AD DS connect : Create the AD DS Connector account.
- Export configuration from old Entra connect server as mentioned in the following link : Migrate settings from an existing server
- Install Entra connect server on new server as staing mode by following this configuration:
Imported configuration from old server
Use GMSA to connect on SQL instance
Use Standard service account for AD DS Connector to sync objects from on-premise domain :
- Once the configuration of new Entra connect server with GMSA is completed you can set old server with staging mode
- Disable staging mode on new server
Please don't forget to accept helpful answer