Cost Management Rest Api possible bug

Shirel Menahem 1 Reputation point


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
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,115 questions
{count} votes