Adding custom subdomin in Azure AD

ARUN ANAND 1 Reputation point
2020-07-31T06:22:17.32+00:00

Good Morning All,

I have already added a Domain "test.com" in Azure AD under custom domain and got it Federated with on-premise ADFS 2012.
The command I used for Federation in ADFS was "convert-msoldomaintofederated -domainname "test.com" -supportmultipledomain

Now I am trying to add the subdomain "Sample.test.com" in the Custom Domain name in Azure AD and getting below error:

Failed to add Domain
One or more properties contains invalid values

Could you please help

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,363 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 99,431 Reputation points MVP
    2020-07-31T06:59:29.303+00:00

    If the parent domain is federated, you need to use the New-MSOLFederatedDomain cmdlet as detailed here: https://learn.microsoft.com/en-us/troubleshoot/azure/active-directory/new-msoldomain-cmdle-add-subdomain

    0 comments No comments