如何使用Azure API格式执行查询:用户身份验证

Nav*_*arg 6 active-directory azure node.js azure-application-insights

我想在休息api doc https://dev.applicationinsights.io/documentation/overview中获取json数据作为解释

customEvents | where customDimensions.teamId == '8bcb0466-8227-4de4-b001-b70381b9cd04'
Run Code Online (Sandbox Code Playgroud)

由于其他api限制为每分钟15次呼叫和每天1500次,因为文档https://dev.applicationinsights.io/documentation/Authorization/Rate-limits表示使用Azure API和Azure Active Directory但没有可用的示例那.

我想在节点js中这样做,但没有找到相同的sdk.

对于AD身份验证,我使用了assport-azure-ad库.