Fine-grained password policy application targets should be retrievable
Part of Active Directory · Active Directory · Password policy · All checks
Invoke-Maester -TestId AD-FGPP-04Overview
Section titled “Overview”Understanding which users and groups each fine-grained password policy applies to is essential for:
- Verifying coverage: Ensure all privileged accounts are covered by stronger policies
- Avoiding gaps: Identify users who should have stricter policies but don’t
- Preventing conflicts: Spot users who may be subject to multiple conflicting policies
- Audit compliance: Demonstrate that security controls are applied appropriately
A policy that doesn’t apply to anyone is wasted configuration. A policy that applies to the wrong users can create security gaps or usability issues.
Control Type
Section titled “Control Type”Operational
Security Recommendation
Section titled “Security Recommendation”Ensure your fine-grained password policies are applied correctly:
- Privileged groups: Domain Admins, Enterprise Admins, Schema Admins should have the strongest policies
- Service accounts: Accounts used for services and applications need appropriate policies
- No gaps: All users with elevated privileges should be covered
- No conflicts: Users should not be subject to multiple FGPPs (the one with the lowest precedence wins)
To review and modify policy application:
- Open Active Directory Administrative Center
- Navigate to System > Password Settings Container
- Double-click a policy
- In the Directly Applies To section, review and modify the users and groups
Note: If a user is subject to multiple FGPPs, the one with the lowest precedence number wins. If precedence is equal, the policy with the most specific match wins.
How the Test Works
Section titled “How the Test Works”This test retrieves all fine-grained password policies using Get-ADFineGrainedPasswordPolicy and shows which users and groups each policy applies to. For each policy, the test reports:
- Policy name
- List of users and groups the policy applies to
- Object type (user, group, etc.)
- Warning if a policy has no application targets
Related Tests
Section titled “Related Tests”Test-MtAdFineGrainedPolicyCount- Counts the number of FGPPsTest-MtAdFineGrainedPolicySettingCounts- Shows detailed settings for each policy
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-FGPP-04 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Password policy |
| Area | Authentication |
| Resource type | Policy |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdFineGrainedPolicyAppliesTo |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:computer.name:ReadProperty, ActiveDirectory:Ldap:msDS-PasswordSettings:ReadProperty, ActiveDirectory:Ldap:group.name:ReadProperty, ActiveDirectory:Ldap:user.name:ReadProperty |
Source
Section titled “Source”- Test:
tests/ad/password-policy/Test.AD-FGPP-04.ps1 - Documentation:
tests/ad/password-policy/Test.AD-FGPP-04.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Password policy
- Area
- Authentication
- Suite
- Active Directory