Test-MtCaBlockLegacyExchangeActiveSyncAuthentication
SYNOPSIS
Checks if the tenant has at least one conditional access policy that blocks legacy authentication for Exchange Active Sync authentication.
SYNTAX
Test-MtCaBlockLegacyExchangeActiveSyncAuthentication [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Legacy authentication is an unsecure method to authenticate. This function checks if the tenant has at least one conditional access policy that blocks legacy authentication.
Learn more: https://learn.microsoft.com/entra/identity/conditional-access/howto-conditional-access-policy-block-legacy