top of page

Graph: Retrieve Per User MFA state using List operator

  • Writer: Will Francillette
    Will Francillette
  • Jul 21
  • 1 min read

Updated: Jul 22

Graph API logo

Today, I learned that we can retrieve the status of Per User MFA directly from a list operator using either v1.0 or users endpoint


Rest Endpoint retrieving per user MFA status

This is not documented yet and unfortunately is not available through the SDK.

GRaph SDK not working

It's a great improvement from previously as we had to use the authentication/requirements endpoint which was basically requiring to loop through all the users.


📢Update 22/07/2025:

You can also retrieve the per user mfa settings

mfa settings

use the endpoint:

/beta/policies/mfaServicePolicy

This is what the output will look:




🚀Let's boost all those old scripts !


Happy coding!


Will

I am DevSecOps Lead and Solution Architect at Threatscape specialised in M365 and Azure security offering.

I love learning, blogging and coding. My interests are very diverse and span across architecture, security, cloud engineering, automation, DevOps and PowerShell.

I own as of today 17x (and counting) Microsoft certifications and have worked in IT across multiple and diverse industries for over 15 years.




Comments


French 365 Connection

  • alt.text.label.LinkedIn
  • alt.text.label.Twitter
  • alt.text.link.github

©2022 by French365Connection.

bottom of page