FAQ - gMSA Troubleshooting
Use this troubleshooting guide to diagnose the most common gMSA issues when running Nodinite services and agents.
"Logon failure: the user has not been granted the requested logon type"
The gMSA account does not have the local right "Log on as a service".
Add the account using How to set Logon as a Service right.
Test-ADServiceAccount returns False
The server cannot retrieve the managed password from Active Directory.
Checklist
- Verify the server computer account is in the configured security group.
- Run
gpupdate /forceand restart if membership changed recently. - Confirm the KDS root key exists and is already effective.
- Verify replication between domain controllers.
- Confirm the gMSA account is enabled.
- Verify
PrincipalsAllowedToRetrieveManagedPasswordmatches your security group. - Reinstall the gMSA account on the server and test again.
PowerShell Checks
$serverName = $env:COMPUTERNAME
Get-ADGroupMember -Identity "gmsaservergroup" | Where-Object { $_.Name -eq "$serverName$" }
Get-KdsRootKey
repadmin /showrepl
Get-ADServiceAccount -Identity "testgmsa" -Properties Enabled, PrincipalsAllowedToRetrieveManagedPassword
Uninstall-ADServiceAccount -Identity "testgmsa"
Install-ADServiceAccount -Identity "testgmsa"
Test-ADServiceAccount -Identity "testgmsa"
Service fails to start with gMSA account
Validate these common mistakes:
- Account format is
DOMAIN\gMSAName$(with trailing$). - Password fields are left empty in Services and IIS identity settings.
- "Log on as a service" right is present.
- Local administrator membership is present if the selected monitoring agent requires it.
Authentication failures after password rotation
gMSA password rotation is automatic in Active Directory. Services should continue without manual password changes.
Quick Checks
- Verify server membership in
PrincipalsAllowedToRetrieveManagedPasswordgroup. - Verify KDS root key exists and replicated.
- Run
gpupdate /forceand restart when group membership changed. - Review Event Viewer for domain, KDS, or service logon errors.
Cannot access encrypted configuration files
This usually indicates certificate permission or certificate location issues.
Verify Certificate State
- Confirm certificate is in
Cert:\LocalMachine\My. - Confirm certificate thumbprint matches configuration.
- Confirm
HasPrivateKeyisTrue. - Confirm gMSA has read access to private key material.
For certificate ACL guidance, see Microsoft: Grant access to a certificate private key.
Event Viewer Focus Areas
Review these logs:
- System log (Service Control Manager)
- Application log
- Security log
Look for entries mentioning logon failure, access denied, private key, or certificate errors.