【问题标题】:Access Time Series Insights Gen2 from Azure App Service从 Azure 应用服务访问时序见解 Gen2
【发布时间】:2021-03-01 16:12:48
【问题描述】:

通过获取 Azure Active Directory 中的应用程序的访问令牌来处理对时间序列见解的访问,该应用程序根据the documentation 被授予对时间序列见解的访问权限。

在我的应用程序在 Azure App Service 中运行的场景中,是否可以跳过在 AD 中创建应用程序的步骤并使用 App Service 的托管标识以这种方式访问​​时序见解?在这种情况下如何获取 Access Token?

【问题讨论】:

    标签: azure-web-app-service azure-managed-identity azure-timeseries-insights


    【解决方案1】:

    是的,您绝对可以这样做。在这种情况下,你将遵循 Azure AD 指南,了解如何获取资源令牌作为 MSI。请参阅文档here。资源将是 https://api.timeseries.azure.com/ 并且需要可选属性之一。请注意,您还必须首先为您的 TSI 环境授予 MSI 读者或贡献者角色。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-08-24
      • 1970-01-01
      • 2020-07-21
      • 2019-09-10
      • 1970-01-01
      • 2016-08-23
      • 2017-09-24
      • 2016-06-11
      相关资源
      最近更新 更多