尝试将域设置为联合时,Set-MsolDomainAuthentication失败 [英] Set-MsolDomainAuthentication fails when trying to set a domain as federated
问题描述
Set-MsolDomainAuthentication:无法完成此操作.
行:1字符:1
+ Set-MsolDomainAuthentication -DomainName $ dom -FederationBrandName $ B ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo :OperationStopped:(:) [Set-MsolDomainAuthentication],MicrosoftOnlineException
+ FullyQualifiedErrorId:Microsoft.Online.Administration.Automation.InternalServiceException,Microsoft.Online.Administration.Automation.SetDomainAuthentication
知道导致错误的原因是什么?
Dinix195
Set-MsolDomainAuthentication cmdlet仅更改Azure中的设置 活动目录.
您是否尝试过 Convert-MSOLDomainToFederated cmdlet代替吗?
I used this command to change authentication type of my domain to federated. Later had to change it back to managed. Now I cannot change it back to federated with the same parameters I used previously successfully. I looked for a solution all over the internet but no help. There were similar error reported in multiple places, yet no straightforward answer was found.
It gives the following error.
PS Azure:\> Set-MsolDomainAuthentication -DomainName $dom -FederationBrandName $BrandName -Authentication Federated -ActiveLogOnUri $ecpUrl -SigningCertificate $MySigningCert -LogOffURI $logoutURL -IssuerUri $Issuer -PreferredAuthenticationProtocol
$Protocol
Set-MsolDomainAuthentication : Unable to complete this action. Try again later.
At line:1 char:1
+ Set-MsolDomainAuthentication -DomainName $dom -FederationBrandName $B ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [Set-MsolDomainAuthentication], MicrosoftOnlineException
+ FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.InternalServiceException,Microsoft.Online.Administration.Automation.SetDomainAuthentication
Any idea what gives the error?
Dinix195
Set-MsolDomainAuthentication cmdlet changes only the settings in Azure Active Directory.
Have you tried the Convert-MSOLDomainToFederated cmdlet instead ?
这篇关于尝试将域设置为联合时,Set-MsolDomainAuthentication失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!