Forum Discussion
dbetlow
Feb 27, 2018Iron Contributor
Report on users with MFA Enabled
We are not currently enforcing MFA for all users, but have sent out instructions to allow users to self-enroll in MFA (http://aka.ms/MFASetup). Looking at the status of users who I know have enabled...
- Feb 28, 2018
No, your users are not enabling MFA for themselves by using those URLs, That's a fact. You may have some other configuration going on.
cfizz34
Apr 19, 2022Copper Contributor
What if I want to exclude BLOCKED users from the report?
- cfizz3434Apr 20, 2022Copper Contributor
<the sign-in status can be blocked or allowed. i want to exclude blocked users from the report
- AliSoufiApr 20, 2022Copper ContributorGot it. so you just need to add a filter like this: Where-Object {$_.BlockCredential -eq $false}
the whole thing would look like something like this:
Get-MsolUser -all | Where-Object {$_.BlockCredential -eq $false} | Select-Object DisplayName,UserPrincipalName,@{N="MFA User Setup"; E={ if( $_.StrongAuthenticationMethods -ne $null){"Enabled"} else { "Disabled"}}},@{N="MFA Admin Enforced"; E={ if( $_.StrongAuthenticationRequirements.State -ne $null){ $_.StrongAuthenticationRequirements.State} else { "Disabled"}}}- cfizz3434Apr 20, 2022Copper Contributorthis is perfect, thank you so much!!