Article ID: 2666578 - View products that this article applies to.
You try to add a subdomain to an existing domain in a Microsoft cloud service such as Office 365, Microsoft Intune, or Microsoft Azure by using the New-MSOLDomain cmdlet. However, you receive the following error message:
New-MsolDomain: Unable to add this domain. It is a subdomain and its authentication type is different from the authentication type of the root domain.
This issue occurs if you try to use the New-MSOLDomain cmdlet to add a subdomain to an existing domain that's set up for federated authentication. The New-MSOLDomain cmdlet tries to add the subdomain as a standard authentication domain.
To add a subdomain to a domain that's set up for federated authentication, follow these steps:
For more info about how to use Windows PowerShell to manage Azure AD, go to the following Microsoft website:
Manage Azure AD using Windows PowerShell
Still need help? Go to the Office 365 Community
(http://community.office365.com/)website or the Azure Active Directory Forums
Article ID: 2666578 - Last Review: December 12, 2014 - Revision: 17.0