# Creating a Remote Domain for Microsoft 365 with Exchange

Create a remote domain so that the journaled messages can be sent to the ContentStore Mail Server (SMTP).

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.

For more information about remote domains, see the Microsoft TechNet article "Remote domains in Exchange Online", https://technet.microsoft.com/en-us/library/jj966211(v=exchg.150).aspx.

## Procedure

In this example, you create a remote domain using remote PowerShell for the DomainName domain.com.

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

2. To create a new remote domain, type the following command:

       New-RemoteDomain -DomainName domain.com -Name domain

## What to Do Next

On the Microsoft 365 with Exchange server, create the mail contact.

×

Loading...