无法在 Azure 中显示 App Service 的 App Insights - 无法读取 属性 'id' of null

Cannot display AppInsights of AppService in Azure - Cannot read property 'id' of null

当我尝试在 Azure 中显示应用服务的 AppInsights 时,出现此错误 "Cannot read property 'id' of null"。我试过 Chrome 和 Edge.

如有任何建议,我将不胜感激。谢谢。

我想您有一个 windows 网络应用程序。默认情况下,当您创建 Windows 个 Web 应用程序时,您会在 Web 应用程序中获得许多配置

我的最佳猜测是缺少一个或多个 tehse 值,因此当您尝试浏览到您的 application insights 帐户时找不到该 ID。

我建议您尝试重新创建 Web 应用,启用 Application Insights 并检查创建了哪些配置值。然后尝试复制它们。

一个可能的原因是 Application insights 实例已被删除(或者它可能已关闭)。请检查它是否仍然存在。

我可以在删除应用程序洞察实例后重现此问题。在此处添加屏幕截图: