A Microsoft file hosting and synchronization service.
Thank you for reaching out to the Microsoft Q&A forum and for clearly outlining your concern.
Based on the details you shared, I understand you would like your Microsoft 365 sign in and email addresses to use your original custom domain rather than the default *.onmicrosoft.com domain. I truly understand and appreciate your effort in explaining what you are aiming to achieve.
Microsoft 365 assigns every tenant a default onmicrosoft.com domain, and this default cannot be renamed or removed. It remains in the background to support service operations. However, once you add and verify your own domain and make it the default, users will sign in and send and receive email using your custom domain.
To move forward smoothly, please follow the steps below which are tailored to your situation and designed to be easy to follow. If you’re not an admin, kindly share these steps with your IT administrator.
1/ Add and verify your custom domain
First, sign in to the Microsoft 365 admin center using a Global admin account.
- Go to Settings, then Domains, and select Add domain. Enter your domain, for example yourdomain.com.
- Choose TXT verification, then copy the TXT record shown in the wizard. At your domain registrar, create the TXT record exactly as provided and save the change.
- Return to the admin center and select Verify.
- When prompted to add DNS records, choose to add them yourself. Create the required records at your DNS host, including the MX record for Exchange Online mail delivery, the SPF TXT record for sender validation, and the CNAME records such as autodiscover. If you use Teams Phone or other services, add any additional records shown in the wizard.
2/ Make your custom domain the default for sign in and email
Next, set your new domain as the default so that new accounts automatically use it.
- In the Microsoft 365 admin center, open Settings, then Domains, select yourdomain.com, and choose Set as default.
- In the Exchange admin center, go to Mail flow and then Accepted domains. Ensure yourdomain.com is Authoritative and set as the default email domain.
- Confirm that new users and groups will be created with addresses in yourdomain.com by default.
3/ Update existing users to the new domain
Finally, switch current users so their username and primary email use yourdomain.com.
- In the Microsoft 365 admin center, go to Users and then Active users. Open a user and select Manage username and email.
- Change the Username to ******@yourdomain.com and set the primary email address to the same. Keep the previous onmicrosoft.com address as an alias so that any messages sent to it will still arrive.
- Ask users to sign out and sign back in across all apps and devices. Allow up to 24 to 48 hours for the changes to fully propagate in services such as Teams and SharePoint.
Additionally, after the switch, you can enhance email security by enabling DKIM in the Exchange admin center and then consider adding a DMARC record once SPF and DKIM are active.
I hope this information is helpful. Please follow these steps and let me know if it works for you. If you have any updates regarding the issue, please feel free to share them with me.
Thank you for your patience and your understanding. I look forward to continuing the conversation.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment”.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.