Remove email alias

HASSAN BIN NASIR DAR 306 Reputation points


I want to remove custom domain from O365. So first of all I want to remove email alias from the Azure AD.

Can you please help to find out some script of GUI get the list of Email Alias and then remove the all Email alias? thanks

Second question is: Email Alias and Proxy address both are same thing?


Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,049 questions
Microsoft Entra
{count} votes

1 answer

Sort by: Most helpful
  1. KyleXu-MSFT 26,196 Reputation points


    If this domain name isn't used as primary email address. You will could remove this domain from your Office 365 directly. This email address will be remove from users automatically(Because unverified domain name cannot be used for email address in Exchange online):

    If this domain name is used as primary email address:
    You could filter those mailboxes first:

    Then change primary email address for them in a batch
    After that remove the domain from your Office 365.

    Second question is: Email Alias and Proxy address both are same thing?

    They are two thing. Email Alias in Office 365 is contained in Proxy address.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.