Forum Discussion

Madhu Perera's avatar
Madhu Perera
Copper Contributor
Apr 10, 2019
Solved

PowerShell to get a list of Office 365 users with MFA enabled

Hi Team,   I am trying to report on Office 365 with MFA enabled. Found the script online and the post here to get those users using the cmdlet below: Get-MsolUser -All | Where {$_.StrongAuthentica...
  • VasilMichev's avatar
    Apr 10, 2019

    Well, Azure AD join serves as a form of MFA, so it's not that inaccurate. But if you only want to cover the "traditional" MFA, check the value of the "state" parameter:

     

    (Get-MsolUser -SearchString huku).StrongAuthenticationRequirements.State

Resources