Others

Use a Root Domain and Subdomain in Separate Microsoft 365 Tenants

Algirdas JasaitisAlgirdas Jasaitis Nov 25, 2026 868 views

Question details

Determine how to use a root domain in one Microsoft 365 tenant and a subdomain in another.

Use a Root Domain and Subdomain in Separate Microsoft 365 Tenants
Product
Microsoft 365
Device & OS
not provided
Scenario
An organization wants to use contoso.com in one tenant and sales.contoso.com in a separate tenant.
Observed behavior
Each tenant should use its assigned domain, with ownership verification and DNS records configured for the appropriate services.
Before you start

Confirm that you have domain-management permissions in both Microsoft 365 tenants and access to the authoritative DNS provider. Identify the existing mail and authentication records before making changes.

Solution 1Recommended

Verify Each Domain in Its Microsoft 365 Tenant

Use this approach to assign the root domain and subdomain to separate tenants while directing each domain's services through DNS.

The exact same domain cannot be associated with two Microsoft 365 tenants at once, but a root domain and a distinct subdomain can be assigned to different tenants. Manage the subdomain's DNS outside Microsoft 365 and use the records provided for its tenant.

1
Add the root domain

In the Microsoft 365 admin center for tenant A, go to Settings > Domains, select Add domain, and enter contoso.com. If it is already added and verified, check its status instead.

2
Verify the root domain

Follow the domain setup wizard to obtain the verification record. At the authoritative DNS provider, add the TXT record with the host and value supplied by tenant A, then return to the wizard and select Verify.

3
Add the subdomain

In the Microsoft 365 admin center for tenant B, go to Settings > Domains, select Add domain, and enter sales.contoso.com. Follow the wizard to obtain its verification record.

4
Verify the subdomain

Add tenant B's verification TXT record at the authoritative DNS provider for sales.contoso.com. Return to tenant B's domain setup wizard and select Verify after the record is available.

5
Configure service records

In each tenant's domain setup page, review the DNS records requested for the services you use. At the DNS provider, add or update the appropriate MX, CNAME, TXT, and other records for contoso.com and sales.contoso.com without replacing records needed by the other domain.

6
Check domain services

In Settings > Domains in each tenant, review the domain status and resolve any reported DNS issues. Send test mail to addresses in each domain and test sign-in for users assigned to the respective tenants.

Verify Each Domain in Its Microsoft 365 Tenant
Allow time for DNS changes: DNS changes may take time to propagate. If verification fails, confirm the record's host name and value at the authoritative DNS provider before trying again.
Free Microsoft Office alternative

Work With Office Files in WPS Office

WPS Office is a free, lightweight alternative for working with Office files in a familiar interface. Its format compatibility helps you move documents between Microsoft Office and WPS, although Microsoft 365 tenant and DNS configuration must still be managed separately.

Free, lightweight office suite with a familiar interfaceCompatible with Microsoft Word, Excel, and PowerPoint formatsOpen and edit Office files while working across organizationsMove existing Office documents into WPS without recreating them
microsoft office alternative - wps office

Frequently Asked Questions

Can the same domain be added to two Microsoft 365 tenants?

No. The same exact domain can be associated with only one tenant at a time. A distinct subdomain, such as sales.contoso.com, can be added to another tenant.

Where do I add the subdomain verification record?

Add the TXT record supplied by tenant B at the authoritative DNS provider for the subdomain. Then return to Settings > Domains in tenant B and select Verify in the setup wizard.

Which MX record should the subdomain use?

Use the MX record supplied by the tenant that hosts mail for the subdomain. Review it in that tenant's domain setup page and add it at the authoritative DNS provider for the subdomain.

Will changing the subdomain's DNS affect the root domain?

The root domain and subdomain can have separate service records, but changes to the wrong host or shared DNS configuration can affect existing services. Check each record's host name and purpose before saving changes.