LoginSignup
0
1

More than 5 years have passed since last update.

俺でもわかる脱SSO AzureAD + PingFederate連携の解除

Last updated at Posted at 2019-03-05

俺です。
SSOしないと死ぬ教信者ではありますが、
ちょっとした実験のためにAzureADとのFederateionを解除したいときがあるようなないような本当は無いほうが良いんですが男にはやらねばならぬときがある。
ということでAzureAD Connectで設定したAzureAD Federated Modeを解除する方法(Managed Modeに変更)する記録を残します。

Powershellの起動とコマンドレットの実行

  • Connect-MolServiceを実行してAzureADの認証を通します。 (.onmicrosoft.comアカウント情報で認証が必要です)
  • AzureAD Root DomainのAuthentication modeをManagedに変更します。
PS C:\Windows\system32>  Connect-MsolService
PS C:\Windows\system32> Set-MsolDomainAuthentication -DomainName mussle.orenokaisha.co.jp -Authentication Managed
Set-MsolDomainAuthentication : Unable to change the authentication type of this domain because it is a subdomain. To
change the authentication type of this subdomain, use the Get-MsolDomain cmdlet to find the root domain and  then
change the root domain authentication type.
At line:1 char:1
+ Set-MsolDomainAuthentication -DomainName mussle.orenokaisha.co.jp -Authenti ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [Set-MsolDomainAuthentication], MicrosoftOnlineException
    + FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.DomainNotRootException,Microsoft.Online.Admin
   istration.Automation.SetDomainAuthentication
PS C:\Windows\system32> Set-MsolDomainAuthentication -DomainName orenokaisha.co.jp -Authentication Managed
PS C:\Windows\system32> Get-msoldomain

Name                         Status   Authentication
----                         ------   --------------
orenokaisha.co.jp                Verified Managed
orenokaisha.onmicrosoft.com      Verified Managed
mussle.orenokaisha.co.jp           Verified Managed
orenokaisha.mail.onmicrosoft.com Verified Managed

脱フェデレーションライフを!
おわり

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1