azure billing rate card api returns noting

332 views Asked by At

I am trying to call the Azure billing rate card api. The call is happening successfully after the authentication because the status code is OK. But though I have a vm in the corresponding resource group and subscription, always getting response as:

{"value":[]}

Same is happening in case of azure billing usage api. I had seen one question asked for billing usage api but I have tried all the options mentioned like keep the duration for 3 months, don’t keep future date etc, yet there is no response”:

{"value":[], nextLink:”https://….”}

Please let me know the issue could be abd because of which both rate card and usage api are not returning right data.

Thanks

1

There are 1 answers

0
Jean On

You were right, I had the same problem and i resolved it on giving 'reader' persmission on my servie account in my subscription .

Thx a lot !