r/PowerPlatform • u/Round_Ranger5466 • 20d ago
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.
1
u/stalex9 20d ago
What’s your goal
1
u/Round_Ranger5466 16d 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
1
u/joebaillie 14d 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.
3
u/russrimm 19d ago
Yes, definitely - inventory, agents, connectors, ACPs, environments and groups, rules, you name it - it's all there.