我挣扎了好几天,试图连接到ARM Azure视频索引器API。我跟踪了这个官方指南中的所有步骤,最后得到了一个Azure视频索引器资源。在此之后,我生成了一个"Contributor"/"Account“令牌来上传视频(如解释的这里),得到以下内容:
请求:
curl --request POST \
--url 'https://api.videoindexer.ai/francecentral/Accounts/1ab75b03-5b0a-43be-885c-e19a96eb12f9/Videos?videoUrl=https%3A%2F%2Fdevweenaudioextract.blob.core.windows.**************2022-04-01_11-36-57_Segment.mp4&=&name=test&language=fr-FR&privacy=Private&priority=Low&indexingPreset=AudioOnly' \
--header 'Authorization: Bearer eyJhbGciOi*************************nfc'答复:
{
"ErrorType": "AMS_AAD_APPLICATION_NOT_IN_TENANT",
"Message": "Cannot connect to resource '/subscriptions/665eef5b-7230-43ad-9ec5-4afc5cd0a0e5/resourceGroups/ween-global/providers/Microsoft.Media/mediaservices/weenmediaservices' due to issue with AAD application 'f50b242c-c20f-4c50-8614-777fd3353784' that should have permissions to it. The AAD application wasn't found in the directory/tenant '72f988bf-86f1-41af-91ab-2d7cd011db47'. Trace id: '77f25c89-3796-43a9-9525-f7cda74d3b8d'."
}我不知道他们所说的'f50b242c-c20f-4c50-8614-777fd3353784‘应用程序是什么。我试过很多东西,但现在我被困在这.如果有人有主意的话,这会对我很有帮助的!
发布于 2022-06-23 17:23:12
Azure视频索引小组正在致力于缓解这一问题,同时我可以建议您使用用户指定的管理标识。
该问题似乎仅与分配给托管标识的系统有关。
伊泰,
产品经理@Azure视频索引
https://stackoverflow.com/questions/72732636
复制相似问题