错误:New-AzureRmADServicePrincipal -ApplicationId 205478c0-bd83-4e1b-a9d6-db63a3e1e1c8 [英] Error : New-AzureRmADServicePrincipal -ApplicationId 205478c0-bd83-4e1b-a9d6-db63a3e1e1c8

查看:100
本文介绍了错误:New-AzureRmADServicePrincipal -ApplicationId 205478c0-bd83-4e1b-a9d6-db63a3e1e1c8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用自己的证书在azure CDN自定义域上配置HTTPS。为此,我使用本教程:https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/cdn/cdn-custom-ssl.md ...

但是,当我执行这个命令行:  New-AzureRmADServicePrincipal -ApplicationId" 205478c0-bd83-4e1b-a9d6-db63a3e1e1c8",我有这样的错误:
$
New-AzureRmADServicePrincipal:验证主体没有实例化的许可权b
多租户应用程序并且请求租户中没有匹配的应用程序。

AucacaractèreLigne:1:1

+ New-AzureRmADServicePrincipal -ApplicationId" 205478c0-bd83-4e1b- a9d6 ...
$
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          :InvalidOperation:(:) [New-AzureRmADServicePrincipal],异常

    + FullyQualifiedErrorId:http://Microsoft.Azure .Commands.ActiveDirectory.NewAzureADServicePrincipalCommand

I would like to configure HTTPS on azure CDN custom domain with my own certificat. For this i use this tutorial : https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/cdn/cdn-custom-ssl.md …
But, when i execute this command line :  New-AzureRmADServicePrincipal -ApplicationId "205478c0-bd83-4e1b-a9d6-db63a3e1e1c8", i have this error :
New-AzureRmADServicePrincipal : Authenticating principal does not havepermission to instantiate
multi-tenantapplications and there is not matching Applicationin the request tenant.
Au caractère Ligne:1 : 1
+ New-AzureRmADServicePrincipal -ApplicationId "205478c0-bd83-4e1b-a9d6 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation : (:) [New-AzureRmADServicePrincipal], Exception
    + FullyQualifiedErrorId : http://Microsoft.Azure .Commands.ActiveDirectory.NewAzureADServicePrincipalCommand

你能帮助我吗?

推荐答案

嗨Philippe,

Hi Philippe,

我可以问一下,你试过在
Azure Cloud Shell
,而不是在本地计算机上的Azure PowerShell中运行它?由于Azure PowerShell的过期版本,可能会发生此错误。 Cloud Shell将始终是最新的,因此测试此命令应该
排除任何版本问题。

Can I ask, have you tried running this command in Azure Cloud Shell as opposed to running it in Azure PowerShell on your local machine? It's possible that this error could be happening due to an outdated version of Azure PowerShell. Cloud Shell will always be up to date, so testing this command there should rule out any version issues.


这篇关于错误:New-AzureRmADServicePrincipal -ApplicationId 205478c0-bd83-4e1b-a9d6-db63a3e1e1c8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