web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Report on Multi factor...
Power Automate
Unanswered

Report on Multi factor Authention using MS Graph

(0) ShareShare
ReportReport
Posted on by 6

Hello,

 

Trying to the build a FLOW that is using an HTTP GET https://graph.microsoft.com/beta/reports/credentialUserRegistrationDetails

 

It returns ODATA JSON object. Unable to get this into an array to select each return item for each user to send an email to indicate which is dont have 2FA enable.

 

Could someone please help build this flow? Please no shortcut answer, too many people are only posting basic stuff

 

{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"userPrincipalName": {
"type": "string"
},
"userDisplayName": {
"type": "string"
},
"isRegistered": {
"type": "boolean"
},
"isEnabled": {
"type": "boolean"
},
"isCapable": {
"type": "boolean"
},
"isMfaRegistered": {
"type": "boolean"
},
"authMethods": {
"type": "array"
}
}
}

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,855 Most Valuable Professional on at

    Hi @dharin-sukar,

     

    When you use this in a HTTP action you should be able to return the results as an array from the body/value property.

     

    Below is an example.

    In this example I am using a Filter Array which uses the following expression for the From

    body('HTTP')['value']

     

    In the criteria it check if  the isMfaRegistered field is false by using the follwing expression:

    item()?['isMfaRegistered']

    is equal to false

     

    After that I use the output in a Create CSV Table action. But you could also loop through that filtered array output if you want.

     

    exportcsvtable.PNG

  • dharin-sukar Profile Picture
    6 on at

    Very cool thank you,

     

    I am getting an error on the filter array from the http output value, any ideas?

     

    dharinsukar_0-1662771323375.png

     

  • Expiscornovus Profile Picture
    33,855 Most Valuable Professional on at

    Hi @dharin-sukar,

     

    Can you copy paste the expression into the From field via the expression editor instead of pasting it as plain text?

     

    copypasteitinthexpressiontab.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard