Forum Discussion
Add subdomain to existing federated domain with Exhange Hybrid configured
- Dec 10, 2018
That seems like another stupid limitation of the "add domain" wizard, just use PowerShell (New-MsolDomain). Although I just tested it in one of my test tenants and I was able to add a subdomain to a federated domain just fine via the portal. So perhaps it's something specific to your setup. Anyway, just use PowerShell:
New-MsolDomain -Name sub2.domain.com -Authentication federated
Attached is the screenshot after the step of "become the admin" subdomain coworkers.company.com. I click okay, i've added the record, then it seems like new tenant and new admin for user@coworkers.company.com.
or shoud I just run this on powershell azure AD module?:
new-msolfederateddomain
prompt for domainname: coworkers.company.com
What is your question?
What arw tou trying to accomplish?
- ridfahri-04Dec 10, 2018Copper Contributor
We want to add subdomain coworkers.company.com and currently we already have federated our company.com domain. If we add coworkers.company.com from admin center > setup > domains > add domain, it requests email address of @coworkers.company.com to complete. Furthermore, if I click okay, I've added txt record, it redirect user@coworkers.company.com to create new tenant as screenshot I attached.
Does it the right way to add subdomain of existing federated domain? Or I can just add subdomain using Azure AD powershell?
- VasilMichevDec 10, 2018MVP
That seems like another stupid limitation of the "add domain" wizard, just use PowerShell (New-MsolDomain). Although I just tested it in one of my test tenants and I was able to add a subdomain to a federated domain just fine via the portal. So perhaps it's something specific to your setup. Anyway, just use PowerShell:
New-MsolDomain -Name sub2.domain.com -Authentication federated
- ridfahri-04Dec 13, 2018Copper Contributor
I opened the case to Microsoft O365 Support. There was somebody in the company who created O365 tenant with coworkers.company.com domain. I took over the domain by using txt record verification, and then remove the coworkers.company.com domain from that tenant. I then add subdomain coworkers.company.com from Azure AD PowerShell.
- Dec 10, 2018Can’t see any reference to creating a new tenant on your screenshot?
Is the subdomain listed under domains?
Furthermore you have to edit the dns for the subdomain to include the records necessary for the services you will use it for!
You can check your records if you click the domain in office 365 ( same place were you hopefully added it )
When everything is set you can federate it with your powershell cmdlet- ridfahri-04Dec 10, 2018Copper Contributor
Sorry, forgot to explain. It display user test4@coworkers.company.com logged on to office.com with Admin center shortcut icon displayed. I assumed new tenant for coworkers.company.com subdomain created as test4 has Adminc center shortcut icon.
We have added txt record for coworkers.company.com subdomain. And until now, the subdomain still not displayed on Admin center > setup > domains of tenant hosting company.com.
- Dec 10, 2018Who is managing your DNS’s or you domain ? Is it Microsoft or somewhere else?
- ridfahri-04Dec 10, 2018Copper Contributor
We use third party domain hosting. We can send request to them to add txt record as we have done for company.com domain.
- saminda7280Dec 10, 2018Copper Contributorwhat is the MDL server url