View and download Azure usage and charges - Microsoft Cost Management (2024)

  • Article

You can download a daily breakdown of your Azure usage and charges in the Azure portal. Only certain roles have permission to get Azure usage information, like the Account Administrator or Enterprise Administrator. To learn more about getting access to billing information, see Manage access to Azure billing using roles.

If you have a Microsoft Customer Agreement (MCA), you must be a billing profile Owner, Contributor, Reader, or Invoice manager to view your Azure usage and charges. If you have a Microsoft Partner Agreement (MPA), only the Global Admin and Admin Agent role in the partner organization Microsoft can view and download Azure usage and charges.

Based on the type of subscription that you use, options to download your usage and charges vary.

If you want to get cost and usage data using the Azure CLI, see Get usage data with the Azure CLI.

Download usage for MOSP billing accounts

  1. Sign in to the Azure portal.
  2. Search for Cost Management + Billing.
    View and download Azure usage and charges - Microsoft Cost Management (1)
  3. Depending on your access, you might need to select a Billing account or Billing profile.
  4. In the left menu, select Invoices under Billing.
  5. In the invoice grid, find the row of the billing period corresponding to the usage you want to download.
  6. Select the download icon or the ellipsis (...) on the right.
    View and download Azure usage and charges - Microsoft Cost Management (2)
  7. The Download pane opens on the right. Select Download from the Usage Details section.

Download usage for EA customers

To view and download usage data as a EA customer, you must be an Enterprise Administrator, Account Owner, or Department Admin with the view charges policy enabled.

  1. Sign in to the Azure portal.
  2. Search for Cost Management + Billing.
    View and download Azure usage and charges - Microsoft Cost Management (3)
  3. If you have access to multiple billing accounts, select the billing scope for your EA billing account.
  4. Select Usage + charges.
  5. For the month you want to download, select Download.
    View and download Azure usage and charges - Microsoft Cost Management (4)
  6. On the Download Usage + Charges page, under Usage Details, select the type of charges that you want to download from the list. Depending on your selection, the CSV file provides all charges (usage and purchases) including RI (reservation) purchases. Or, amortized charges (usage and purchases) including reservation purchases.View and download Azure usage and charges - Microsoft Cost Management (5)
  7. Select Prepare document.
  8. It could take a while for Azure to prepare your download, depending on your monthly usage. When it's ready for download, select Download csv.

Download usage for your Microsoft Customer Agreement

To view and download usage data for a billing profile, you must be a billing profile Owner, Contributor, Reader, or Invoice manager.

Use the following information to download usage for billed charges. The same steps are used to download open and pending charges, which is the month-to-date usage for the current billing period. Open and pending charges haven't been billed yet.

Download usage file

  1. Sign in to the Azure portal.
  2. Search for Cost Management + Billing.
  3. Select a billing profile. Depending on your access, you might need to select a billing account first.
  4. In the left menu, select Invoices.
  5. In the invoice grid, find the row of the invoice corresponding to the usage file that you want to download.
  6. Select the ellipsis symbol (...) at the end of the row.
  7. In the context menu, select Prepare Azure usage file. A notification message appears stating that the usage file is being prepared.
  8. When the file is ready to download, select Download. If you missed the notification, you can view it from Notifications area in top right of the Azure portal (the bell symbol).

Calculate discount in the usage file

The usage file shows the following per-consumption line items:

  • costInBillingCurrency (Column AU)
  • paygCostInBillingCurrency (Column AX).

Use the information from the two columns to calculate your discount amount and discount percentage, as follows:

Discount amount = (AX – AU)

Discount percentage = (Discount amount / AX) * 100

Get usage data with Azure CLI

Start by preparing your environment for the Azure CLI:

  • Use the Bash environment in Azure Cloud Shell. For more information, see Quickstart for Bash in Azure Cloud Shell.

    View and download Azure usage and charges - Microsoft Cost Management (6)

  • If you prefer to run CLI reference commands locally, install the Azure CLI. If you're running on Windows or macOS, consider running Azure CLI in a Docker container. For more information, see How to run the Azure CLI in a Docker container.

    • If you're using a local installation, sign in to the Azure CLI by using the az login command. To finish the authentication process, follow the steps displayed in your terminal. For other sign-in options, see Sign in with the Azure CLI.

    • When you're prompted, install the Azure CLI extension on first use. For more information about extensions, see Use extensions with the Azure CLI.

    • Run az version to find the version and dependent libraries that are installed. To upgrade to the latest version, run az upgrade.

