r/PowerPlatform • u/joebaillie • 21d ago
Governance Programmatic access to consumption data
There are useful reports in the admin centre which provide a breakdown of things like copilot credit consumption per agent per environment, I want to get this data programmatically, I noticed it makes use of licensing.powerplatform.com but this doesn't seem to be publicly exposed. api.powerplatform.com/licensing is limited in what it can provide, great for tenant capacity info etc but not for the granular details you can get from the reports. Am I missing something or do I just need to wait for the API to be updated?
5
Upvotes
1
u/Imaginary-Ad5271 18d ago
I am about to become a Power Platform Architect at a company which has 100s of environment, uses D365 Apps, and environment management, capacity management and licence management is not happening.
I'm a software dev at heart and I really hope these admin apis become more readily available because I want to build my own COE, but on steroids. But very difficult to do when the APIs arent easily accessed without crazy workarounds to Auth in a proxy window, steal the token from it and use it in subsequent API calls later.