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.
Windows Azure Active Directory Sync (DirSync) or Azure AD Sync as these tools are now deprecated and will reach end of support on April 13, 2017
- 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.
Please review the latest prerequires before Install.
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.
- Sign in as a local Administrator to Azure AD Connect Server.
Navigate to and double-click AzureADConnect.msi.
On the Security Warning page, click Run.
- 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.
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.
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.
- If your internal domain is not a routable domain, you need to select the customization settings to configure user sign-in.
On the Install required components page, check Use an existing service account and type service account name and password, click Install.
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
3. 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.
3. On Connect to Azure AD page, enter global admin account and password, click Next.
Please use an account in the default onmicrosoft.com domain, it will happen error if using the federation domain account.
7. On Domain and OU filtering page, click Sync selected domains and OUs.
I am going to select Exchange hybrid Deployment and Password Synchronization for migrating Exchange services to office 365.
20. Link this GPO to your domain.
You may need more setting steps as follow if you selected ADFS
21. On AD FS farm page, click Use a certificate installed on the federation servers. (optional, If Active Directory Federation Services is being deployed)
22. It will pop up Select Federation Server page, enter AD FS server name in Search field.
23. Select AD FS server and click OK.
24. Select CERTIFICATE and select SUBJECT NAME.
25. Enter ad fs server name in SUBJECT NAME PREFIX, click Next.
26. On the AD FS Servers page, enter AD FS Server name in the SERVER field, click Add.
27. Click Next after verifying server connectivity completed.
28. On the Web Application Proxy servers page, enter WAP Server name in the SERVER field, click Add.
29. Click Next after verifying server connectivity completed.
30. Enter local domain administrator user name and password on the Domain Administrator credentials page, click Next.
21. Enter AD FS service account user name and password on the AD FS service account page.
32. On the Azure AD Domain page, select federation domain name, click Next.
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.
34. Click Next on Configuration complete page.
35. On the Verify federation configuration page, select I have created DNS A records that allow clients to resolve……was configured click Verify.
36. 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.
- Logon to ADFS Server.
- Open AD FS Management and run as administrator.
- Expand Service and select Endpoint.
- 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.
Author: Cary Sun
Cary Sun has a wealth of knowledge and expertise in data center and deployment solutions. As a Principal Consultant, he likely works closely with clients to help them design, implement, and manage their data center infrastructure and deployment strategies.
With his background in data center solutions, Cary Sun may have experience in server and storage virtualization, network design and optimization, backup and disaster recovery planning, and security and compliance management. He holds CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1999. Cary is also a Microsoft Most Valuable Professional (MVP), Microsoft Azure MVP, Veeam Vanguard and Cisco Champion. He is a published author with several titles, including blogs on Checkyourlogs.net, and the author of many books.
Cary is a very active blogger at checkyourlogs.net and is permanently available online for questions from the community. His passion for technology is contagious, improving everyone around him at what they do.
Blog site: https://www.checkyourlogs.net
Web site: https://carysun.com
Blog site: https://gooddealmart.com
Amazon Author: https://Amazon.com/author/carysun