Updating User properties using GraphAPI

Reset MFA for a office 365 user using powershell - (Reset-MsolStrongAuthenticationMethodByUpn)

How to reset MFA for office 365 user using Powershell?



If you search the internet for an article related to reset Azure Multi-Factor Authentication (MFA) you would most probably come across the old method, but a new CMD is available in MSOnline PowerShell module which can be utilized to reset the MFA.

NOTE: You need the Global Admin or Authentication administrator role assigned to run this CMD.

If you do not see this cmd in your powershell session make sure to update your module by running the following CMD (need local admin rights)

Install-Module MSOnline

and then the following CMD can be run.

Reset-MsolStrongAuthenticationMethodByUpn -UserPrincipalName sunil@mydomain.com

If you are still using the old method I hope this will help you to quickly reset the MFA for users.

Mslink: https://docs.microsoft.com/en-us/powershell/module/msonline/reset-msolstrongauthenticationmethodbyupn?view=azureadps-1.0

Comments

Post a Comment