AD-GPOREP-13 - GPO disabled link details should be retrievable
Overviewโ
Test-MtAdGpoDisabledLinkDetailsโ
Returns details of GPOs with disabled GPO links.
Why This Test Mattersโ
- Detective control: checks for GPOs with disabled links to identify potential misconfigurations that could affect policy delivery.
- Disabled links can lead to unexpected policy application gaps.
Control Typeโ
Operational
Security Recommendationโ
- Review and re-enable intentional GPO links or remove unused GPOs to restore intended policy application.
How the Test Worksโ
- Retrieves GPO state via Get-MtADGpoState, filters GPOReports for DisabledLinks greater than 0, and renders a Markdown table with the results.
Related Testsโ
Test-MtAdGpoDisabledLinkCount- Count of disabled links across GPOs.
Related linksโ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GPOREP-13 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.GPOState |
| PowerShell test | Test-MtAdGpoDisabledLinkDetails |
| Tags | AD, AD-GPOREP-13, AD.GPOState |
Sourceโ
- Pester test:
tests/ad/gpostate/Test-MtAdGpoDisabledLinkDetails.Tests.ps1 - PowerShell source:
powershell/public/ad/gpostate/Test-MtAdGpoDisabledLinkDetails.ps1
