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

User in container count should be retrievable

AD-USER-19InfoActive DirectoryUsers

Part of Active Directory · Active Directory · Users · All checks

Run this check
Invoke-Maester -TestId AD-USER-19

Users are easier to manage when placed in organizational units (OUs) that align to administration, policy, and lifecycle requirements. Accounts stored in container paths such as CN=Users often indicate default placement or limited organizational structure.

  • Delegation limitations: Containers are less flexible for delegated administration
  • Policy design impact: OUs are the preferred structure for policy and lifecycle management
  • Default placement visibility: Helps identify accounts still living in CN=Users or similar container paths

Detective

  • Move standard user accounts from container paths into appropriate OUs
  • Define an OU model that supports administration, policy, and lifecycle requirements
  • Regularly review new accounts for default or non-standard placement

This test counts user objects whose distinguished names indicate they are beneath a container path, including accounts under CN=Users.

  • Test-MtAdUserManagerSetCount - Helps assess whether organizational metadata is mature enough for governance
  • Test-MtAdUserKnownServiceAccountCount - Finds service accounts that may also require dedicated OUs
Every attribute of this check
FieldValue
Test IDAD-USER-19
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureUsers
AreaInfrastructure hardening
Resource typeUser
MITRE ATT&CKNone
PowerShell testTest-MtAdUserInContainerCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:user:ReadProperty