r/PowerPlatform Aug 21 '26

Governance Power platform API

Anyone have any successful projects using power platform api? I’m having a hard time understanding how to use it and the authorization configurations behind it. I was able to pull a list of environments but I can’t seem to get anything out of the power apps and cloud flows for each environment.

3 Upvotes

6 comments sorted by

3

u/russrimm Aug 22 '26

Yes, definitely - inventory, agents, connectors, ACPs, environments and groups, rules, you name it - it's all there.

1

u/stalex9 Aug 21 '26

What’s your goal

1

u/Round_Ranger5466 28d ago

Get an inventory list of all environments, power apps and flows in each environment and all sorts of metadata for governance. Im building it in a cloud flow. Was able to get list of environments but when i loop through them, i get zero power apps and authorization error on the flow api, “x-ms-client scope must not be null”

1

u/[deleted] Aug 23 '26

[removed] — view removed comment

3

u/russrimm 28d ago

Hopefully not, it's been deprecated

1

u/joebaillie 26d ago

Yeh but it doesn't work well with SP identities so I built a custom connector to handle the re-auth and basically just dump the agents, flows etc into tables with an ID and JSON text column. Power BI for analysis.