Cost Management Rest Api possible bug

Shirel Menahem 1 Reputation point
2021-05-05T12:58:02.93+00:00

Hi,

I'm using Cost Management API version "2019-11-01" to get aggregated costs based on a subscription scope query with the following definition:
type: ActualCost
dataSet:
aggregation: {"TotalCost": "PreTaxCost"},
filter: some kind of filtering tag
granularity: daily
grouping: resource group and two more tags

When running this query, the response isn't returned properly.
Rows grouped by one of the tags (let's call it tag1) don't have a tag value ("TagValue" is null),
while rows grouped by the second tag (tag2) do have it.

When I tried to run the same query again but this time grouping only by resource group and tag1, the response is returned just fine and the tag value is returned.

Seems like a bug to me.

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,692 questions
{count} votes

Your answer

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