Fix a Microsoft 365 onmicrosoft.com Address and Restore a Custom Domain
Question details
Restore a user's custom-domain email address when messages to it are rejected and the current address ends in onmicrosoft.com.

- Product
- Microsoft 365 and Exchange Online
- Device & OS
- not provided
- Scenario
- A Microsoft 365 user wants to receive mail at an original custom-domain address instead of relying on an onmicrosoft.com address.
- Observed behavior
- Messages sent to the custom-domain address are rejected, and the user's current address ends in onmicrosoft.com.
Ask the Microsoft 365 tenant administrator for help and collect the complete non-delivery report from a sender. Confirm the affected custom domain, when the issue began, and whether other users are affected; share the report privately because it may contain sensitive information.
Verify the Custom Domain and Correct Its DNS Records
Use this first when mail to a custom-domain address is rejected or the domain's configuration is uncertain.
Open the sender's non-delivery report and identify the error code and rejected recipient address. Give the complete report to your administrator through a private channel.
Sign in to the Microsoft 365 admin center as an administrator, go to Settings > Domains, and select the custom domain. Check that it is present and verified; if it is missing, choose Add domain and follow the verification instructions.
On the domain's page, select Find and fix issues or the available DNS troubleshooting option. Review the reported records and compare them with the records at your DNS host.
Sign in to your DNS host and update the records identified by the domain check. If Exchange Online is intended to receive the domain's mail, confirm that the MX record points to the Microsoft 365 destination shown in the admin center; do not change mail routing without confirming the intended provider.
After DNS changes have had time to propagate, send a test message to the custom-domain address. If it is rejected, review the new non-delivery report and continue troubleshooting the specific error.
Check the User's Primary Email Address and Aliases
Use this after checking the domain and mail flow to confirm that the intended address belongs to the correct mailbox.
Use WPS Office for Documents While Your Administrator Fixes Email
WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make migration straightforward. It does not repair Microsoft 365 domains or Exchange mail flow.

Frequently Asked Questions
Why does my Microsoft 365 address end in onmicrosoft.com?
The onmicrosoft.com domain is associated with your Microsoft 365 tenant. If your custom address is missing or not primary, ask an administrator to check Settings > Domains and the user's email settings in the Microsoft 365 admin center.
How do I check whether my custom domain is verified?
An administrator can open the Microsoft 365 admin center, go to Settings > Domains, and select the domain to review its status. If the domain is missing, use Add domain and follow the verification instructions.
Will changing my primary email address fix rejected messages?
Not necessarily. The custom domain, DNS mail routing, and mailbox address must also be configured correctly. Review the sender's non-delivery report and the domain settings before changing the primary address.
Can I keep my onmicrosoft.com address after adding a custom address?
An administrator can review the user's addresses under Users > Active users in the Microsoft 365 admin center. The onmicrosoft.com address can generally remain as an alias when a verified custom-domain address is made primary.
What should I do if mail still bounces after I update DNS?
Allow time for DNS changes to propagate, then send another test message. Give the new non-delivery report to your administrator so they can investigate its error code, recipient address, and mail routing.




