The Deployment Bunny

OS Deployment, Virtualization, Microsoft based Infrastructure…

  • about.me

    about.me/mikaelnystrom

  • Archives

  • Meta

Archive for the ‘ADFS’ Category

Nice to Know–Adding a second federated domain in ADFS fails if –SupportMultipleDomain was not used in the first place

Posted by Mikael Nystrom on February 7, 2015

Today as was trying to fix an issue regarding with ADFS and Office 365.

The Issue:

A very simple error, when you try to add the second domain it fails and in this case it was because the first federated domain was not setup using –SupportMultipleDomain

The solution:

After some digging and searching I found this post:

https://exitcodezero.wordpress.com/2013/03/05/supportmultipledomain-is-not-supported-here/

The issue was not exactly the same but close enough, a bit further down in the post it seems that he had the same issue as a while back.

image

Delete the object in the ADFS console

Open up the ADFS mmc snap-in

image

and delete it

Switch from Managed to Federated

Open the elevated PowerShell prompt with the Msol CMDLets, connect and authenticate and run this command to fix it:

Convert-MsolDomainToFederated -SupportMultipleDomain -DomainName viamonstra.com

From this point on, you can now switch from Managed to Federated on all the other domains as well

Last thing you do is to run:

Get-MsolDomain to verify:

image

/mike

Posted in ADFS, Office 365 | Tagged: , | Leave a Comment »