---
title: "FAQ: gMSA Troubleshooting for Nodinite"
description: Resolve common gMSA issues in Nodinite, including Test-ADServiceAccount failures, logon errors, password rotation checks, and certificate permission problems.
---

# <i class="fal fa-wrench" aria-hidden="true"></i> FAQ - gMSA Troubleshooting

Use this troubleshooting guide to diagnose the most common gMSA issues when running <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Core Services][] and agents under a [Group Managed Service Account][gMSA Accounts]. Most problems fall in one of three places: Active Directory (the server can't retrieve the password), Windows rights on the server, or access to the [secret-encryption certificate][Secret Management].

## "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][LogonAsAService].

## Test-ADServiceAccount returns False

The server cannot retrieve the managed password from Active Directory.

### Checklist

1. Verify the server computer account is in the configured security group.
2. Run `gpupdate /force` and restart if membership changed recently.
3. Confirm the KDS root key exists and is already effective; see [Create the KDS Root Key][KDS Root Key].
4. Verify replication between domain controllers.
5. Confirm the gMSA account is enabled.
6. Verify `PrincipalsAllowedToRetrieveManagedPassword` matches your security group.
7. Reinstall the gMSA account on the server and test again.

### PowerShell Checks

```powershell
$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 `$`); in the Portal [Service Account Defaults][Step 2 Service Account Defaults], the account name ends with `$`.
* Password fields are left empty in Services and [IIS][] identity settings.
* "Log on as a service" right is present; see [How to set Logon as a Service right][LogonAsAService].
* Local administrator membership is present if the selected [Monitoring Agent][Monitoring Agents] requires it.
* The gMSA can read the private key of the secret-encryption certificate; see [Cannot access encrypted configuration files](#cannot-access-encrypted-configuration-files).

## 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 `PrincipalsAllowedToRetrieveManagedPassword` group.
* Verify KDS root key exists and replicated.
* Run `gpupdate /force` and restart when group membership changed.
* Review Event Viewer for domain, KDS, or service logon errors.

## Cannot access encrypted configuration files

This usually indicates certificate permissions or certificate location issues.

### Verify Certificate State

1. Confirm certificate is in `Cert:\LocalMachine\My`.
2. Confirm certificate thumbprint matches configuration.
3. Confirm `HasPrivateKey` is `True`.
4. Confirm gMSA has read access to private key material.

The scripts in [Install Certificates for gMSA][] find the private key in both the CNG and the CSP location and grant the Read permission.

### 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.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-right-left" aria-hidden="true"></i> [Migrate Traditional Account to gMSA][]  
* <i class="fal fa-certificate" aria-hidden="true"></i> [Install Certificates for gMSA][]  
* <i class="fal fa-key" aria-hidden="true"></i> [Secret Management][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-user-shield" aria-hidden="true"></i> [Configure Group Managed Service Accounts (gMSA)][gMSA Accounts]  
* <i class="fal fa-user-plus" aria-hidden="true"></i> [How to set Logon as a Service right][LogonAsAService]  
* <i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Windows Server Troubleshooting][Windows Overview]  
* <i class="fal fa-triangle-exclamation" aria-hidden="true"></i> [Troubleshooting][]  

[Core Services]:https://docs.nodinite.com/core-services/overview/
[gMSA Accounts]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/gmsa-accounts/
[IIS]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/iis/
[Install Certificates for gMSA]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/install-certificates-for-gmsa/
[KDS Root Key]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/gmsa-accounts/#step-1-create-the-kds-root-key
[LogonAsAService]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/logon-as-a-service-right/
[Migrate Traditional Account to gMSA]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/gmsa/migration-from-traditional-account/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[Secret Management]:https://docs.nodinite.com/install-and-update/troubleshooting/secret-managment/
[Step 2 Service Account Defaults]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/02-auth/#service-account-defaults
[Troubleshooting]:https://docs.nodinite.com/install-and-update/troubleshooting/overview/
[Windows Overview]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/overview/