Share via

Why my email id automatically changed to onmicrosoft.com instead of my custom domain. In on-prem DC domain nmae is correct. How to make the necessary changes ?

Shyam Roy 0 Reputation points
2026-03-09T09:41:20.15+00:00

Why my email id automatically changed to onmicrosoft.com instead of my custom domain. In on-prem DC domain name is correct. How to make the necessary changes ?

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. Raja Pothuraju 47,160 Reputation points Microsoft External Staff Moderator
    2026-04-06T08:03:08.1533333+00:00

    Hey Shyam, here’s a consolidated list of all the documentation links referenced above so you can dive into the details:

    1. Manage custom domains in Microsoft Entra ID https://learn.microsoft.com/entra/identity/users/domains-manage
    2. Add and verify a custom domain name in Microsoft Entra ID https://docs.microsoft.com/azure/active-directory/active-directory-add-domain
    3. Troubleshoot domain-name verification issues in Microsoft Entra ID https://docs.microsoft.com/azure/active-directory/fundamentals/add-custom-domain
    4. Plan and troubleshoot UserPrincipalName (UPN) changes during hybrid sync https://learn.microsoft.com/entra/identity/hybrid/connect/howto-troubleshoot-upn-changes
    5. SamAccountName issue with Microsoft Entra Domain Services (duplicate mailNicknames) https://supportabilityhub.microsoft.com/solutions/apollosolutions/5c3cceb3-6b16-45b1-c776-055e041e191e/9003261-6106
    6. Resolve sign-in and domain-join issues in Microsoft Entra Domain Services https://docs.microsoft.com/azure/active-directory-domain-services/active-directory-ds-troubleshooting
    7. Change your Microsoft 365 email address to use your custom domain https://learn.microsoft.com/microsoft-365/admin/email/change-email-address?view=o365-worldwide
    8. Understand bulk user updates triggered by verified-domain changes https://learn.microsoft.com/entra/identity/monitoring-health/troubleshoot-audit-data-verified-domain

    Feel free to click through any of these for step-by-step guidance. Let me know if you need anything else!

    Note: This content was drafted with the help of an AI system. Please verify the information before relying on it for decision-making.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.