Skip to content

"Get-AzureRmConsumptionUsageDetail" does not return the values of 'Tags' anymore #8876

@inazir

Description

@inazir

Get-AzureRmConsumptionUsageDetail module does not return the values of Tags anymore. The corresponding az consumption usage list also does not return the Tags values anymore. We know it was listing all the tags and also deployed a script in our test environment with this command. Now, we wanted to deploy that in our production environment and noticed it's not working anymore. We find only the Tags key, but not the values.

Steps to reproduce

> Get-AzureRmConsumptionUsageDetail  

Expected behavior

...
        "SubscriptionGuid":  "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx",
        "SubscriptionName":  "Nutzungsbasierte Bezahlung",
        "Tags":  {key, value},
        "Type":  "Microsoft.Consumption/usageDetails",
...

Actual behavior

...
        "SubscriptionGuid":  "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx",
        "SubscriptionName":  "Nutzungsbasierte Bezahlung",
        "Tags":  null,
        "Type":  "Microsoft.Consumption/usageDetails",
...

Environment data

> $PSVersionTable
Name                           Value                                                                                                 
----                           -----                                                                                                 
PSVersion                      5.1.17134.590                                                                                         
PSEdition                      Desktop                                                                                               
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                               
BuildVersion                   10.0.17134.590                                                                                        
CLRVersion                     4.0.30319.42000                                                                                       
WSManStackVersion              3.0                                                                                                   
PSRemotingProtocolVersion      2.3                                                                                                   
SerializationVersion           1.1.0.1  

Metadata

Metadata

Assignees

Labels

Service AttentionThis issue is responsible by Azure service team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions