cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
katten345
New Member

Getting risky users with API

Hi,

im trying to get all risky users with API.

Im parsing the JSON and i can see the risky user but when i compose its empty and null...

I tried doing this:

katten345_0-1665573120212.png

Results:

katten345_1-1665573188434.png

As you can see there is no information in the Teams action.

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Hi @katten345,

 

The items should normally be stored in the value property of the body of the response:

https://learn.microsoft.com/en-us/graph/api/riskyusers-list?view=graph-rest-beta&tabs=http#response-...

 

Can you try and use the below instead in your parse json to see if that makes a difference?

body('Select')['value']

 



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


View solution in original post

1 REPLY 1
Expiscornovus
Super User
Super User

Hi @katten345,

 

The items should normally be stored in the value property of the body of the response:

https://learn.microsoft.com/en-us/graph/api/riskyusers-list?view=graph-rest-beta&tabs=http#response-...

 

Can you try and use the below instead in your parse json to see if that makes a difference?

body('Select')['value']

 



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,656)