In Exchange Online organizations, mail contacts are mail-enabled objects that contain information about people who exist outside your organization. Each mail contact has an external email address. For more information about mail contacts, see Recipients in Exchange Online.
You manage mail contacts in the Exchange admin center (EAC) or in PowerShell (Exchange Online PowerShell in organizations with Exchange Online mailboxes; standalone Exchange Online Protection (EOP) in organizations without Exchange Online mailboxes).
You need permissions before you can do this procedure or procedures. To see what permissions you need, see the "Recipients" entry in the Feature permissions in Exchange Online article.
Click Add a mail contact and configure the following settings in the details pane. Settings marked with an * are required.
Basic information: Update the following:
First name
Last name
Initials
*Display name: By default, this box shows the values from the First name, and Last name boxes. You can accept this value or change it.
*Alias:
*Email: Enter the user's email address. The domain should be external to your cloud-based organization.
Mail contact information (Optional)
Review mail contact
When you're finished, click Create.
Use the EAC to modify mail contacts
In the EAC, click Recipients > Contacts.
In the list of contacts, select the mail contact by clicking anywhere in the row other than the button option that appears in the blank area next to the Display name column.
In the Mail contact details pane, view or edit the user's contact details under the following sections:
General
Personal information
When you're finished, click Save.
Contact Information
Use the Contact information section, to view, or edit the user's contact information. The information on this page is displayed in the address book.
Web site
Fax phone
Street
City
State/Province
ZIP/Postal code
Country/Region
Organization Information
Use the Edit Organization section, to record detailed information about the user's role in the organization. This information is displayed in the address book. Also, you can create a virtual organization chart that's accessible from email clients such as Outlook.
Title: Use this box to view or change the recipient's title.
Department: Use this box to view or change the department in which the user works. You can use this box to create recipient conditions for dynamic distribution groups, email address policies, or address lists.
Manager: To add a manager, enter the name and select from the drop-down list.
Direct reports: You can't modify this box. A direct report is a user who reports to a specific manager. If you've specified a manager for the user, that user appears as a direct report in the details of the manager's mailbox. For example, Kari manages Chris and Kate, so Kari is specified in the Manager box for Chris and Kate, and Chris and Kate appear in the Direct reports box in the properties of Kari's account.
Use the EAC to remove mail contacts
In the EAC, click Recipients > Contacts.
Select the mail contact that you want to remove, and then click Delete.
Note
EAC doesn't allow bulk edit of mail contacts yet.
Click Confirm.
Use PowerShell to manage mail contacts
Use Exchange Online PowerShell to create mail contacts
This example creates a mail contact for Debra Garcia
The name and display name is Debra Garcia (if you don't use the DisplayName parameter, the value of the Name parameter is used for the display name).
For detailed syntax and parameter information, see New-MailContact.
Use Exchange Online PowerShell to modify mail contacts
In general, use the Get-Contact and Set-Contact cmdlets to view and change organization and contact information properties. Use the Get-MailContact and Set-MailContact cmdlets to view or change mail-related properties, such as email addresses, the MailTip, custom attributes, and whether the contact is hidden from address lists.
To verify that you've successfully created, modified, or removed mail contacts, do any of the following steps:
In the EAC, click Recipients > Contacts. Verify the mail contact is listed (or not listed). The Contact Type value is MailContact. Select the mail contact from the list, by clicking anywhere in the row other than the button option that appears in the blank area next to the Display name column to view or edit the user's details.
In the Exchange Online PowerShell, replace <MailContactIdentity> with the name, email address, or alias of the mail contact, and run the following command to verify that the mail contact is listed (or not listed).