Migrate Exchange Services from On-premises to Office 365 PART 2- Deploy Azure AD Connect #Azure #Office365 #Exchange

Have you been follow my previously post steps to add your domain to Office 365? if not please check my previously post and do it. If you did and then it’s time to deploy Azure AD connect to sync your on-premises AD to Azure AD (Office 365).

You can download and install Azure AD Connect to your ADFS server or you also can install it at your domain server if you won’t use ADFS server for your infrastructure. you can install Azure Ad Connect with Express settings but I recommend install it with Customized settings, because you can adjust settings to match your requirements.

Deployment Azure AD Connect

If you need a tool to connect your on-premises directory with Azure AD and Office 365, Azure AD Connect is the best way to do it. Azure AD Connect has two installation types for new installation: Express and customized.

Prerequisites

  • It must be installed on Windows Server standard or better.
  • It supports full GUI installed only.
  • Azure AD Connect must be installed on Windows Server 2008 or later. This server may be a domain controller or a member server when using express settings. If you use custom settings, then the server can also be stand-alone and does not have to be joined to a domain.
  • If you plan to use the feature password synchronization, then the Azure AD Connect server must be on Windows Server 2008 R2 SP1 or later.
  • If you plan to use a group managed service account, then the Azure AD Connect server must be on Windows Server 2012 or later.
  • Disable PowerShell Transcription Group Policy.
  • .NET Framework 4.5.1 or later and Microsoft PowerShell 3.0 or later installed.
  • If Active Directory Federation Services is being deployed, the servers where AD FS or Web Application Proxy are installed must be Windows Server 2012 R2 or later. Windows remote management must be enabled on these servers for remote installation.
  • You need SSL Certificates if Active Directory Federation Services is being deployed
  • An Azure AD Global Administrator account for the Azure AD tenant you wish to integrate with. This account must be a school or organization account and cannot be a Microsoft account.
  • Create a A record for AD FS federation service name on both intranet and internet.
  • Check the link for https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-ports if you have firewalls on your intranet.
Note

Please review the latest prerequires before Install.

https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-prerequisites

Install Azure AD Connect with Express settings

If you have a signal forest AD or User sign with the same password using password synchronization, then this is the recommended option to use.

Azure AD Connect Express Settings is used when you have a single-forest topology and password synchronization for authentication.

Before you start installing Azure AD Connect, make sure to download Azure AD Connect and complete the pre-requisite steps in Azure AD Connect: Hardware and prerequisites.

  1. Sign in as a local Administrator to Azure AD Connect Server.
  2. Navigate to and double-click AzureADConnect.msi.

  3. On the Security Warning page, click Run.

  4. On the Welcome screen, select the box agreeing to the licensing terms and click Continue.

5. On the Express settings screen, click Use express settings.

6. On the Enter your Azure AD credentials page, enter the username and password of a global administrator for your Azure AD. Click Next.

7. On the Enter the Active Directory Services enterprise administrator credentials page, enter the username and password for an enterprise admin account. You can enter the domain part in either NetBIOS or FQDN format, Click Next.


Note

The Azure AD sign-in configuration page only shows if you did not complete verify your domains in the prerequisites.

If you see this page, then review every domain marked Not Added and Not Verified. Make sure those domains you use have been verified in Azure AD. Click the Refresh symbol when you have verified your domains.

8. On the Ready to configure screen, click Install.


Note

If you have Exchange in your on-premises Active Directory, then you also have an option to enable Exchange Hybrid deployment. Enable this option if you plan to have Exchange mailboxes both in the cloud and on-premises at the same time.

9. When the installation completes, click Exit.

10. After the installation has completed, sign off and sign in again before you use Synchronization Service Manager or Synchronization Rule Editor.

Install Azure AD Connect with Customized settings

If you have multiple forests or you need to customized your sign-in option or customize synchronization feature, then this is the recommended option to use.

  1. If your internal domain is not a routable domain, you need to select the customization settings to configure user sign-in.
  2. On the Install required components page, check Use an existing service account and type service account name and password, click Install.

Note

By default Azure AD Connect uses a virtual service account for the synchronization services to use. If you use a remote SQL server or use a proxy that requires authentication, you need to use a managed service account or use a service account in the domain and know the password. In those cases, enter the account to use. Make sure the user running the installation is an SA in SQL so a login for the service account can be created

4. On User sign-in page, select pass-through authentication to be the Sign On method, users can sign in to Office 365 using the same password as on-premises network, also, select Enable sign sign-on and then click Next.

5. On Connect to Azure AD page, enter global admin account and password, click Next.

Note

Please use an account in the default onmicrosoft.com domain, it will happen error if using the federation domain account.

