It is important to know that MFA is not recommended to be disabled on user accounts.
In response to your query, you can disable MFA by following the below PowerShell code:
Connect-MsolService
Get the StrongAuthenticationRequirement configured to the user account
Code: Select all
(Get-MsolUser -UserPrincipalName account@keyman .com).Strong
Code: Select all
$mfa = @()
Set-MsolUser -UserPrincipalName account@keyman .com -StrongAuthenticationRequirements $mfa
Code: Select all
(Get-MsolUser -UserPrincipalName account@keyman .com).StrongAuthenticationRequirements
$User = Get-MSolUser -UserPrincipalName account@keyman .com
$User.StrongAuthenticationMethods
https://portal.azure.com/
https://account.activedirectory.windowsazure.com/
I would also suggest to Revoke multifactor authentication sessions and Revoke sessions for the user account.