A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
Hi @Sarker, Mahbub (RIS-ATL) There are two distinct things you're probably after. The billing account type is your commercial agreement with Microsoft Microsoft Online Subscription Program, Enterprise Agreement, Microsoft Customer Agreement, or Microsoft Partner Agreement. The Offer ID is the specific plan inside that agreement, like MS-AZR-0044P for an Azure free account or MS-AZR-0003P for pay-as-you-go rates. Think of the billing account type as the contract you signed and the Offer ID as the specific line item on it. One catch worth knowing up front: the Offer ID field is only populated for Microsoft Online Services Program billing accounts if you're under EA or MCA, that field simply won't be there, and that's expected, not a bug.
Here is how to read both:
Find your Offer ID first: In the portal, search for Subscriptions, open your subscription, and look at the Overview blade. This is the fastest read because it names your actual plan. To verify: you should see an Offer ID in the form MS-AZR-####P. 0044P means you're on the Azure free account. Cross-check the code against the Microsoft Azure Offer Details page.
Get your billing account type: Search for Cost Management + Billing. If you only have one billing scope, select Properties from the left menu and read the Type value. If you have several, select Billing scopes and read the Billing account type column instead. To verify Type reads exactly one of Microsoft Online Subscription Program, Enterprise Agreement, Microsoft Customer Agreement, or Microsoft Partner Agreement. If the Properties blade isn't visible at all, that's a permissions signal, not a missing feature you need Billing Reader on that scope, since billing pages don't inherit from resource-level RBAC.
If Offer ID is blank (EA/MCA/MPA), identify the plan programmatically instead and Run:
az rest --method GET --uri "https://management.azure.com/subscriptions/{sub-id}?api-version=2020-01-01"
and read subscriptionPolicies.quotaId. To verify the value maps cleanly to a known offer EnterpriseAgreement_2014-09-01 = Enterprise, PayAsYouGo_2014-09-01 = pay-as-you-go, FreeTrial_2014-09-01 = Free Trial, AzureForStudents_2018-01-01 = Azure for Students, MSDN_2014-09-01 = MSDN.
If you have further questions regarding this answer, feel free to click "Comment". If you find the answer helpful, please click "upvote" and accept it. This helps the community by allowing others with similar queries to easily find the solution.