question

andyinv avatar image
0 Votes"
andyinv asked SadiqhAhmed-MSFT commented

Azure Pricing Calculator - JWT token doesn't update, expires every hour, have to log in again

So, I wondered why I have to keep logging into the Azure Pricing Calculator, every hour, whether I'm using it or not.

Tried Chrome (no extensions) and Edge - same behaviour on both.

What seems to be happening is when you log on, you receive a jwt token with an expiry of 1hr. But no actions you take on that page refresh the token, it stays with that expiry time. I tried this testing with developer tools, 15 seconds before token expired, I added a VM to my price list, waited a few seconds.... "you have to log in to continue using the tool".

Surely any postback that the customer does to the page should refresh the token? Why so aggressive with the 1 hour timeout?

Despite what the tags are trying to coral me into, this isn't a lab-services thing.

azure-cost-management
· 3
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.

@AndrewWilliamson-1240 Thank you for reaching out!

Like most cloud providers, Microsoft Azure offers Billing Rate Card API's to fetch pricing information. IMO, the same API's are used by Azure pricing calculator. AFAIK, Azure Active Directory is used behind the scene as authentication mechanism and am not sure if the token lifetime is set by design or it is configurable. I recommend you to reach out to Azure billing team by raising a support to get detailed information on Azure pricing calculator and the token lifetime.

Here is the link - https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request to create support case.

0 Votes 0 ·

Surely shouldn't need to create a support case for a forward-facing web app that just gives costs out?

What if I don't have an Azure contract? What if I'm just an interested buyer who's frustrated at this apparently broken website?

0 Votes 0 ·

@AndrewWilliamson-1240 - I understand your concern. However, billing support is provided without a support contract (free). For a new buyer/Azure user we have pre-sales team to assist with any concerns.




0 Votes 0 ·

0 Answers