-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
BadRequest running azure-cost show #6
Comments
snap!!
|
Same here! I'm on macOS 13.3.1 (22E261). |
Would you/someone be able to send me the full output of the |
Sure!
|
Thanks, do you have this on all your subscriptions, or on a specific type? Like EA types? |
I only have this subscription. What is an EA type? |
Ah that is interesting. Can you do this command and check the quotaId property?
If that quota id is not on this list, then it looks like it is not possible to retrieve the data: https://learn.microsoft.com/en-us/azure/cost-management-billing/costs/understand-cost-mgt-data#supported-microsoft-azure-offers |
Same issue here; I am using a pay as you go subscription: PayAsYouGo_2014-09-01 |
The output is just this:
It appears in the list. |
Yes mine is: PayAsYouGo_2014-09-01 which correlates to: Pay-As-You-Go | Pay-As-You-Go | PayAsYouGo_2014-09-01 | MS-AZR-0003P | October 2, 2018
|
Thanks, @mivano I got MSDNDevTest_2014-09-01 Am fully aware Sponsorship account do not play with the billing API very nicely, but I expect a DevTest subscription to be ok |
I would indeed expect a MSDNDevTest_2014-09-01 to work. @RikGr is yours an Enterprise Agreement as well? |
I have three different types of subscriptions which I have listed below with the respective results. Hope it helps:
|
I get Bad Request as well. I'm having an EA subscription. This is payload when browse and look at Cost analysis
|
Thanks for the details @daesk ! Would you be able to test this with version 0.9 ? I hope I found the issue. |
It works for me now |
@mivano It appears to be working now with v0.9. What did you find was the issue? |
Great! TimePeriod and a filtering. That is what I changed. It looks like the queries generated in the portal are different based on the subscription type. |
@mivano Yes it works for me now also. These subscriptions are of type "Azure Plan". They are not EA as far as I know. But to good thing is it working anyway! 👍 |
To me the error now is
Hi @mivano! I didn't understand if this kind of error is going to be solved or if is it impossible to make ti work with my kind of subscription because of API design. Thanks! |
Yes now it works. |
Reproduction steps:
I receive:
The text was updated successfully, but these errors were encountered: