question

Ray-3589 avatar image
0 Votes"
Ray-3589 asked TravisCragg-MSFT answered

Azure Stack Usage Trouble

Hi
I am trying to use API subscriberUsageAggregates. I got the results, but when i compared with the invoice there are some different.

This is my code
"https://armendpoint/subscriptions/subs//providers/Microsoft.Commerce.Admin/subscriberUsageAggregates?reportedStartTime=2021-01-01T00%3a00%3a00%2b00%3a00&reportedEndTime=2021-01-31T00%3a00%3a00%2b00%3a00&aggregationGranularity=Daily&api-version=2015-06-01-preview&subscriberId=sub1"

am i missing something?

azure-stack-hub
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.

1 Answer

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

That command looks correct to query the Provider Usage API, so it should be giving you the provider info (not be confused with the Tenant Usage API).

If you are including all Subscriptions (you will need to call for each one individually) and still seeing a difference your best bet is to create a support request so a detailed breakdown of the differences can be done.


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.