Which field is the Recommendation Rule coming from on the Rightsizing Advisor page

51621659 1 Reputation point
2025-12-26T21:41:51.07+00:00

Please provide the Advisor table and related field name in Resource Graph Explorer for the Recommendation rule that is displayed on the Advisor Right-size or shutdown underutilized virtual machines page.

Right Size Recommendation Rule field.png

Thank you,

Azure Advisor
Azure Advisor
An Azure personalized recommendation engine that helps users follow best practices to optimize Azure deployments.
{count} votes

1 answer

Sort by: Most helpful
  1. Bharath Y P 3,620 Reputation points Microsoft External Staff Moderator
    2025-12-26T22:37:44.24+00:00

    Hello 51621659, You looking for the Azure Advisor recommendation rule for Right-size or shutdown underutilized virtual machines (specifically when CPU utilization < 20%) and how this is represented in Azure Resource Graph Explorer. You want to know the table name and the related field names that capture this recommendation.

    The Azure Advisor recommendation for CPU Utilization < 20% is stored in the advisorresources table in Azure Resource Graph. The CPU threshold and average utilization values are not first‑class columns; instead, they are embedded within properties.extendedProperties of the recommendation record.You can filter for Cost recommendations related to underutilized VMs

    advisorresources
    | where type == "microsoft.advisor/recommendations"
    | where properties.category == "Cost"
    | where properties.shortDescription.problem has "underutilized"
    
    

    Locate the CPU rule inside extendedProperties for example Average CPU usage in properties.extendedProperties.avgCpuPercentage

    The query you can try like below:

    advisorresources
    | where type == "microsoft.advisor/recommendations"
    | where properties.category == "Cost"
    | where tostring(properties.impactedField) == "Microsoft.Compute/virtualMachines"
    | where properties.shortDescription.problem has "underutilized"
    | project
        id,
        name,
        problem = properties.shortDescription.problem,
        solution = properties.shortDescription.solution,
        resourceId = properties.resourceMetadata.resourceId,
        avgCpu = properties.extendedProperties.avgCpuPercentage,
        cpuThreshold = properties.extendedProperties.cpuThreshold,    
        extendedProperties = properties.extendedProperties
    

    Reduce service costs using Azure Advisor - Azure Advisor | Microsoft Learn

    Hope this helps, please do let us know if you have any questions, Thanks

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.