Skip to content

Azure Advisor - VM/VMSS Resize/Rightsize recommendations - inconsistent pricing between portal and CLI/CSV and PDF formats #31538

@bemahone

Description

@bemahone

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    AdvisorAuto-AssignAuto assign by botService AttentionThis issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions