az billing balance shows "default"

Dhimant Patel 0 Reputation points

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: Name


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

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 12,686 Reputation points

    @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