How to: Get Users Without MFA in Microsoft 365 report.

Power Shell:

 

Install-module Msonline

Connect-MsolService

 

Get-MsolUser -all | select DisplayName,UserPrincipalName,@{N= “MFAStatus”; E ={if( $_.StrongAuthenticationRequirements.State -ne $null) {$_.StrongAuthenticationRequirements.State} else {“Disabled” }}} | where MFAStatus -eq “Disabled”>>C:\TEMP\Info.txt

 

 

 

 

Kind Regards,

 

Kon Belieu

Partner

[email protected]   |  513-575-3500


4440 Lake Forest Dr., Suite 102B, Cincinnati, OH  45242

 

Tags:

Comments are closed

Latest Comments

No comments to show.