After you have set up Microsoft 365 and moved your data from G Suite, you can connect your domain to Microsoft 365.
Sign in to Microsoft 365, and under Apps, choose Admin.
In the admin center, choose Go to setup.
On the Connect your domain page, select I'll manage my own DNS records.
If you don't have a website or other DNS records that you want to keep, you can choose Set up my online services for me instead.
On the Choose your online services page, select the check boxes for the online services you want to set up, and then choose Next.
On the Add DNS Records page, you can see your DNS hosting provider and all the DNS records you will need to update. Click the step-by-step instructions link.
Click Add an MX record to route email in the article to add the MX records.
After you have added all of the DNS records, return to Microsoft 365 and choose Verify.
On the You've reached the end of setup page, you can rate your experience or enter feedback.
Now that you have set everything up and moved your data to Microsoft 365, it's time to connect your domain.
Sign in to Microsoft 365 and select Admin.
In the admin center, select Go to setup.
On the Connect your domain page, select I'll manage my own DNS records. We do this because we have a website that also relies on the DNS records, and we want to keep the website up. If you don't have a website or other DNS records you want to keep, choose Set up my online services for me. Select Next.
Check the boxes for online services you want to set up, then Next.
The wizard displays all the DNS records you will need to update, and you see your DNS hosting provider—in this case Google Domains. The easiest way to update the records is to use the step-by-step instructions. Select the link.
Start with adding the MX records, since you already added the TXT record for verification earlier.
When you have added all of the DNS records at your DNS hosting provider, it should look similar to this.
Return to Microsoft 365 and choose Verify. If all of your records are entered correctly, you will reach the end of the setup wizard, where you can leave a rating, enter your feedback, and return to the admin center.
Now your email and services are set up with your domain, and you're ready to use Microsoft 365.