CmdID / az / az billing / az billing account
az billing account list
Lists the billing accounts that a user has access to. Azure CLI reference
3 examples 1 option Its page in the Azure CLI reference
Examples
BillingAccountsList
az billing account listIdentifyBillingAccountsListWithExpand
az billing account list --expand "soldTo,billingProfiles,billingProfiles/invoiceSections"Identify--expandMay be used to expand the soldTo, invoice sections and billing profiles.BillingAccountsListWithExpandForEnrollmentDetails
az billing account list --expand "enrollmentDetails,departments,enrollmentAccounts"Identify--expandMay be used to expand the soldTo, invoice sections and billing profiles.Options
--expandMay be used to expand the soldTo, invoice sections and billing profiles.