Azure / Azure/azure-powershell
Get-AzConsumptionUsageDetail to include [Product] values for all sub/offer types
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 54
Description
It appears that the [Product] field within the payload returned from Get-AzConsumptionUsageDetail is NULL for, all of my Azure subs of various offer-types. Note, I'm Role=Owner on all our Subs and I still don't get the Product data (though I get all other Billing details, just fine).
I'm currently using Az.Billing 2.0, but I've tried 4.0.2-Preview as well - same result. [Product] always NULL.
I've never found a blog/doc that explains why this is the case. Billing account type? Wrong offer type? Not billing admin? Not clear. Bug? Feature? Hidden for a reason for some callers?
REQUEST: Include [Product] data in the Get-AzConsumptionUsageDetail return-set for any scope*
Contributor guide
Research direction
Start with the Get-AzConsumptionUsageDetail cmdlet and compare its returned payload across the Azure subscription and offer types described in the report. Check whether Product is absent from the underlying response or lost by the cmdlet, and verify the documented permissions and billing-scope behavior; done means establishing the cause and defining the expected Product result for each supported scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, powershell
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100