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

我想获得JSON数据作为解释在restAPI文档https://dev.applicationinsights.io/documentation/overview

customEvents | where customDimensions.teamId == '8bcb0466-8227-4de4-b001-b70381b9cd04' 

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

我想在节点js中执行它,但是没有find相同的sdk。

对于AD身份validation,我使用了assport-azure-ad库。