Quantcast
Channel: Practical 365
Viewing all articles
Browse latest Browse all 515

Preparing for Hybrid Deployment with Exchange and Office 365

$
0
0

I’ve previously discussed the different migration methods for Office 365, and the benefits of a Hybrid deployment. In this article, I’ll prepare my Exchange organization for Hybrid deployment.

The current on-premises environment is running:

  • 2 x Exchange 2016 Mailbox servers
  • 1 x Exchange 2013 multi-role server
  • 1 x Exchange 2013 Edge Transport server
  • 1 x Exchange 2010 multi-role server

All servers are full patched and updated to meet the support requirements for running a Hybrid configuration.

There is a load balancer in place for both internal and external client access to Exchange, which distributes client traffic between the available Exchange 2013 and 2016 servers. User mailboxes are distributed across all three versions of Exchange.

When mailboxes are migrated to Exchange Online I want users to log on using their on-premises Active Directory credentials, so I’ll be deploying directory synchronization with password sync as the identity model.

The Exchange organization is experiencing a problem with spam, so inbound mail flow will be moved to the cloud to take advantage of Exchange Online Protection, using the Edge Transport server between the cloud and on-premises environments.

An Office 365 tenant with E3 licenses has been provisioned, ready to use for the Hybrid deployment.

Adding Domain Names to Office 365

The Exchange organization uses a domain of “exchangeserverpro.net”, so I need to add that custom domain to the Office 365 tenant. This task is performed in the Office 365 admin portal, in the Domains section.

office-365-hybrid-prepare-domain-01

When you add a domain Microsoft will provide you with a TXT record value to add to the public DNS zone for that domain, which proves that you own and control the domain.

office-365-hybrid-prepare-domain-02

After successfully verifying domain ownership we’re also given the option to update existing user accounts to use the new domain, or add new accounts. I’ve skipped both options in this case, and proceeded to the DNS records. For this organization I host my own DNS records in Amazon Web Services Route 53.

office-365-hybrid-prepare-domain-03

I’m also planning to use the domain for Outlook, Skype, and MDM. The selections at this step determine which DNS records Microsoft will ask you to create.

office-365-hybrid-prepare-domain-04

The full list of DNS records to add is presented. A word of caution here; I’m not ready to direct mail flow and Autodiscover to Office 365 yet, because I’m just making preparations for my Hybrid deployment at this stage. So the Autodiscover, SPF and MX records will not be added to my DNS zone now. The other records can be added at this time though.

office-365-hybrid-prepare-domain-05

We can ignore the errors for the records that aren’t ready to be deployed or changed at this stage.

office-365-hybrid-prepare-domain-06

Configuring Active Directory Synchronization

To get started with Active Directory synchronization I need to enable it in my Office 365 tenant. After logging in to the Office 365 portal with a tenant admin account, go to Users -> Active Users, and click Manage for Active Directory synchronization.

office-365-hybrid-prepare-01

 

The directory sync status should be set at “deactivated” if this is the first time you’ve looked here. Click the button to Activate directory sync.

office-365-hybrid-prepare-02

Preparing for Directory Synchronization

While we’re here I’ll also download the IdFix Tool to run in the on-premises Active Directory. IdFix scans your Active Directory for any objects or attributes that might cause a problem with directory synchronization, and you should always run it as part of your preparation. Fortunately in my case, there are no problems reported.

office-365-hybrid-prepare-03

Installing Azure Active Directory Connect

Next, I’m going to download and install Azure Active Directory Connect (AAD Connect). AAD Connect is the latest tool from Microsoft for deploying directory synchronization, replacing the earlier DirSync and AADSync tools. If you’re deploying a Hybrid configuration today, I recommend you start with AAD Connect. However, there are some scenarios where the other tools may be required instead. You can read more about those in our eBook, Office 365 for Exchange Professionals.

AAD Connect has an express setup option, which I am going to use to speed up the install since it meets the basic requirements of my scenario.

office-365-hybrid-prepare-04

Enter the Azure AD credentials (this is the Office 365 tenant admin account that was created while provisioning the tenant).

office-365-hybrid-prepare-05

Then enter on-premises Active Directory enterprise admins credentials.

office-365-hybrid-prepare-06

Before completing setup I need to uncheck the box so that synchronization doesn’t start immediately, and then check the box for Exchange hybrid deployment.

office-365-hybrid-prepare-07

Finally, I click Install to let setup go ahead and install AAD Connect on my server.

office-365-hybrid-prepare-08

Configuring Azure Active Directory Connect

I want to customize my AAD Connect configuration before I start synchronizing, but before I do anything I first need to log out and log back in to the server. After logging back in, open the Synchronization Service Manager. Select Connectors, then open the properties of the Active Directory Domain Services connector.

office-365-hybrid-prepare-09

In Configure Directory Partitions go to Containers. There’s a prompt for credentials at this step, so just enter your administrator credentials to proceed.

office-365-hybrid-prepare-10

By default, all of the containers in Active Directory are selected for synchronization. The customization I want to make in this case is to remove all but my “Company” OU, so that every object in the on-premises Active Directory is not synchronized to the cloud (for example, I don’t want service accounts synchronizing).

office-365-hybrid-prepare-11

After applying that change, it’s time to enable synchronization.

Enabling the Synchronization Schedule

On the AAD Connect server a Task Scheduler task has been configured by AAD Connect for the synchronization schedule. The task is disabled because I chose not to start initial synchronization at the end of setup. All I need to do now is enable it.

office-365-hybrid-prepare-12

Simply wait for the next run time of the task. Or run it manually if you’d like to see results straight away.

Verifying Active Directory Synchronization

If Active Directory synchronization was successful we see user accounts populated in the Office 365 admin portal, with a status of “Synced with Active Directory”.

office-365-hybrid-prepare-13

You can also go to https://portal.office.com and log in with one of the user accounts to verify that the username and password works.

office-365-hybrid-prepare-14

Summary

In this tutorial I demonstrated how to prepare for a Hybrid Exchange deployment with Office 365 by adding domain names to the Office 365 tenant, and by installing and configuring AAD Connect to provide directory synchronization.

In the next part of this series I’ll demonstrate how to create the Hybrid configuration.


This article Preparing for Hybrid Deployment with Exchange and Office 365 is © 2016 ExchangeServerPro.com

Get more Exchange Server tips at ExchangeServerPro.com

     

Viewing all articles
Browse latest Browse all 515

Trending Articles