Migrate Office 365 domain federation

Robin H 21 Reputation points
2020-09-14T05:59:05.313+00:00

We're about to migrate one Office 365 domain from our old SAML federation to a new ADFS setup, however, when trying to update the domain, we get the following error:

PS C:\Windows\system32> Update-MsolFederatedDomain -DomainName example.com -SupportMultipleDomain
Update-MsolFederatedDomain : 'example.com' is not a valid domain name.
At line:1 char:1
+ Update-MsolFederatedDomain -DomainName example.com -SupportMulti ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Update-MsolFederatedDomain], FederationException
    + FullyQualifiedErrorId : InvalidDomainName,Microsoft.Online.Identity.Federation.Powershell.UpdateFederatedDomainC
   ommand

Do I need to break the current federation by converting the domain to managed before try to federate again?

Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,188 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,423 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,306 Reputation points
    2020-09-15T04:37:47.18+00:00

    Hello @Robin H

    Yes, you would need to first convert the domain to standard using Convert-MsolDomainToStandard cmdlet for managed authentication. Make sure you specify -SkipUserConversion:$true with Convert-MsolDomainToStandard cmd as you will be converting the domain to federated again. Then convert the domain back to federated again using Convert-MsolDomainToFederated cmdlet as the relying party needs to be created on your new ADFS Setup.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful