Azure / Azure/azure-powershell

When I request cost recommendations on VM right-sizing using get-azadvisorrecommendation no savings values are returned

Open
#16,024 6 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Advisor customer-reported question Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

When using the Azure portal, VM Right-sizing advice shows the potential savings for each recommendation. However, requesting the same data using the Powershell cmdlet doesn't show annual savings potential amounts. there is the extendedProperties object, but that only shows the machine resize details, not the cost savings.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 63717818-fb94-62bf-b968-79cc2aa2d3a9
* Version Independent ID: 4676b8b1-2ef3-762c-c8c1-7a882428d54e
* Content: [Get-AzAdvisorRecommendation (Az.Advisor)](https://docs.microsoft.com/en-us/powershell/module/az.advisor/get-azadvisorrecommendation?view=azps-6.4.0)
* Content Source: [src/Advisor/Advisor/help/Get-AzAdvisorRecommendation.md](https://github.com/Azure/azure-powershell/blob/main/src/Advisor/Advisor/help/Get-AzAdvisorRecommendation.md)
* Service: **azure-powershell**
* GitHub Login: @dcaro
* Microsoft Alias: **dcaro**

Contributor guide

Open the contributing guide

Research direction

Start with src/Advisor/Advisor/help/Get-AzAdvisorRecommendation.md and reproduce the VM right-sizing query described in the issue. Compare the cmdlet response, including extendedProperties, with the Azure portal's savings information and trace whether the missing annual savings come from the cmdlet or its service response. Done means the savings values are returned or the limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.