6. On Connect your directories page, select local domain and click Add Directory.

7. It will pop up AD Forest account page, select Create new account and enter the service account name and password, click OK and then click Next.

8. On Azure AD sign-in configuration page, make sure the UPN domains present in on-premises AD DS and be verified in Azure AD, click Next.

9. On Domain and OU filtering page, click Sync selected domains and OUs.

10. Select OUs you do want to synchronize to Azure AD, click Next.

11. Click Next on the Uniquely identifying your users page.

12. Click Next on the Filter users and devices page.

13. On Optional features page, select optional features if required, click Next.

I am going to select Exchange hybrid Deployment and Password Synchronization for migrating Exchange services to office 365.

14. On the Enable single sign-on page, click Enter credentials.

15. Enter domain admin service account, click OK and then click Next.

16. Select Start the synchronization process when configuration completes on the Ready to Configure page, click Install.

17. Click Next on Configuration complete page and then click Exit.

18. In order to allow Azure AD to accept Kerberos tickets you need to configure a client GPO. You need to publish these two URL’s to your Internet Zone Settings.

https://autologon.microsoftazureread-sso.com

https://aadg.windows.net.nsatc.net

19. Open Group Policy Management Editor, go to User ConfigurationàPoliciesàAdministrative TemplatesàWindows ComponentsàInternet ExploreràInternet Control Panel, click Security Page, and then double click Site to Zone Assignment List.

20. On the Site to Zone Assignment List page, click Enabled and then click Show…

21. Add two urls as above and click OK.

22. Link this GPO to your domain.

You may need more setting steps as follow if you selected ADFS

23. On AD FS farm page, click Use a certificate installed on the federation servers. (optional, If Active Directory Federation Services is being deployed)

24. It will pop up Select Federation Server page, enter AD FS server name in Search field.

25. Select AD FS server and click OK.

26. Select CERTIFICATE and select SUBJECT NAME.

27. Enter ad fs server name in SUBJECT NAME PREFIX, click Next.

28. On the AD FS Servers page, enter AD FS Server name in the SERVER field, click Add.

29. Click Next after verifying server connectivity completed.

30. On the Web Application Proxy servers page, enter WAP Server name in the SERVER field, click Add.

31. Click Next after verifying server connectivity completed.

32. Enter local domain administrator user name and password on the Domain Administrator credentials page, click Next.

33. Enter AD FS service account user name and password on the AD FS service account page.

34. On the Azure AD Domain page, select federation domain name, click Next.

35. Select Start the synchronization process when configuration completes on the Ready to
Configure page, click Install.

Note

If it happens Unable to create the synchronization service account for Azure Active Directory Error, please check your firewall settings and make sure application control function not be enable and then click Retry.

36. Click Next on Configuration complete page.

37. On the Verify federation configuration page, select I have created DNS A records that allow clients to resolve……was configured click Verify.

38. Click Exit after Intranet configuration was successfully verified.

Enable Password Change for ADFS

If you have an ADFS or Dirsync with Password sync identity it will not allow you to change your password in the cloud. You will receive. But you can configure change password functionality for ADFS server to solve the issue.

The change password functionality is disabled in ADFS, you can follow below steps to enable it.

  1. Logon to ADFS Server.
  2. Open AD FS Management and run as administrator.
  3. Expand Service and select Endpoint.
  4. Right click /adfs/portal/updatepasword and click Enable.

5. It will pop up warning message said “This action requires a restart of the AD FS Windows Service”, click OK.

6. Right click /adfs/portal/updatepassword again and then click Enable on Proxy.

7. It will pop up warning message said “This action requires a restart of the AD FS Windows Service on federation server and all federation server proxies”, click OK.

8. Restart Active Directory Federation Services.

9. Once enabled this functionality, users can access the change password page via https://adfsFQDN/adfs/portal/updatepassword/.

 

Hope you enjoy this post!

Cary Sun

Twitter:@SifuSun

 

Author: Cary Sun

Cary Sun is a Principal Consultant, He has a strong background specializing in datacenter and deployment solutions, and has spent over 20 years in the planning, design, and implementation of network technologies and Management and system integration.He hold CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1999.Cary is also a Microsoft Most Valuable Professional (MVP) and Cisco Champion, He is a published author with serveral titles, include blogs on Checkyourlogs.net, author for many books. Specialties: CCIE /CCNA / MCSE / MCITP / MCTS / MCSA / Solution Expert / CCA
Blog:
http://www.carysun.com http://www.checkyourlogs.net http://gooddealmart.com
Twitter:@SifuSun

2 thoughts on “Migrate Exchange Services from On-premises to Office 365 PART 2- Deploy Azure AD Connect #Azure #Office365 #Exchange

Leave a Reply