You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Azure Windows虚拟机配置Azure Insights时DependencyAgentWindows扩展安装失败排查求助

Azure Windows虚拟机配置Azure Insights时DependencyAgentWindows扩展安装失败排查求助

大家好,我现在碰到个头疼的问题:我正在给一台Azure上的Windows虚拟机配置Log Analytics代理,用来启用Insights功能,但部署监控配置的时候,DependencyAgentWindows虚拟机扩展总是安装失败。另一台配置差不多的虚拟机完全正常,实在摸不清这台出问题的机器到底哪里不对。

下面是我收到的完整错误详情:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":"code":"VMExtensionHandlerNonTransientError","message":"The handler for VM extension type 'Microsoft.Azure.Monitoring.DependencyAgent.DependencyAgentWindows' has reported terminal failure for VM extension 'DependencyAgentWindows' with error message: 'Install failed for plugin (name: Microsoft.Azure.Monitoring.DependencyAgent.DependencyAgentWindows, version 9.10.16.22650) with exception Command C:\Packages\Plugins\Microsoft.Azure.Monitoring.DependencyAgent.DependencyAgentWindows\9.10.16.22650\scripts\RunPs1.cmd of Microsoft.Azure.Monitoring.DependencyAgent.DependencyAgentWindows has exited with Exit code: 52'.\r\n \r\n'Install handler failed for the extension. More information on troubleshooting is available at https://aka.ms/VMExtensionDependencyAgentWindowsTroubleshoot'"}]}

我已经试过两种部署方式了:一是通过Azure门户直接配置监控并安装扩展,二是用PowerShell脚本部署,但结果都是一样的失败。我的预期是DependencyAgentWindows扩展能正常安装,顺利启用Insights功能。有没有大佬遇到过类似的问题,或者能给一些排查方向的建议?

备注:内容来源于stack exchange,提问作者Henry Faulkner

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.23 12:49:33