none
ADFS and supportmultipledomain switch RRS feed

  • Question

  • Hi there,

    We are trying to federate a second domain under a single ADFS server. We are running ADFS 2.0 with Update 2 installed. When we go to issue a Update-MsolFederatedDomain –DomainName <domain> –SupportMultipleDomain we get the following error :

    Update-MsolFederatedDomain : The switch parameter SupportMultipleDomain is not
    supported here.
    At line:1 char:27
    + Update-MsolFederatedDomain <<<<  -DomainName "tundraoilandgas.com" -SupportMu
    ltipledomain
        + CategoryInfo          : InvalidOperation: (:) [Update-MsolFederatedDomai
       n], FederationException
        + FullyQualifiedErrorId : MultipleDomainSwitchNotSupported,Microsoft.Onlin
       e.Identity.Federation.Powershell.UpdateFederatedDomainCommand

    Does anyone know what may be causing this problem?

    Thanks,

    Kevin

    Friday, April 10, 2015 7:27 PM

Answers

  • What you need is to delete the trust relationship in the ADFS console and you are able to start from scratch.
    This time remember to use the -Supportmultipledomain parameter on all the domains you want to federate.

    So remember to change it on "main" domain (federated):

    Update-MsolFederatedDomain -DomainName <domain1_fqdn> -SupportMultipleDomain
    Successfully updated '<domain1_fqdn>' domain.

    Before you go with:

    Convert-MsolDomainToFederated -DomainName <domain2_fqdn> -SupportMultipleDomain

    Please find more here:

    SupportMultipleDomain switch, when managing SSO to Office 365


    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.



    Sunday, April 12, 2015 8:06 PM

All replies

  • What you need is to delete the trust relationship in the ADFS console and you are able to start from scratch.
    This time remember to use the -Supportmultipledomain parameter on all the domains you want to federate.

    So remember to change it on "main" domain (federated):

    Update-MsolFederatedDomain -DomainName <domain1_fqdn> -SupportMultipleDomain
    Successfully updated '<domain1_fqdn>' domain.

    Before you go with:

    Convert-MsolDomainToFederated -DomainName <domain2_fqdn> -SupportMultipleDomain

    Please find more here:

    SupportMultipleDomain switch, when managing SSO to Office 365


    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.



    Sunday, April 12, 2015 8:06 PM
  • Thanks for your reply, I had previously deleted the trust however I either didn't wait long enough before trying the CMD-LET again or restarting the ADFS services after deleting the trust and re-opening powershell seemed to allow me to use the Multiple domain switch. Thanks again !
    Tuesday, April 14, 2015 2:12 PM