![status office 365 status office 365](https://www.sharepointeurope.com/media/242977/3.jpg)
To quickly check the status of all your admin accounts you can use the switch adminsOnly Get-MFAStatus.ps1 -adminsOnly Check the MFA status on a selection of users Get-MFAStatus.ps1 -withOutMFAOnly Check the MFA Status of adminsĪdmins should have MFA enable without a doubt. You can use the switch withOutMFAOnly for this. If you have a large tenant then you probably only want to get the users without MFA.
![status office 365 status office 365](https://www.practical365.com/wp-content/uploads/2017/02/service-health-dashboard-compare-1024x340.png)
Get-MFAStatus.ps1 | Export-CSV c:\temp\mfastatus.csv -noTypeInformation Get only the users without MFA # Make sure you are connected to MsolService You can export the result on the screen or to a CSV file if you like. The script will check if the user is an admin and will list the default MFA type that the user has set. You can just run the script without any parameters to get a list of all the users and their MFA Status. Connect-MsolService Getting a list of all users and there MFA Status Make sure you are connected before you run the script. You need to have the MsolService module installed to use this script. Tip Add this script to your PowerShell Profile so you can easily check the MFA Status of your users. If this parameter is set, then we know that the user is using MFA. This parameter will list all the strong authentication methods that a user is using. Get-MsolUser returns all the user details, including the parameter StrongAuthenticationMethods. The basis for the script is the Get-MsolUser cmdlet, which gets the users from the Azure Active Directory. With PowerShell, we can easily get the MFA Status of all our Office 365 users. Get only the licensed and enabled usersĪt the end of the article, you will find the complete script.Get all the users that don’t have MFA enabled.List configured MFA types for each user.I have created a script that can do a couple of things to check and report the MFA status of your users: With PowerShell on the other hand, we can easily get the MFA Status of all users and create an Excel list with all the details we need. You could also use the built-in overview in the Admin Center, but that would be really time-consuming.
![status office 365 status office 365](https://i.ytimg.com/vi/xIV6-gEQUNI/maxresdefault.jpg)
To make sure that our users have configured MFA we are going to use PowerShell to get the MFA Status. MFA is a really important security measure to protect your tenant. One of the reports that I really miss in the Microsoft 365 Admin Center is a clear overview of the MFA status of each user.