Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Distinct groups with members count should be retrievable

AD-GMC-01InfoActive DirectoryGroups

Part of Active Directory · Active Directory · Groups · All checks

Run this check
Invoke-Maester -TestId AD-GMC-01

Understanding which groups have members versus empty groups provides valuable insights into Active Directory utilization:

  • Group Hygiene: Empty groups may represent unused or forgotten groups that could be cleaned up
  • Access Management: Groups with members are actively used for access control and permissions
  • Audit Scope: Focus security reviews on groups that actually grant access to resources
  • Directory Cleanup: Identify candidates for decommissioning or consolidation

Operational

Regularly review group membership to identify:

  • Empty groups that can be removed or disabled
  • Groups with unexpectedly few members (potential misconfigurations)
  • Groups with excessive members (may need splitting for better access control)

This test analyzes Active Directory groups and counts:

  • Total number of groups in the directory
  • Number of groups that contain at least one member
  • Percentage of groups with members
  • Empty groups (for cleanup candidates)

For performance reasons, the test analyzes the first 100 groups if there are many groups in the directory.

  • Test-MtAdGroupMemberAccountTypeDetails - Breaks down member types across groups
  • Test-MtAdGroupMemberTrustCount - Identifies cross-domain trust members
Every attribute of this check
FieldValue
Test IDAD-GMC-01
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureGroups
AreaIdentity lifecycle and hygiene
Resource typeGroup
MITRE ATT&CKNone
PowerShell testTest-MtAdGroupMemberDistinctGroupCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:group:ReadProperty, ActiveDirectory:Ldap:group.member:ReadProperty