Azure:创建服务原则时如何修复此错误?
我是新人对azure。我正在关注一个多元化教程,以学习如何使用C#编程访问Azure媒体服务,这告诉我创建服务原理。
我正在Visual Studio开发人员PowerShell中使用此命令:
az ams account sp create -a mymediaservice -g mymediaservice --subscription MY_SUBSCRIPTION_NAME
是的,我的资源组名称与我的媒体服务名称匹配。与教程不同的是,我必须将订阅名称添加到命令中,因为默认订阅与我要使用的订阅不匹配。
我会遇到此错误:
Values of identifierUris property must use a verified domain of the organization or its subdomain: 'http://mymediaservice-access-sp'
任何人都可以简化的方式解释这一点,告诉我一步一步如何完成此操作?
I'm new-ish to Azure. I'm following along with a Pluralsight tutorial to learn how to programmatically access an Azure Media Service with c#, and it's telling me to create a Service Principle.
I'm using this command in Visual Studio Developer Powershell:
az ams account sp create -a mymediaservice -g mymediaservice --subscription MY_SUBSCRIPTION_NAME
Yes, my resource group name matches my media service name. Different from the tutorial, I had to add the subscription name to the command, because the default subscription didn't match the subscription I'm trying to work in.
I get this error:
Values of identifierUris property must use a verified domain of the organization or its subdomain: 'http://mymediaservice-access-sp'
Can anyone explain this in a simplified way, telling me step by step how to get this done?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果运行旧版本的 Azure Cli,则可能会发生这种情况。一周前我遇到了同样的问题,并通过使用以下命令更新 cli 来解决它:
This can happen if you run an older version of the Azure Cli. I had the same problem a week ago and managed to solve it by updating the cli using this command: