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
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
2 answers
Sort by: Most helpful
-
answered
2022-11-20T10:25:47.407+00:00 Vasil Michev 61,451 Reputation points Microsoft MVP -
answered
2022-11-21T11:20:11.003+00:00 Amit Singh 3,086 Reputation points