Is there any rest API or a set up of rest APIs that allow us to get all the users, the list they have access to, and the group they belong to,

The output can be something like the below table:

Users ,  Group   , Lists
user1 , groupI   , listA
user2 , groupII  , listA
user3 , groupIII , listB

What I have done so far:

This returns all the site users:


this return gruop PIDs:


and this return member of a group:


but what about groups of a list? Is there any API?

Is there any better way to get what I am looking for rather than having multiple calls and then joining the result together in MS flow?

I have seen some examples by using C# code and CMOS, but I am looking for some APIs that I can implement in Microsoft flow/Power automate

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.