User in container count should be retrievable
AD-USER-19InfoActive DirectoryUsers
Part of Active Directory · Active Directory · Users · All checks
Invoke-Maester -TestId AD-USER-19Overview
Section titled “Overview”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=Usersor similar container paths
Control Type
Section titled “Control Type”Detective
Security Recommendation
Section titled “Security Recommendation”- 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
How the Test Works
Section titled “How the Test Works”This test counts user objects whose distinguished names indicate they are beneath a container path, including accounts under CN=Users.
Related Tests
Section titled “Related Tests”Test-MtAdUserManagerSetCount- Helps assess whether organizational metadata is mature enough for governanceTest-MtAdUserKnownServiceAccountCount- Finds service accounts that may also require dedicated OUs
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-USER-19 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Users |
| Area | Infrastructure hardening |
| Resource type | User |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdUserInContainerCount |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:user:ReadProperty |
Source
Section titled “Source”- Test:
tests/ad/user/Test.AD-USER-19.ps1 - Documentation:
tests/ad/user/Test.AD-USER-19.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Users
- Area
- Infrastructure hardening
- Suite
- Active Directory