To configure a custom domain, navigate to the Microsoft 365 admin center after logging into the service as an administrator. You’ll find the link in the waffle menu in the top left as Admin:
To configure a custom domain, log in to the Microsoft 365 Admin Center as an administrator. From the navigation menu, go to Settings → Domains, then click Add domain.
In the add domain wizard, enter your company’s domain name, then choose Use this domain.
Before the domain can be used, you must verify ownership. The easiest method is by adding a TXT record in your DNS control panel. Microsoft will provide a value in the format:
MS=msXXXXXXXX
Add this TXT record to your DNS and then click Verify in Microsoft 365.
Once verification is complete, your domain will be successfully added. You may proceed with DNS configuration for email services.
Click Continue to configure DNS records, then select Exchange and Exchange Online Protection. This will generate the required DNS records for email functionality.
On the Add DNS records page, select Exchange and Exchange Online Protection. This will generate the required DNS records such as MX, SPF, and Autodiscover for email functionality.
Add the following records to your DNS control panel:
Add these records to your DNS control panel accordingly.
Once the DNS records are added successfully, click Continue and then Done to complete the setup.
After completion, the custom domain will be added to your Microsoft 365 tenant. If it is the first domain, it will be set as the default domain.