Change user custom domain to onmicrosoft.com

HASSAN BIN NASIR DAR 306 Reputation points
2022-11-20T09:47:26.53+00:00

Hi

I have plan to remove my custom domain from Azure. But many objects are associated with this domain. Do we have any command which through we can change the SMTP addresses. For example, test@jaswant .com to test@testing .onmicrosoft.com.

I have number of users and groups.

Please help me as soon as possible. thanks

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,357 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,896 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 95,666 Reputation points MVP
    2022-11-20T10:25:47.407+00:00

    If you initiate the removal process from the portal UI, it will take care of replacing all email aliases and other properties that reference the domain automatically: https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/domains-manage#forcedelete-option

    1 person found this answer helpful.