Azure Active Directory控制台:TrustedForElegation
我正在使用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”时使用的正确标志是什么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
提前谢谢 根据您链接到的文档和错误消息,AAD PowerShell cmdlet中没有TrustedForElegation参数
(注意:尽管此参数不存在,但您通常希望使用
$true
设置PowerShell布尔值,而不是true
)是否有任何特殊原因要这样做?这是一个内部(微软)参数,并没有提供任何有用的功能(我能想到)。