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) →

Empty non-privileged group details should be investigated

AD-GMC-09InfoActive DirectoryGroups

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

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

Detailed visibility into empty non-privileged groups enables effective cleanup:

  • Identification: Lists specific groups that can be removed
  • Age assessment: Shows creation and modification dates to determine staleness
  • Categorization: Groups by type (security vs. distribution) and scope
  • Cleanup planning: Provides data needed for maintenance windows
  • Audit trail: Documents what was empty before cleanup

Operational

Before removing empty groups:

  • Verify groups are not referenced by applications or scripts
  • Check if groups are used in Group Policy or Conditional Access
  • Document groups before deletion for potential rollback
  • Consider disabling groups first before permanent deletion
  • Communicate with application owners about group dependencies
  • Maintain a log of cleaned groups for compliance purposes

This test identifies all Active Directory groups that:

  1. Have no members
  2. Do not have adminCount = 1

It then lists these groups with their:

  • Name
  • Group scope (DomainLocal, Global, Universal)
  • Group category (Security, Distribution)
  • Creation date
  • Last modification date
  • Test-MtAdGroupEmptyNonPrivilegedCount - Counts empty non-privileged groups
  • Test-MtAdGroupPrivilegedWithMembersDetails - Reviews privileged group memberships
Every attribute of this check
FieldValue
Test IDAD-GMC-09
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureGroups
AreaIdentity lifecycle and hygiene
Resource typeGroup
MITRE ATT&CKNone
PowerShell testTest-MtAdGroupEmptyNonPrivilegedDetails
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:group:ReadProperty, ActiveDirectory:Ldap:group.member:ReadProperty