Azure Advisor - VM/VMSS Resize/Rightsize recommendations - inconsistent pricing between portal and CLI/CSV and PDF formats
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### Describe the bug
The Azure Advisor "Right-size or shutdown underutilized virtual machines" recommendation shows "Potential yearly savings based on discounted pricing" (in the Azure portal UI). However, the json output from `az advisor recommendation list --category cost -o json` or the "Download as CSV" and the "Download as PDF" options show retail savings instead of discounted pricing. This leads to a confusing user experience when attempting to investigate resize recommendations. Both the discounted and retail pricing values should be showed in all interfaces/methods of data extraction.
### Related command
`az advisor recommendation list --category cost -o json`
### Errors
N/A
### Issue script & Debug output
N/A
### Expected behavior
Both the discounted and retail pricing values should be showed in all interfaces/methods of data extraction (including the json output).
### Environment Summary
$ az --version
azure-cli 2.73.0
core 2.73.0
telemetry 1.1.0
Extensions:
bastion 1.3.1
costmanagement 1.0.0
ssh 2.0.6
Dependencies:
msal 1.32.3
azure-mgmt-resource 23.3.0
### Additional context
Microsoft Support TrackingID#2505140040013273 was opened regarding this issue. Investigation confirmed this is a known issue.
Azure feedback submission regarding this issue:
https://feedback.azure.com/d365community/idea/2dfc4995-2e37-f011-a2d9-7c1e5243a09b
Contributor guide
Assessment
This issue has not been assessed yet.