Share via

Différences de recommandations dans Azure Advisor

Pierre-Louis Labbé 20 Reputation points
2026-04-20T08:33:34.83+00:00

Hello,

I'm currently implementing automation using Azure Advisor and its API.

Analyzing the results, I noticed that the recommendations obtained when querying the API are the same ones found in the Azure portal by going to the "Recommendations" tab of a resource.

However, when I go to the general Azure Advisor portal, additional recommendations are displayed for resources that weren't listed either in their Recommendations tab in Azure or via the API call.

This can be illustrated with an example from my environment.

The screenshot below shows a cost recommendation that appears in Azure Advisor.

User's image

However, when we go to the Recommendations tab of our aza VM, the recommendation does not appear.User's image

In this context, how can this difference be explained and which source of information is more reliable, the Recommendations tab of the resource or the Advisor portal?

Azure Advisor
Azure Advisor

An Azure personalized recommendation engine that helps users follow best practices to optimize Azure deployments.

0 comments No comments

Answer accepted by question author

  1. Q&A Assist
    2026-04-20T08:33:57.5533333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Azure Advisor is the single recommendation engine, but its views are scoped differently, which explains the behavior.

    Key points from the product behavior described in the documentation:

    1. Advisor works at subscription scope
      • The Advisor dashboard aggregates and shows personalized recommendations for all subscriptions and all supported resource types in one place, grouped by categories such as Cost, Reliability, Performance, Security, and Operational excellence.
      • Filters on the Advisor dashboard (subscription, resource type, category) control what is visible there, independently of what each individual resource blade shows.
    2. Resource “Recommendations” tabs are scoped to that specific resource
      • When opening the Recommendations tab on a VM (or any other resource), only recommendations that Advisor associates directly with that resource are shown.
      • Some Advisor recommendations are subscription‑level, resource‑group‑level, or cross‑resource (for example, a recommendation that compares usage across multiple VMs, or that comes from another service such as Microsoft Defender for Cloud). These can appear in the Advisor dashboard but not on an individual VM’s Recommendations tab.
    3. Different surfaces can expose different subsets
      • The documentation explicitly notes that not all recommendations for a service are surfaced in every UI surface. For example, Azure Cosmos DB recommendations can appear either in the service pane or in Advisor, and “not all recommendations shown in the Azure Cosmos DB pane are available in the Azure Advisor and vice versa.” The same pattern applies more broadly: some recommendations are only visible in Advisor, some only on the resource blade, and some in both.
    4. Reliability of the sources
      • Both the Advisor portal and the resource’s Recommendations tab read from the same underlying recommendation engine; neither is “more correct.”
      • For automation and complete coverage, the Advisor API and the Advisor dashboard are the authoritative sources because they operate at subscription scope and include cross‑resource and subscription‑level recommendations that a single resource blade cannot show.
      • The resource’s Recommendations tab is best viewed as a convenience view focused on that one resource, not as a complete list of everything Advisor knows about that resource’s environment.

    In practice, for automation and reporting, rely on the Azure Advisor API (and validate against the Advisor dashboard). Use the resource‑level Recommendations tab only for quick, per‑resource troubleshooting.


    References:

1 additional answer

Sort by: Most helpful
  1. Siva shunmugam Nadessin 9,625 Reputation points Microsoft External Staff Moderator
    2026-04-20T17:09:57.4233333+00:00

    Hello Pierre-Louis Labbé,

    Thank you for reaching out to the Microsoft Q&A forum. 

    When investigated the discrepancy you’re seeing boils down to scope and category filtering in Azure Advisor:

    1. Scope of where you’re looking
      • When you browse to a VM’s Recommendations tab in the Azure portal, it only surfaces the four non-cost categories (Reliability, Security, Performance, Operational Excellence) for that single resource.
      • Cost-related recommendations, however, live in the Costs tab of the main Azure Advisor blade (or under Cost Management + Billing → Advisor recommendations), and at subscription or resource-group scope—not in the per-resource Recommendations pane.
    2. What the API returns
      • If you call the Advisor API at the subscription (or resource-group) level and include the Cost category (or don’t filter it out), you’ll see those VM-resize cost-optimization suggestions—exactly what shows up in the Advisor main blade.
      • If you query the API scoped at the VM resource or you’re only pulling back the default categories, the cost recommendations won’t appear.

    Which to trust?

    • If you need cost recommendations, go to the Advisor main blade → Costs tab or call the Advisor API at subscription/resource-group scope and include Cost in your filters.

    • If you want the resource-specific reliability/security/performance/ops-excellence recs, the VM’s own Recommendations tab (or an API call scoped to that VM) is what you’d use.

    Hope that clears it up!

    Reference docs

    1. How to access cost recommendations https://docs.microsoft.com/azure/advisor/advisor-cost-recommendations
    2. Advisor recommendations issues – cost recommendations https://docs.microsoft.com/azure/advisor/advisor-cost-recommendations#prerequisites
    3. Introduction to Azure Advisor (scope & categories) https://docs.microsoft.com/azure/advisor/advisor-overview
    1 person found this answer helpful.

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.