# Creating a Mail Contact for Microsoft 365 with Exchange

On the Microsoft 365 with Exchange server, create a mail contact. The mail contact is the external email address of the ContentStore Mailbox that will receive the journal reports.

The domain name must be a non-existent domain. You must use the same domain for the remote domain, the mail contact, the Send connector, and the journal rules.

Tip

Create only one mail contact so that you do not create duplicate journal reports.

## Before You Begin

You must have a thorough understanding of journaling and of managing mail contacts on the Exchange server. Consult the Microsoft documentation before you create a mail contact. For example, see the Microsoft TechNet article: "Manage mail contacts", https://technet.microsoft.com/en-us/library/aa998858(v=exchg.150).aspx

## Procedure

In this example, you create a mail contact using remote PowerShell for a contact named JournalHosted.

1. Open Windows PowerShell and create a remote PowerShell session to Microsoft 365 with Exchange.

2. To create a mail contact for the ContentStore Mailbox, type the following command:

       New-MailContact -Name "JournalHosted" -ExternalEmailAddress "JournalHosted@domain.com"

3. To hide the mail contact so that it does not appear the global address list, type the following command:

       Set-MailContact -Identity "JournalHosted" -HiddenFromAddressListsEnabled $true

## What to Do Next

On the Microsoft 365 with Exchange server, create the journal rules.

×

Loading...