az billing balance shows "default"

Dhimant Patel 0 Reputation points
2023-05-04T16:47:08.5766667+00:00

I am making az cli call to query "balance show" with correct account-id and profile-id but I did not expected what I received as a response.

Why not $0.00" or Null, but "default" ?

az billing balance show --account-name "1122-3344-xxy-zzz1122-3344-xxy-zzz1122-3344-xxy-zzz1122-3344-xxy-zzz" --profile-name "1122-3344-xxy-zzz" Command group 'billing balance' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus Name

default

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

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 13,031 Reputation points
    2023-05-05T18:30:13.09+00:00

    @Dhimant Patel - Welcome to Microsoft Q&A and thanks for reaching out to us.

    The "default" value in the response of the az billing balance show command indicates that the billing profile has not been set up yet. This usually means that there is no balance available for the billing profile.

    If you have set up the billing profile and still see "default" as the balance, it could be because the billing profile has not been fully provisioned yet.

    It can usually take up to 24 hours for the billing profile to be fully provisioned and for the balance to be available.

    Hope this helps. and please feel free to reach out if you have any further questions.


    If the above response was helpful, please feel free to "Accept as Answer" and click "Yes" so it can be beneficial to the community.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.