适用于媒体的 Azure 视频分析器 - ARM_ACCOUNT_MUST_BE_MANAGED_BY_ARM
我已按照本教程创建无限帐户: 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请参阅其中的示例,了解如何为 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)
您应该使用 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.