Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure Active Directory控制台:TrustedForElegation_Azure_Azure Active Directory_Azure Management - Fatal编程技术网

Azure Active Directory控制台:TrustedForElegation

Azure Active Directory控制台:TrustedForElegation,azure,azure-active-directory,azure-management,Azure,Azure Active Directory,Azure Management,我正在使用Set-MsolServicePrincipal更新TrustedForDelegion标志: 我尝试了几种不同的命令: 将MsolServicePrincipal-AppPrincipalId$AppId-TrustedForElegation设置为true 其中$AppId是一个有效的应用主体Id。但是,无论我使用“TrustedForDelegion”标志的哪种组合,控制台都会抛出以下错误: Set-MsolServicePrincipal:找不到与参数匹配的参数 名称“Tru

我正在使用Set-MsolServicePrincipal更新TrustedForDelegion标志:

我尝试了几种不同的命令:

将MsolServicePrincipal-AppPrincipalId$AppId-TrustedForElegation设置为true

其中$AppId是一个有效的应用主体Id。但是,无论我使用“TrustedForDelegion”标志的哪种组合,控制台都会抛出以下错误:

Set-MsolServicePrincipal:找不到与参数匹配的参数 名称“TrustedForDelegion”。 第1行字符:49 +将MsolServicePrincipal-AppPrincipalId$AppId-TrustedForElegation设置为true + ~~~~~~~~~~~~~~~~~~~~~ +CategoryInfo:InvalidArgument:(:)[Set-MsolServicePrincipal], 参数绑定异常 +FullyQualifiedErrorId:NamedParameterNotFound,Microsoft.Online.Administ 定量、自动化、设置服务原则

更新“TrustedForElegation”时使用的正确标志是什么


提前谢谢

根据您链接到的文档和错误消息,AAD PowerShell cmdlet中没有TrustedForElegation参数


(注意:尽管此参数不存在,但您通常希望使用
$true
设置PowerShell布尔值,而不是
true

是否有任何特殊原因要这样做?这是一个内部(微软)参数,并没有提供任何有用的功能(我能想到)。