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
All you need to do is to add the subdomain in the O365 admin center. It will automatically verify it and it will also automatically inherit the authentication settings of the primary domain. PowerShell should work just fine as well.
This part I don't understand though, can you clarify?
If I add coworkers.company.com domain from Admin portal, somehow it give permission to the user@coworkers.company.com we add on wizard user to create new Office 365 tenant.
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
- Dec 10, 2018Hi!
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
- saminda7280Dec 10, 2018Copper Contributorwhat is the MDL server url