MT.1034 - MT.1034.$($EmergencyAccessUsers.IndexOf($)): Emergency access users should not be blocked ($($.userPrincipalName))
Overview
This function tests a Conditional Access evaluation with What If for a given scenario.
The function uses the Microsoft Graph API to evaluate the Conditional Access policies.
Learn more: https://learn.microsoft.com/entra/identity/conditional-access/what-if-tool https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.beta.identity.signins/test-mgbetaidentityconditionalaccess?view=graph-powershell-beta
Test Metadata
| Field | Value |
|---|---|
| Test ID | MT.1034 |
| Severity | Unknown |
| Suite | Maester |
| Category | CA |
| PowerShell test | Test-MtConditionalAccessWhatIf |
| Tags | CA, CAWhatIf, LongRunning, Maester, MT.1034 |
Source
- Pester test:
tests/Maester/Entra/Test-ConditionalAccessWhatIf.Tests.ps1 - PowerShell source:
powershell/public/maester/entra/Test-MtConditionalAccessWhatIf.ps1