How to setup a domain in Office 365 tenant

Step 1: Log into your Office 365 account.

Step 2: Navigate to the Setup > Domains page.

Step 3: From there, select the domain you want to use, then select Start Setup, which will then display the value needed in the next step.

Step 4: Go to the Verify Domain page.

Step 5: Select Add a TXT record instead and press Next.

Step 6: Copy the TXT value that is displayed, which should look something like the following:

MS=msXXXXXXXX

Step 7: Create the TXT Record using this value via the Zone Editor in cPanel.

Step 8:Go back to your Office 365 account and verify your domain.

Step 9: Remove the TXT record in the cPanel Zone Editor once verified.