Export Status MFA (PowerShell- MgGraph)

GuestGuivenchi 105 Reputation points
2025-05-01T21:07:22.53+00:00

I request your support, please.

I need to obtain an export of all the tenant's users. I need to obtain the MFA status (Disabled, Enabled, Enforced). I previously used the MSOnline module, but it no longer allows me to use it. I believe it's discontinued. Does anyone have a PowerShell script with which I can obtain this information?

Thank you.

User's image

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,924 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.