We are using a federated subdomain for coworkers but we also use a non federated top-level domain.
For test purposes we added a test domain to Office 365 (similar to the coworkers domain) and try to federate this domain a we hit an error.
Below the current domains in Office 365 and their Authentication;
C:> Get-MsolDomain
Name Status Authentication
---- ------ --------------
coworkerstest.contoso.com Verified Managed
contoso.com Verified Managed
coworkers.contoso.com Verified Federated
Now we would like to federate the coworkerstest.contoso.com domain so it is representative for tetst to the coworkers.contoso.com domain.
But we hit the following error;
C:> Convert-MsolDomainToFederated -DomainName coworkerstest.contoso.com -SupportMultipleDomain
Convert-MsolDomainToFederated : Converting sub-domains to Federated is not supported.
At line:1 char:30
- Convert-MsolDomainToFederated <<<< -DomainName coworkerstest.contoso.com -SupportMultipleDomain
+ CategoryInfo : InvalidData: (:) [Convert-MsolDomainToFederated], FederationException
+ FullyQualifiedErrorId : SubDomainsNotSupportedForConvert,Microsoft.Online.Identity.Federation.Powershell.Convert
DomainToFederated
Question;
- How can we federate coworkerstest.contoso.com?
- Is federation possible without removing the top-level domain contoso.com ? (cause some users in Office 365 have already @contoso.com email addresses so it can’t be removed)?
- If we federate top-level domain contoso.com will sub-domains automatically be federated also?
- If top-level domain is federated and sub-domains also automatically federated can a sub-domain also be converted to standard?
- If top-level domain is federated and sub-domains also automatically federated can a top-level be converted back to standard without affecting the sub-domain federation?
- What is the best approach for removing the top-level domain contoso.com?
- Are there known issues if we first add coworkerstest.contoso.com and federate it and later add contoso.com top-level domain and leave it standard?