Exchange Edge Subscription Configuration

Microsoft Exchange Edge Server

After you install the Edge Transport Role you need to create an Edge Subscription so to enable mailflow between the Edge server and the Active Directory site hosting the Mailbox Server(s).

The first step to configure the edge subscription is to create the Exchange Edge Subscription file used to manage the connection between the Mailbox and the Edge Server with the following command:

New-EdgeSubscription -FileName C:AdminEdge.xml

Confirm
If you create an Edge Subscription, this Edge Transport server will be managed via EdgeSync replication. As a result,
any of the following objects that were created manually will be deleted: accepted domains, message classifications,
remote domains, and Send connectors. After creating the Edge Subscription, you must manage these objects from inside
the organization and allow EdgeSync to update the Edge Transport server. Also, the InternalSMTPServers list of the
TransportConfig object will be overwritten during the synchronization process.
 EdgeSync requires that this Edge Transport server is able to resolve the FQDN of the Mailbox servers in the Active
Directory site to which the Edge Transport server is being subscribed, and those Mailbox servers be able to resolve the
 FQDN of this Edge Transport server. You should complete the Edge Subscription inside the organization in the next
"1440" minutes before the bootstrap account expires.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):

As you can see in the above output you will be asked to confirm the operation and will be given a warning about the various requisites for proper communication between the Mailbox server and the edge.

Once the Edge Subscription file has been created move/copy it to a convenient location on the mailbox server and import it with the following command:

New-EdgeSubscription -FileData ([byte[]]$(Get-Content -Path "C:HeloCheckEdgeSync.xml" -Encoding Byte -ReadCount 0)) -Site "MCSE-Labs-ZH"

In the example above MCSE-Labs-ZH represents the name of the Active Directory site where the Mailbox Server resides. When multiple Edge servers are deployed simply repeat the process for each of them.

[su_note note_color=”#ffff96″ text_color=”#000000″ radius=”5″]Note: If you deploy a new Mailbox server in the site you will need to repeat the subscription procedure for the Edge server.[/su_note]

Once the Edge Subscription process is complete to ensure all outbound messages are routed through the Edge Server you will need to remove any existing send connector that was previously configured on the server as otherwise the server will send any outbound message through that connector.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s