Skip to main content Explore View all products (200+) Microsoft Foundry Azure Copilot GitHub Copilot Azure Kubernetes Service (AKS) Azure Cosmos DB Azure Database for PostgreSQL Azure Arc Microsoft Fabric Linux virtual machines in Azure Foundry Models Foundry Agent Service Foundry IQ Foundry Tools Foundry Control Plane Observability in Foundry Control Plane Azure OpenAI in Foundry Models Azure Speech in Foundry Tools Azure Machine Learning View all databases Azure Cosmos DB Azure DocumentDB Azure SQL Azure Database for PostgreSQL Azure Managed Redis Microsoft Fabric Azure Databricks Linux virtual machines in Azure Windows Server on Azure Azure Functions Azure Virtual Machine Scale Sets Azure API Management Azure Container Apps Azure Kubernetes Service (AKS) Azure Kubernetes Fleet Manager Azure Container Registry Azure Red Hat OpenShift Azure Container Instances Azure Container Storage Azure Arc Azure Local Microsoft Defender for Cloud Azure Monitor Microsoft Sentinel Azure Migrate View all solutions (40+) Cloud solutions for small and medium businesses Cloud migration and modernization center Data analytics for AI Azure Databases AI apps and agents Microsoft Marketplace Microsoft Sovereign Cloud AI apps and agents Responsible AI with Azure AI Infrastructure Data analytics for AI Machine learning operations (MLOps) Low-code application development on Azure Integration Services Serverless computing DevOps Migration and modernization center .NET apps migration Databases on Azure Linux on Azure Oracle on Azure SAP on the Microsoft Cloud Adaptive cloud High-performance computing (HPC) Infrastructure as a service (IaaS) Resiliency Azure Essentials Frontier Accelerate for Azure FinOps on Azure Microsoft Marketplace Azure pricing overview Create an Azure account Free Azure services Flexible purchase options Pricing calculator FinOps on Azure Maximize ROI from AI Azure savings plans Azure reservations Azure Hybrid Benefit Virtual Machines Azure SQL Microsoft Foundry Microsoft Fabric Azure Kubernetes Service (AKS) Microsoft Defender for Cloud View more Software Development Companies Microsoft Marketplace Find a partner Resources for Azure partners Get started with Azure Customer stories Analyst reports, white papers, and e-books Videos Learn more about cloud computing Documentation Explore Azure portal Developer resources Quickstart templates Resources for startups Developer community Students Azure for partners Blog Events and Webinars Learn Support Contact Sales Get started with Azure Sign in

Many organizations ask us for a convenient way to review and visualize usage and billing information across multiple subscriptions. Today, this is a complicated problem to solve due to access restrictions on billing information. Last year, we announced the availability of the Azure Resource Usage and RateCard APIs. These APIs provide programmatic access to the usage information for a subscription as well as the billing rates for Azure usage for different rate codes. Used in conjunction, these APIs enable you to see not just what your consumption of different services over time are, but also to see how much that consumption costs. Until now, it’s been up to you as developers to bridge these APIs to acquire this level of intelligence.

The Azure usage and billing portal

Some months ago, a small group within the Developer Experience team began working on a project to enable visibility of Azure usage across multiple subscriptions to keep track of billing as well as to ensure resources weren’t left running after projects and events had finished. Just like any developer out there, we didn’t want to leave 1,000 machine clusters up and running if we didn’t need to! That project became the Azure Usage and Billing Portal.  Today we’re happy to announce that the project has been open sourced and is now available on GitHub. Once deployed, you’ll be able to register any subscriptions that are used by your organization so that their usage will be polled on a daily basis. From there, that usage and billed amount is displayed in an easy to use, and very configurable, Power BI dashboard:

timeline

This release is just the start of what we’re hoping to accomplish with this project. In the future, we plan to add the ability to trigger alerts based off unusual Azure usage, provide additional reporting, enable per-subscription rate codes, simplify deployment, and much more. As you begin using the Azure Usage and Billing Portal, we hope you’ll provide feedback and contribute any improvements you work on.

Getting started

The Azure Usage and Billing Portal consists of multiple pieces:

  • Registration website for providing the system access to Azure subscriptions
  • Dashboard website for reviewing the subscriptions that have granted access, viewing the state of job requests, and starting unscheduled jobs to pull usage data
  • SQL Database for storing usage and billing data
  • Storage Queue for storing requests to pull data from the Usage and RateCard APIs
  • Scheduled webjob to trigger a daily pull request for each subscription
  • Continuous webjob to pull data whenever a request enters the Queue
  • Power BI Dashboard to display the results

Fortunately, we’ve done the work of creating a Powershell script which will generate all the necessary Azure resources you’ll need to deploy your own version of the Portal. You can follow along with step-by-step instructions to generate those resources, update the necessary configuration files in Visual Studio, and deploy all of your projects into Azure.

More information

If you’d like to understand more about how the project was built, you can review the following resources:

WE ARE MICROSOFT

Explore Microsoft Foundry

The future of AI starts here. Envision your next great AI app with the latest technologies. Get started with Azure.