O365 Powershell To Get MFA Status Report

This last week I needed to create a report on the current status of O365 users MFA registrations. I needed to make sure that people who now needed to work remotely were protected by MFA and that they were all registered.

There was a number of attributes that I needed to pull that would help identify the users and also understand why they had not registered. To do this, I used the following script.

You will also see from the above script that I pulled the following attributes;



BlockCredentials – useful to see if account is enabled or not

UsageLocation – optional, but in my case I needed to know the location of these users

Department – optional, but found it useful if needed to target certain business units to send comms to encourage users to register

ProxyAddresses – useful to be able to send comms to users to advise them to register

Leave a Reply

Your email address will not be published. Required fields are marked *