Cost Management Rest Api possible bug

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

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
An Azure service that provides cloud cost management capabilities.
970 questions
{count} votes