← Back to DAGDA | Support | Source: https://github.com/microsoft/ConsumptionCentral-for-Microsoft-Copilot
Skip to content

About

One Power BI template for Microsoft Copilot credit consumption and cost - Cowork/Work IQ, Copilot Studio, GitHub Copilot and Azure AI Foundry.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

36 stars

Watchers

3 watching

Forks

Repository files navigation


💳 Consumption Central

Microsoft Copilot credit consumption and cost, as an app or a Power BI report.

What you're consuming · what it costs · where to trim · what next year looks like


All reports and guides can be found on the Analytics Hub.

Also see Analytics Hub for Microsoft Copilot: one installer sets up an app on Microsoft Fabric or Azure that shows Copilot and agent adoption, value, consumption and governance in one place. It includes Consumption Central as its optional Credit consumption add-on.


Found this useful? ⭐ Star this repo to help others discover it!


Videos ↓  ·  Before you start ↓  ·  Choose your path ↓  ·  Installer ↓  ·  Manual ↓  ·  After setup ↓


The app The Power BI report
The Consumption Central app on its built-in sample data, animated preview of its tabs The Consumption Central Power BI report, animated preview

Videos

Watch the app explainer: what each page shows, how to read it, and what to do next. Synthetic demo data and AI-generated narration.

Power BI report explainer

Watch the page-by-page Power BI report walkthrough. Synthetic demo data and AI-generated narration.

Installer walkthrough (1m 10s)

AI-generated narration. Sign-in and deployment are simulated.

consumption-central-installer-walkthrough-v3.mp4

Demo: what the report covers, page by page (1m 51s)

Watch the Consumption Central overview on YouTube

▶ Watch overview on YouTube

Setup guide: getting your own data in, every source, start to finish (10m 49s)

Watch the Consumption Central setup guide on YouTube

▶ Watch setup guide on YouTube

Where a video differs from the written steps, follow the steps.

Try the app now, with no setup. Open app/download/Consumption-Central-App.html, choose Download raw file, and open it in Edge or Chrome. It runs offline on sample data.

What you get

  • The app: credit consumption, cost, savings and forecast in six tabs.
  • A Power BI report with the same numbers, if you prefer Power BI.
  • Four products: Cowork / Work IQ, Copilot Studio, GitHub Copilot and Azure AI Foundry. One is enough.

Before you start

  • Recommended: turn on Viva identification first for department breakdowns and per-person cross-product spend. A Global Administrator or AI Administrator opens Microsoft 365 admin center → Settings → Org settings → Viva feature access → Viva Insights. Create or edit a policy with Feature = Identifiable Export and Access = On. Allow up to 24 hours, then re-run your exports. It is not retroactive. Details, privacy and preview caveats →
  • Data for at least one product. What each needs →
  • Two admin settings, turned on once. Which →
  • Power Apps Premium or Copilot Credits for each app user. Details →
  • Power BI Pro and Power BI Desktop, for the report.
  • Node.js 24.11+ and Git.
  • For the installer: Fabric F2+ (or a trial), or Windows with PowerShell 7.2+. Full list →

Choose your path

flowchart LR
    S([Start]) --> Q{Can you run<br/>the installer?}
    Q -- Yes --> I[Installer]
    I --> F[Fabric:<br/>daily refresh]
    I --> P[No Fabric:<br/>SharePoint + PAX]
    Q -- "No, or just trying it" --> A[Deploy the app]
    A --> C[Load exports in<br/>Change data]
    C -. optional .-> R[Power BI report]
Loading
Path Best for
Installer (recommended) Most people. It sets everything up and refreshes daily.
Manual Trying your own files today, or when you can't run the installer.

