Skip to main content
Version: 2.1.0

MT.1033 - MT.1033.$($RegularUsers.IndexOf($)): User should be blocked from using legacy authentication ($($.userPrincipalName))

Overview

Checks if the Conditional Access Policies for blocking legacy authentication is active and used.

See Block legacy authentication - Microsoft Learn

Test Metadata

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

Source

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