Skip to main content
Version: 2.1.1-preview

MT.1033 - MT.1033.$($RegularUsersList.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
SuiteM365 Advisor
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