Skip to main content
Version: 2.1.1-preview

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

FieldValue
Test IDMT.1034
SeverityUnknown
SuiteMaester
CategoryCA
PowerShell testTest-MtConditionalAccessWhatIf
TagsCA, CAWhatIf, LongRunning, Maester, MT.1034

Source

  • Pester test: tests/Maester/Entra/Test-ConditionalAccessWhatIf.Tests.ps1
  • PowerShell source: powershell/public/maester/entra/Test-MtConditionalAccessWhatIf.ps1