Installer

  1. Get the code:
    git clone https://github.com/microsoft/ConsumptionCentral-for-Microsoft-Copilot.git
    cd ConsumptionCentral-for-Microsoft-Copilot/installer
    
  2. Start it. It opens in your browser:
    npm install
    npx consumption-central-installer --ui
    
  3. Choose Set up Consumption Central and sign in.
  4. Pick a route. Fabric loads your data into a workspace daily. No Fabric: SharePoint + PAX reads a SharePoint folder and also deploys the app.
  5. Answer the questions. The defaults suit most organisations. For Viva per-person or department views, complete the identification step before loading your exports.
  6. Approve the plan. Nothing is created before you do.
  7. Follow the cards on the Done page, then check it worked.

Every question and other ways to start it: docs/INSTALL.md. On the No Fabric route, build the app first so the installer can deploy it from a clone: Without the exe.

Manual

  1. Deploy the app. About 10 minutes. Steps →

  2. Get your exports. Where each one is →

  3. Load them. Open managedapps.cloud.microsoft, choose Consumption Central, then Change data.

  4. Optional: the Power BI report. Pick one folder:

    Path Best when Time
    1. Local CSV You want it today ~10 min
    2. Fabric You want it to refresh itself An afternoon
    3. Viva Direct You want Cowork data with no files ~10 min

    Not sure? Start with Local CSV. Try it on the sample data.

  5. Optional: per-person and department views. An admin must turn on Viva identification before you get your exports. Follow the early identification step.

Already using a Power BI template (Local CSV or Viva Direct)? Deploy the app (step 1), then load the same exports in Change data. Your report keeps working. On Viva Direct, download the Cowork export from Viva Insights first (where).

After setup

Check it worked Keep it up to date
Installer Check it worked Refreshes daily. Start it again to update or repair.
The app Each loaded source is listed in Change data Drop in new exports any time. Update the app →
The report Your products' pages fill in Schedule a refresh in the Power BI service. How →

A number looks odd? How to read the dashboard. Need help? This isn't covered by Microsoft support. Open an issue.


Usage & compliance disclaimer

This template helps you understand your own Copilot consumption and cost. Microsoft has no visibility into the data you load, nor control over how the template is used. You are responsible for ensuring your use complies with applicable law, including data privacy and employment law. Microsoft disclaims all liability arising from use of this template.

Several underlying exports are in preview, and the identifiable variant of the Viva Insights export processes personal data. Review the "Previews" section of the Microsoft Products and Services Data Protection Addendum before enabling it, and consult your works council or privacy office where per-person reporting requires it.

Troubleshooting
Problem Where to look
The app won't create, deploy, share or open App troubleshooting
An installer step or load failed Check it worked and load status and reruns
The Viva Direct report won't refresh If the refresh fails
Departments are blank or "Unknown" Department breakdowns
A number looks wrong How to read the dashboard

Reference
How to read the dashboard What every page and figure means
Where the data comes from Click-paths and permissions for every export
Running the Viva Insights query The query paths 2 and 3 connect to
Department breakdowns How org attributes get in
Rates and pricing What to set and where to find it. Credits default to the $0.01 list price.
Every measure explained Reference
Advanced setup Scheduling, service principals, gateway refresh
Install and the installer Every question, route and command
The app Deploy, admin settings, licensing, tabs and development
Fabric App The app on your published Fabric model

The Fabric App (alternative). Already on the 2. Fabric path? fabric-app/ deploys Consumption Central into your Fabric workspace as a web app. It reads your published model live, as the viewer, so row-level security applies, and it keeps no copy of your data. It can also deploy ValueLens alongside. Prerequisites and commands → No published model? Host the CSV app in Fabric instead.

Testing. Built and tested end to end against live tenant data on all three report paths. The sample data is synthetic. If you schedule the Azure collectors, complete the Azure acceptance procedure in your own environment.

Archived options

Contributing

Issues and pull requests welcome. See CONTRIBUTING.md.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of third-party trademarks or logos is subject to those third-parties' policies.

About

One Power BI template for Microsoft Copilot credit consumption and cost - Cowork/Work IQ, Copilot Studio, GitHub Copilot and Azure AI Foundry.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

36 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages