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