Skip to main content

List Billing Accounts

List all the Billing Accounts.

External Documentation

To learn more, visit the Azure documentation.

Basic Parameters

ParameterDescription
Expandused to expand the address, invoice sections and billing profiles. Expand is allowed for SoldTo and EnrollmentDetails/PONumber.
FilterThe filter query option allows clients to filter a collection of resources that are addressed by a request URL.

Advanced Parameters

ParameterDescription
Include AllWhen true, results will include Billing Accounts that the user does not have a direct role assignment on.
Include All Without Billing ProfilesWhen true, results will include Billing Accounts that are not fully created.
Include DeletedWhen true, results will include any billing accounts in a deleted state.
Include Pending AgreementIncludes billing accounts with agreement pending signature that the user has access to.
Include ReselleeIncludes the customer's billing account of Microsoft Partner Agreement that the user has access to.
Legal Owner OIDMust be combined with legalOwnerTID, results will only include Billing Accounts for whom is legally responsible for the Billing Accounts.
Legal Owner TIDMust be combined with legalOwnerOID, results will only include Billing Accounts for whom is legally responsible for the Billing Accounts.
SearchThe search query option allows clients to request items within a collection matching a free-text search expression. search is only supported for string fields.
SkipThis option requests the number of items in the queried collection that are to be skipped and not included in the result.
TopThis option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50.

Example Output

{
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/10000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"name": "10000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"properties": {
"accountStatus": "Active",
"accountType": "Business",
"accountSubType": "Enterprise",
"agreementType": "MicrosoftCustomerAgreement",
"displayName": "Premier Business Account",
"hasReadAccess": true,
"primaryBillingTenantId": "20000000-0000-0000-0000-000000000001"
},
"type": "Microsoft.Billing/billingAccounts",
"systemData": {
"createdAt": "2023-01-04T22:39:34.2606750Z",
"lastModifiedAt": "2023-01-05T22:39:34.2606750Z"
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/20000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"name": "20000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"properties": {
"accountStatus": "Active",
"accountType": "Business",
"accountSubType": "Professional",
"agreementType": "MicrosoftCustomerAgreement",
"displayName": "Standard Business Account",
"hasReadAccess": true,
"primaryBillingTenantId": "20000000-0000-0000-0000-000000000001"
},
"type": "Microsoft.Billing/billingAccounts",
"systemData": {
"createdAt": "2023-01-04T22:39:34.2606750Z",
"lastModifiedAt": "2023-01-05T22:39:34.2606750Z"
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/30000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"name": "30000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"properties": {
"accountStatus": "Active",
"accountType": "Individual",
"accountSubType": "Individual",
"agreementType": "MicrosoftCustomerAgreement",
"displayName": "Individual Account",
"hasReadAccess": true,
"primaryBillingTenantId": "20000000-0000-0000-0000-000000000001"
},
"type": "Microsoft.Billing/billingAccounts",
"systemData": {
"createdAt": "2023-01-04T22:39:34.2606750Z",
"lastModifiedAt": "2023-01-05T22:39:34.2606750Z"
}
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/40000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"name": "40000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"properties": {
"accountStatus": "Active",
"accountType": "Business",
"accountSubType": "Enterprise",
"agreementType": "MicrosoftPartnerAgreement",
"displayName": "Premier Business Account",
"hasReadAccess": true,
"primaryBillingTenantId": "20000000-0000-0000-0000-000000000001"
},
"type": "Microsoft.Billing/billingAccounts",
"systemData": {
"createdAt": "2023-01-04T22:39:34.2606750Z",
"lastModifiedAt": "2023-01-05T22:39:34.2606750Z"
}
}
]
}

Workflow Library Example

List Billing Accounts with Azure and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop