Share via

Azure Stack Usage Trouble

Ray 1 Reputation point
2021-03-15T09:34:24.843+00:00

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
Azure Stack Hub

An extension of Azure for running apps in an on-premises environment and delivering Azure services in a datacenter.

0 comments No comments

1 answer

Sort by: Most helpful
  1. TravisCragg-MSFT 5,701 Reputation points Microsoft Employee Moderator
    2021-03-23T02:02:54.477+00:00

    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.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.