Then use the az costmanagement export commands to export usage data to an Azure storage account. You can download the data from there.

  1. Create a resource group or use an existing resource group. To create a resource group, run the az group create command:

    az group create --name TreyNetwork --location "East US"
  2. Create a storage account to receive the exports or use an existing storage account. To create an account, use the az storage account create command:

    az storage account create --resource-group TreyNetwork --name cmdemo
  3. Run the az costmanagement export create command to create the export:

    az costmanagement export create --name DemoExport --type Usage \--scope "subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e" --storage-account-id cmdemo \--storage-container democontainer --timeframe MonthToDate --storage-directory demodirectory

If you have questions or need help, create a support request.

Related content

To learn more about your invoice and usage charges, see:

  • Understand terms on your Microsoft Azure detailed usage
  • Understand your bill for Microsoft Azure
  • View and download your Microsoft Azure invoice
  • View and download your organization's Azure pricing

If you have a Microsoft Customer Agreement, see:

  • Understand terms on your Microsoft Customer Agreement Azure detailed usage
  • Understand the charges on your Microsoft Customer Agreement invoice
  • View and download your Microsoft Azure invoice
  • View and download tax documents for your Microsoft Customer Agreement
  • View and download your organization's Azure pricing
View and download Azure usage and charges - Microsoft Cost Management (2024)
Top Articles
Cisco 891 fresh configuration/management without console cable
Elon Musk accused of insider trading in Dogecoin lawsuit
Xre-02022
Christian McCaffrey loses fumble to open Super Bowl LVIII
Jonathon Kinchen Net Worth
Mama's Kitchen Waynesboro Tennessee
Computer Repair Tryon North Carolina
Hallowed Sepulchre Instances & More
Snarky Tea Net Worth 2022
Www.paystubportal.com/7-11 Login
What Is Njvpdi
Nashville Predators Wiki
Wnem Radar
Cooktopcove Com
180 Best Persuasive Essay Topics Ideas For Students in 2024
Minecraft Jar Google Drive
Edicts Of The Prime Designate
bode - Bode frequency response of dynamic system
Geometry Review Quiz 5 Answer Key
Toyota Camry Hybrid Long Term Review: A Big Luxury Sedan With Hatchback Efficiency
Tripadvisor Napa Restaurants
College Basketball Picks: NCAAB Picks Against The Spread | Pickswise
Evil Dead Rise Showtimes Near Pelican Cinemas
Shadbase Get Out Of Jail
Watch Your Lie in April English Sub/Dub online Free on HiAnime.to
Arrest Gif
Kabob-House-Spokane Photos
SOGo Groupware - Rechenzentrum Universität Osnabrück
Cowboy Pozisyon
Angel Haynes Dropbox
Trinket Of Advanced Weaponry
A Man Called Otto Showtimes Near Carolina Mall Cinema
Log in to your MyChart account
Ordensfrau: Der Tod ist die Geburt in ein Leben bei Gott
Frequently Asked Questions - Hy-Vee PERKS
Ellafeet.official
Chapaeva Age
Netherforged Lavaproof Boots
Mp4Mania.net1
Imperialism Flocabulary Quiz Answers
Aveda Caramel Toner Formula
Ashoke K Maitra. Adviser to CMD's. Received Lifetime Achievement Award in HRD on LinkedIn: #hr #hrd #coaching #mentoring #career #jobs #mba #mbafreshers #sales…
Author's Purpose And Viewpoint In The Dark Game Part 3
Sofia With An F Mugshot
Doe Infohub
Pathfinder Wrath Of The Righteous Tiefling Traitor
Senior Houses For Sale Near Me
Gabrielle Abbate Obituary
Whitney Wisconsin 2022
tampa bay farm & garden - by owner "horses" - craigslist
Diamond Desires Nyc
One Facing Life Maybe Crossword
Latest Posts
Article information

Author: Ms. Lucile Johns

Last Updated:

Views: 5957

Rating: 4 / 5 (61 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Ms. Lucile Johns

Birthday: 1999-11-16

Address: Suite 237 56046 Walsh Coves, West Enid, VT 46557

Phone: +59115435987187

Job: Education Supervisor

Hobby: Genealogy, Stone skipping, Skydiving, Nordic skating, Couponing, Coloring, Gardening

Introduction: My name is Ms. Lucile Johns, I am a successful, friendly, friendly, homely, adventurous, handsome, delightful person who loves writing and wants to share my knowledge and understanding with you.