Change user custom domain to onmicrosoft.com

asked 2022-11-20T09:47:26.53+00:00
Anonymous

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.
6,072 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,231 questions
{count} votes

2 answers

Sort by: Most helpful
  1. answered 2022-11-20T10:25:47.407+00:00
    Vasil Michev 61,451 Reputation points Microsoft MVP

    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