KB ID 0001655
Problem
If you have something boring/repetitive to do then Powershell is your friend! I needed to do this for a client that’s replacing their Office365/Azure AD MFA (Multi Factor Authentication) with Duo.
Solution
Connect to your Microsoft Services Online, i.e. Office365/Azure, using your administrative credentials with the following command;
[box]
Connect-MsolService
[/box]
Then (Note: I’ve got more than 1000 users so I need to add the MaxResults switch).
[box]
Get-MsolUser -MaxResults 2000 | Set-MsolUser -StrongAuthenticationRequirements @()
[/box]
Office 365: Disable MFA For One User
Similar to above;
[box]
Get-MsolUser -UserPrincipalName {user-name} | Set-MsolUser -StrongAuthenticationRequirements @()
[/box]
Related Articles, References, Credits, or External Links
NA
Hi,
thanks for that article
-UserPrincipleName is written -UserPrincipalName
Best regards from Germany
Thanks for spotting that!