---
title: "FAQ: Monitoring Certificates for Group Managed Service Accounts (gMSA)"
description: "FAQ about monitoring certificates for Group Managed Service Accounts (gMSA). Learn why impersonation doesn't work with gMSAs and how to properly monitor their certificate stores using dedicated agent instances."
---

# FAQ: Monitoring Certificates for Group Managed Service Accounts (gMSA)

Common questions about monitoring certificates for Group Managed Service Accounts with the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Windows Server Monitoring Agent][].

## <i class="fal fa-question-circle" aria-hidden="true"></i> Why can't the monitoring agent impersonate gMSA accounts to access their certificate stores?

Group Managed Service Accounts (gMSAs) are designed with enhanced security that makes password-based impersonation impossible:

### <i class="fal fa-lock" aria-hidden="true"></i> Security Architecture Limitations

#### Passwordless Authentication

* gMSAs use automatically managed, complex passwords that rotate every 30 days
* These passwords are never exposed to administrators or applications
* Passwords are managed entirely by Active Directory and the Local Security Authority (LSA)

#### Service Context Only

* gMSAs authenticate using their computer account credentials through Kerberos
* They cannot be used for interactive logon or standard Windows impersonation (LogonUser API)
* The monitoring agent requires the LogonUser API to access other users' certificate stores

#### Certificate Store Access Requirements

Windows certificate stores are user-profile specific. To access a user's certificate store, you must either:

* **Run as that user** - the process identity must be the gMSA
* **Impersonate with valid credentials** - impossible for gMSA (no password available)

#### Security by Design

This limitation is intentional. gMSAs prevent privilege escalation and credential theft by ensuring that their credentials cannot be extracted, shared, or misused.

### <i class="fal fa-wrench" aria-hidden="true"></i> Solution: Dedicated Agent Instance

To monitor certificates for a gMSA account, **install a dedicated instance** of the monitoring agent configured to run as that gMSA account:

1. **Install separate agent instance** - Deploy a dedicated <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Windows Server Monitoring Agent on the same server or a different server
2. **Configure service identity** - Set the monitoring agent Windows service to run as the gMSA account
3. **Direct access** - The agent will have direct access to its own (the gMSA's) Current User certificate store without requiring impersonation
4. **Monitor configuration** - Configure certificate monitoring to monitor the "Current User" store location

### <i class="fal fa-clipboard-check" aria-hidden="true"></i> Implementation Steps

|**Step**|**Action**|**Details**|  
|---|---|---|  
|**1. [Install Agent][]**|Deploy dedicated agent instance|Can be on same server or separate server with access to gMSA|  
|**2. Service Configuration**|Configure Windows service identity|Set agent service to run as gMSA account (DOMAIN\gMSA$)|  
|**3. [Certificate Monitoring][]**|Enable Current User monitoring|Agent monitors its own certificate store as the gMSA|  
|**4. Verification**|Test certificate detection|Verify gMSA certificates appear in Current User category|  

### <i class="fal fa-shield-halved" aria-hidden="true"></i> Benefits of This Approach

* **Security compliant** - Respects gMSA security design
* **No credential exposure** - No passwords stored or managed
* **Direct access** - No impersonation required
* **Full monitoring** - All certificate store features available
* **Scalable** - Can monitor multiple gMSAs with separate agent instances

### <i class="fal fa-exclamation-triangle" aria-hidden="true"></i> Important Considerations

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p><strong>gMSA Prerequisites:</strong> Ensure the gMSA account has the necessary permissions to:</p><ul>
<li>Run as a service on the target server</li>
<li>Access network resources if monitoring remote resources</li>
<li>Read its own certificate stores</li>
</ul></div>
</aside>

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p><strong>Licensing:</strong> Each monitoring agent instance requires appropriate <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> licensing. Contact support for guidance on multi-instance deployments.</p></div>
</aside>

## <i class="fal fa-question-circle" aria-hidden="true"></i> Can I monitor multiple gMSAs from a single agent?

**No** - Due to the security architecture of gMSAs, each gMSA requires its own dedicated agent instance. You cannot configure a single agent to impersonate multiple gMSAs.

### Workaround Options

* Deploy multiple agent instances (one per gMSA)
* Use regular service accounts instead of gMSAs if impersonation is required
* Centralize certificate management to reduce the number of accounts needing monitoring

## <i class="fal fa-question-circle" aria-hidden="true"></i> What about Local Machine certificates used by gMSAs?

**Local Machine certificates are accessible** through standard impersonation or by running the agent with appropriate permissions. The gMSA limitation only affects **Current User** certificate stores that are profile-specific to the gMSA account.

### Monitoring Approach

* **Local Machine store** - Monitor with any agent instance that has local administrator privileges
* **Current User store** - Requires dedicated agent running as the gMSA

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

<i class="fal fa-wrench" aria-hidden="true"></i> [Install Windows Server Monitoring Agent][]  
<i class="fal fa-cog" aria-hidden="true"></i> [Configuration][]  
<i class="fal fa-file-certificate" aria-hidden="true"></i> [Certificate Monitoring][]  

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

* <i class="fal fa-file-certificate" aria-hidden="true"></i> [Certificate Monitoring][]  
* <i class="fal fa-server" aria-hidden="true"></i> [Windows Server Monitoring Agent][]  
* <i class="fal fa-shield-halved" aria-hidden="true"></i> [Prerequisites for Windows Server Monitoring Agent][]  
* <i class="fal fa-question-circle" aria-hidden="true"></i> [Troubleshooting Overview][]  

[Certificate Monitoring]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/overview/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/windows-server/getting-started/configuration/
[Install Agent]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/install/
[Install Windows Server Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/windows-server/getting-started/install/
[Prerequisites for Windows Server Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/windows-server/getting-started/prerequisites/
[Troubleshooting Overview]:https://docs.nodinite.com/logging-and-monitoring/windows-server/troubleshooting/overview/
[Windows Server Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/windows-server/overview/