Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Billing API not working for CSP Account #2602

Closed
mamathy opened this issue May 22, 2018 · 1 comment
Closed

Azure Billing API not working for CSP Account #2602

mamathy opened this issue May 22, 2018 · 1 comment

Comments

@mamathy
Copy link

mamathy commented May 22, 2018

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'

@lmazuel
Copy link
Member

lmazuel commented May 29, 2018

Closing as duplicate of #2624

Thanks,

@lmazuel lmazuel closed this as completed May 29, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants