Dependency Agent and VM Insights Map - EOL

Muthusamy, Reegan 45 Reputation points
2026-06-04T15:46:25.9566667+00:00

We have Azure workbook retirement recommendation for Dependency Agent and VM Insights Map on azure virtual machines. As we analyzed there is no agents exists on the listed azure virtual machine. how to remediate this EOL recommendations

Azure Advisor
Azure Advisor

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


2 answers

Sort by: Most helpful
  1. Suchitra Suregaunkar 15,385 Reputation points Microsoft External Staff Moderator
    2026-06-05T20:12:48.7866667+00:00

    Hello @Muthusamy, Reegan

    Thank you for reaching out.

    Since you've confirmed that the Dependency Agent is not currently installed on the listed VMs, the retirement recommendation is most likely appearing because of residual VM Insights configuration such as a Data Collection Rule (DCR) that still has the "Processes and dependencies (Map)" option enabled, or an Azure Policy assignment that references the Dependency Agent. Even without the agent binaries, these configurations can trigger the recommendation.

    Here's how to remediate this:

    1. Verify no Dependency Agent extension exists

    You can confirm across all your VMs at once using this Azure Resource Graph query in Resource Graph Explorer:

    Resources
    | where type in (
        'microsoft.compute/virtualmachines/extensions',
        'microsoft.hybridcompute/machines/extensions',
        'microsoft.connectedvmwarevsphere/virtualmachines/extensions')
    | where 'Microsoft.Azure.Monitoring.DependencyAgent' == properties.publisher
    | project subscriptionId, resourceGroup, name
    

    If your VMs don't appear here, the agent is confirmed not installed.

    2. Check and update VM Insights Data Collection Rules (DCRs)

    Go to Azure Monitor → Data Collection Rules and look for DCRs prefixed with MSVMI- (auto-created by VM Insights). If any of these DCRs have the "Processes and dependencies (Map)" data source enabled, either remove the DCR association from the affected VMs or recreate the DCR without the Map option. This is the most common reason the recommendation persists even when the agent isn't installed.

    3. Review and update Azure Policy assignments

    If you used Azure Policy initiatives like "Enable Azure Monitor for VMs with Azure Monitoring Agent (AMA)" to onboard VM Insights, check the enableProcessesAndDependencies parameter. Set it to false to prevent compliance issues or unintended reinstallation of the Dependency Agent. You may also need to run a remediation task after updating the policy.

    4. Clean up related alert rules (if any)

    If you have alert rules referencing the VMComputer, VMProcess, VMConnection, or VMBoundPort tables, review and update or remove them, as these tables are tied to the Map feature being retired.

    Once you complete the above steps, the recommendation should clear after the next Advisor evaluation cycle.

    Note: VM Insights itself is not being retired, only the Map feature and the Dependency Agent component. Performance monitoring with Azure Monitor Agent continues to work as expected.

    Official Microsoft documentation for reference:

    Hope this helps. Please let us know if you have any further questions.

    Thanks,

    Suchitra.

    Was this answer helpful?


  2. AI answer

    2026-06-04T15:46:44.2166667+00:00

    Azure Advisor is flagging the “Migrate from Dependency Agent and VM Insights Map” recommendation because the virtual machines are (or were) configured to use the VM Insights Map feature, not necessarily because the binaries are still present.

    To remediate the EOL recommendation when no Dependency Agent is currently installed on the listed VMs, perform these actions:

    1. Verify that Dependency Agent is not installed
      • Use the guidance in the retirement article to query for VMs that actually have Dependency Agent installed. The referenced query (run in Resource Graph Explorer) lists all cloud and Arc-connected VMs with Dependency Agent.
      • If the listed VMs do not appear in this query, they are not currently using Dependency Agent.
    2. Remove any remaining VM Insights Map configuration
      • Check whether any VM insights Data Collection Rules (DCRs) are configured to collect process and dependency data for these VMs. If so, update the DCRs to stop collecting data for the Map feature.
      • If Azure Policy initiatives are used to enable VM insights with process/dependency collection, update or remove those policy assignments so they no longer attempt to deploy the Dependency Agent.
    3. Offboard from VM Insights Map
      • Follow the retirement guidance to offboard from the Map feature entirely. This includes:
        • Ensuring Dependency Agent is uninstalled where present.
        • Ensuring no new VMs are onboarded to the Map feature.
      • Existing data in VMComputer, VMProcess, VMConnection, VMBoundPort, and InsightsMetrics remains in Log Analytics and is retained per workspace retention settings; no action is required for historical data.
    4. Accept the Advisor recommendation once offboarding is complete
      • After confirming that:
        • Dependency Agent is not installed on the affected VMs,
        • No policies/DCRs are configured to deploy or use the Map feature, the environment is effectively remediated for this EOL. Azure Advisor may continue to show the recommendation for some time, but from a technical standpoint the risk is mitigated because the feature is no longer in use.

    If continued process/dependency visibility is required, adopt a replacement solution from Azure Marketplace as suggested in the retirement guidance.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was 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.