PetrosFeleskouras/copilot-credit-consumption ? reverse-engineered prompt

Reverse engineered prompt

Build me a Power Platform sample that tracks Copilot Studio message credit consumption across the whole tenant.

I want a solution that runs a daily Power Automate flow, pulls the licensing and environment data, and stores it in Dataverse so I can see usage over time. Then build a Power Apps Code App dashboard on top of that data that shows the main summary numbers, tenant capacity, billed versus non billed credits, top agents and environments, trends, and a searchable data grid.

Please include the Dataverse tables, the flow, the app, and the role needed for read only access. Make it easy to import as a solution, and set it up so the first run can backfill recent history and later runs only keep it updated. If you need to check current Power Platform docs or APIs, do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab