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
| Field | Value |
|---|---|
| Test ID | MT.1033 |
| Severity | Unknown |
| Suite | M365 Advisor |
| Category | CA |
| PowerShell test | Test-MtCaWIFBlockLegacyAuthentication |
| Tags | CA, CAWhatIf, LongRunning, M365Advisor, MT.1033 |
Source
- Pester test:
tests/M365Advisor/Entra/Test-ConditionalAccessWhatIf.Tests.ps1 - PowerShell source:
powershell/public/M365Advisor/entra/Test-MtCaWIFBlockLegacyAuthentication.ps1