Billing API doesn't work

Dheeman Das 6 Reputation points
2022-09-08T15:38:02.547+00:00

Hi,
I’m trying to get any costing and billing data from the Azure REST API, but I cannot get it working.
For example, when I try to get my Billing Account with the GET request:

I’m getting the error message:
"error": {
"code": "400",
"message": "The request could not be understood. Parameter BillingAccountId: 9971ccb0-02bb-45e2-bd6a-9e340372dcba is in a format that could not be processed with this version (Request ID: 9279f97b-a547-4a6e-854e-bde0bc5f683c)"
}

Can anyone help me with this?

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,075 questions
{count} vote

1 answer

Sort by: Most helpful
  1. dkrishnaveni-MSFT 1,946 Reputation points Microsoft Employee
    2022-09-21T18:00:40.313+00:00

    Hello,

    Please feel free to create support request with Azure Billing team.

    Document reference to create support request : https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

    While creating the ticket, please ensure to choose the Support Type as Billing and proceed further with closest category and share relevant details. You will be contacted by support engineer to assist you further.

    Kind Regards,
    Divya.

    0 comments No comments