Remove email alias

HASSAN BIN NASIR DAR 306 Reputation points
2021-11-22T22:36:08.407+00:00

Hi,

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?

Regards

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,177 questions
Microsoft Entra
{count} votes

1 answer

Sort by: Most helpful
  1. KyleXu-MSFT 26,211 Reputation points
    2021-11-23T02:51:05.293+00:00

    @HASSAN BIN NASIR DAR

    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):
    151576-qa-kyle-10-38-46.png

    If this domain name is used as primary email address:
    You could filter those mailboxes first:
    151606-qa-kyle-10-44-55.png

    Then change primary email address for them in a batch
    151653-qa-kyle-10-45-51.png
    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.