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
SuiteM365Advisor
CategoryCA
PowerShell testTest-MtCaWIFBlockLegacyAuthentication
TagsCA, CAWhatIf, LongRunning, M365Advisor, MT.1033

Source

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