How to Use a Custom Domain for Microsoft 365 Sign-In and Teams
Question details
The user needs to configure a custom domain for Microsoft 365 and Teams sign-in, but must verify the domain and resolve potential association conflicts with existing organizations.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Setting up a personalized or corporate custom domain for organizational user accounts instead of the default tenant domain.
- Observed behavior
- The custom domain cannot be used until it is verified via DNS records and fully detached from any previous Microsoft 365 organization tenants.
Ensure you have global administrator credentials for your Microsoft 365 admin center and have access to your domain registrar's DNS management portal.
Add and Verify the Custom Domain in Microsoft 365
Follow these steps to officially add your custom domain to your Microsoft 365 tenant and verify ownership using DNS records.
To use your custom domain for sign-in and Microsoft Teams, you must first prove that you own the domain by adding a specific TXT record to your DNS host.
Sign in to the Microsoft 365 admin center with your global admin account.
Go to 'Settings' in the left-hand menu, then select 'Domains', and click on the 'Add domain' button.
Type in the custom domain name you want to use (e.g., yourcompany.com) and click 'Use this domain'.
Select the option to add a TXT record to your domain's DNS records. Copy the provided TXT value, log in to your domain registrar, and add the record to your DNS settings.
Return to the Microsoft 365 admin center and click 'Verify'. Once verified, continue the setup wizard to configure the required MX, CNAME, and TXT records for Exchange and Teams functionality.

Resolve Domain Association Conflicts
Use this solution if you receive an error stating the domain is already associated with another Microsoft 365 organization.
Try WPS Office for a Streamlined Productivity Experience
Dealing with Microsoft 365 admin centers and domain configurations can be time-consuming. If you are looking for a straightforward, lightweight, and cost-effective office suite without complex tenant management, WPS Office is a fantastic alternative.

Frequently Asked Questions
Why does Microsoft say my domain belongs to another organization?
This happens if your domain was previously registered with a different Microsoft 365 tenant, such as an old trial account, a previous IT provider, or an unmanaged Power BI account. The domain must be removed from the previous tenant before it can be added to your current one.
Do I have to use a custom domain for Microsoft Teams?
No, it is not mandatory. You can always use the default 'onmicrosoft.com' domain that is automatically created as your tenant domain for Microsoft 365 sign-in and Teams operations without verifying any external DNS records.
How long does it take to verify a custom domain in Microsoft 365?
Once you add the required TXT or MX records to your domain's DNS host, verification typically takes between 10 to 15 minutes. However, depending on your DNS provider's TTL (Time to Live) settings, it can sometimes take up to 48 hours to propagate globally.




