question

97kirkc avatar image
0 Votes"
97kirkc asked kobulloc-MSFT answered

Azure Retail Pricing API fails - stopped returning virtual machines except new E series v5

I saw a similar thread regarding this in April: https://docs.microsoft.com/en-us/answers/questions/348412/azure-retail-pricing-api-returning-empty-list-item.html

We use the pricing API extensively to automate cost lookups. We noticed as of 24 hours a go virtual machines have disappeared and calls now fail, and coincided with new E series v5s being added.

Example: invoke-restmethod "https://prices.azure.com/api/retail/prices?`$filter=serviceName eq 'Virtual Machines'" - this returns just E series v5 for all regions and no other virtual machines sizes.

It almost feels like the new size has been loaded in and everything else has been dropped?

Please can someone check this?

azure-virtual-machinesazure-cost-management
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello, @97kirkc

I know that there was an update yesterday. I'm going to investigate this and give you an update when I have more to share.

1 Vote 1 ·

Thank you - this is quite a big issue for us and our customers. I have checked our logs and we ran lookups yesterday at around 9pm UK time. serviceName eq 'Virtual Machine' returned all VMs in Azure available for regions we use, as well as differing consumption costs, reservations etc. This reran automatically this morning at 10am UK time and all calls failed or were null.

Edit this also seems to be the case for other serviceName entries - virtual networks for example now only returns 'Public IP Prefix' where yesterday it returned dynamic IP, static IP, vnet related costs etc.


0 Votes 0 ·

@97kirkc, happy to get to the bottom of this. I'm seeing what you are seeing and am reaching out to the product group to see what is causing this.

1 Vote 1 ·

@97kirkc, we're still actively investigating this. I'm going to reach out to you directly for some additional information.

0 Votes 0 ·

1 Answer

kobulloc-MSFT avatar image
0 Votes"
kobulloc-MSFT answered

Functionality has been restored this morning and I'm reaching out to the product group to work on improving our API update process to improve the update experience moving forward.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.