An Azure personalized recommendation engine that helps users follow best practices to optimize Azure deployments.
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:
- 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.
- 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.
- 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, andInsightsMetricsremains in Log Analytics and is retained per workspace retention settings; no action is required for historical data.
- Follow the retirement guidance to offboard from the Map feature entirely. This includes:
- 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.
- After confirming that:
If continued process/dependency visibility is required, adopt a replacement solution from Azure Marketplace as suggested in the retirement guidance.
References:
- VM Insights Map and Dependency Agent retirement guidance
- Dependency Agent in Azure Monitor VM insights
- Remove Dependency Agent from Azure Virtual Machines and Virtual Machine Scale Sets
- Enable VM insights using Azure Policy
- Use the Map feature of VM insights to understand application components
- Reliability recommendations