azure - 应用程序见解 REST API : Invalid application Id

标签 azure

即使应用程序 ID 正确,我也收到无效的应用程序 ID。在这里测试https://dev.applicationinsights.io/apiexplorer/metrics?appId=DEMO_APP&apiKey=DEMO_KEY&metricId=requests%2Fcount&timespan=P1D

应用 ID 已在 Microsoft.onmicrosoft.com 租户上注册。我将 appId(我的应用程序)和 apiKey(App Insights Api Key)替换为我自己的

最佳答案

这有点晚了,但我今天也遇到了同样的问题。

问题是您使用了错误的应用程序 ID。您需要来自 API 访问页面的应用程序 ID(见下文)。

ID 不是您的 Application Insights 资源名称。

enter image description here

关于azure - 应用程序见解 REST API : Invalid application Id,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41967258/

相关文章:

c# - 控制第三方API消耗的解决方案

sql-server - Sql Server JSON 结果分为多行

javascript - Azure 服务总线计划消息 "in"绑定(bind)未定义

azure - 在 ADF 中参数化 Azure Blob 存储链接服务

python - 如何在azure中使用python创建documentdb帐户?

.net - 新遗迹在运行时更改应用程序名称.NET

azure - Azure 网站上的 .NET CORE 3.1 : 500. 37 ANCM 无法在启动时间限制内启动

Azure函数: "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information"

azure - Azure 上 Windows Server 2012 R2 数据中心 VM 上适用于 SQL Server 2014 的 Terraform 脚本

azure - SQL Azure 服务器作为计费单位