Conditional Access policies should not include or exclude deleted groups
MT.1038MediumEntra IDConditional Access
Part of Maester · Entra ID · Conditional Access · All checks
Invoke-Maester -TestId MT.1038Overview
Section titled “Overview”This test checks if there are any Conditional Access policies that target deleted security groups.
This usually happens when a group is deleted but is still referenced in a Conditional Access policy.
Deleted groups in your policy can lead to unexpected gaps. This may result in Conditional Access policies not being applied to the users you intended or the policy not being applied at all.
To fix this issue:
- Open the impacted Conditional Access policy.
- If the group is no longer needed, click Save to remove the referenced group from the policy.
- If the group is still needed, update the policy to target a valid group.
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | MT.1038 |
| Severity | Medium |
| Suite | Maester |
| Product | Entra ID |
| Feature | Conditional Access |
| Area | Access control |
| Resource type | ConditionalAccessPolicy |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | T1078.004 Cloud Accounts |
| PowerShell test | Test-MtCaReferencedGroupsExist |
| Services | Graph |
Source
Section titled “Source”- Test:
tests/maester/entra/Test.MT.1038.ps1 - Documentation:
tests/maester/entra/Test.MT.1038.md
About this check
- Severity
- Medium
- Effort to fix
- Low
- Impact on users
- Low
- Product
- Entra ID
- Feature
- Conditional Access
- Area
- Access control
- Suite
- Maester