Azure Billing API not working for CSP Account #2624
Labels
Billing
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
needs-author-feedback
Workflow: More information is needed from author to address the issue.
no-recent-activity
There has been no recent activity on this issue.
RestAPI
Service Attention
Workflow: This issue is responsible by Azure service team.
Using below python api for Azure Billing,
commerce_client = UsageManagementClient(credentials, subscription_id)
usage_list = commerce_client.usage_aggregates.list(start, end)
It will works fine for EA account,but throw exception for CSP account as follows,
Operation returned an invalid status code 'Bad Request'
The text was updated successfully, but these errors were encountered: