# Basic and Modern Authentication Policies
$email = "test@test.ac.uk"
Connect-ExchangeOnline
$AuthPolicies = Get-AuthenticationPolicy | select name, allow*
$DefaultAuthPolicy = Get-OrganizationConfig | Select DefaultAuthenticationPolicy
$User = get-user $email | select UserPrincipalName, AuthenticationPolicy
$AuthPolicies | fl
$DefaultAuthPolicy
$User | fl
#Set User Level Auth Policy
#Set-User -Identity $Email -AuthenticationPolicy "Block Basic Authentication"
#Set Tenant Level Auth Policy
#Set-OrganizationConfig -DefaultAuthenticationPolicy "Block Basic Authentication"
This will list all of the available Auth Policies, show which one is assigned to $email and then change the policy applied to $email.