Today as was trying to fix an issue regarding with ADFS and Office 365.
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
After some digging and searching I found this post:
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.
Delete the object in the ADFS console
Open up the ADFS mmc snap-in
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: