适用于媒体的 Azure 视频分析器 - ARM_ACCOUNT_MUST_BE_MANAGED_BY_ARM

发布于 2025-01-12 15:44:22 字数 969 浏览 5 评论 0原文

我已按照本教程创建无限帐户: https://learn.microsoft.com/es-es/azure/azure-video-analyzer/video-analyzer-for-media-docs/create-video-analyzer-for-media-account

现在,我的 Azure 门户中有 4 个新资源:

  • 用于媒体的托管身份
  • 媒体服务
  • 存储帐户
  • 视频分析器

然后,我在此页面中创建了一个新订阅: https://api-portal.videoindexer.ai/product#product=authorization

一切似乎没问题,但是当我尝试调用 API 来获取帐户访问令牌时,出现此错误:

{
    "ErrorType": "ARM_ACCOUNT_MUST_BE_MANAGED_BY_ARM",
    "Message": "You can only use the ARM management API for management calls on accounts created on ARM. <a href=\"https://aka.ms/avam-arm-docs\">Learn more</a>. Trace id: 'c99f6cd7-8577-4f3f-b7b8-58a504e60b7d'."
}

知道吗?

I have followed this tutorial to create an unlimited account: https://learn.microsoft.com/es-es/azure/azure-video-analyzer/video-analyzer-for-media-docs/create-video-analyzer-for-media-account

Now, I have 4 new resources in my Azure Portal:

  • Managed Identity
  • Media Service
  • Storage Account
  • Video Analyzer for Media

Then, I created a new subscription in this page: https://api-portal.videoindexer.ai/product#product=authorization

Everything seems to be ok, but when I try to call the API to get an Account Access Token I get this error:

{
    "ErrorType": "ARM_ACCOUNT_MUST_BE_MANAGED_BY_ARM",
    "Message": "You can only use the ARM management API for management calls on accounts created on ARM. <a href=\"https://aka.ms/avam-arm-docs\">Learn more</a>. Trace id: 'c99f6cd7-8577-4f3f-b7b8-58a504e60b7d'."
}

Any idea?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

马蹄踏│碎落叶 2025-01-19 15:44:22

请参阅其中的示例,了解如何为 AVAM ARM 帐户生成访问令牌:
https://github.com/Azure- Samples/media-services-video-indexer/tree/master/ApiUsage/ArmBased

(查看 Program.cs)

Please see sample in there how to generate access token for AVAM ARM account:
https://github.com/Azure-Samples/media-services-video-indexer/tree/master/ApiUsage/ArmBased

(look at Program.cs)

陌伤浅笑 2025-01-19 15:44:22

您应该使用 ARM API 来获取您帐户的访问令牌。
请看这里:
https://learn.microsoft.com/en-us/azure/azure-video-analyzer/video-analyzer-for-media-docs/create-video-analyzer-for-media-account#management-api
您可以通过您的资源使用 Azure 门户生成访问令牌。

如果您还有任何疑问,请告诉我。

You should use ARM APIs in order to get access token for you account.
Please see here:
https://learn.microsoft.com/en-us/azure/azure-video-analyzer/video-analyzer-for-media-docs/create-video-analyzer-for-media-account#management-api
You can generate access token using Azure Portal thorugh your resources.

If you have any further question please let me know.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文