How-To SYNC your On-Premise AD  with AZURE AD (Hands-On)

How-To SYNC your On-Premise AD with AZURE AD (Hands-On)

#AzureAD #AzureADConnect #AzureADcloudsync

Jineshkumar Patel's photo
Jineshkumar Patel
·Sep 4, 2021·

3 min read

Subscribe to my newsletter and never miss my upcoming articles

Play this article

In this Tutorial Blog, We will integrate a Single Forest On-Premise Active Directory (AD) with our Azure Active Directory(AAD) using
Azure AD Connect > "Azure AD cloud sync"

What is Azure AD Connect cloud sync?

Azure AD Connect Cloud Sync is a cloud service alternative to Azure AD Connect software. The organization deploys one or more lightweight agents in their on-premises environment to bridge AD and Azure AD. The configuration is done in the cloud.

Prerequisites

  1. Global administrator account on your Azure AD.
  2. Tenant in Azure Active Directory.
  3. On-Premise AD Server Administrator Access.

My Set up

  1. Server 2016 running from VirtualBox. Conside it On-Prem Server.
  2. AD DS Role Installed (AD Server.)(Local Forest Domain is JP.local)
  3. Azure Portal Global Administrator access.

Step by step guide to Follow

  1. Create Azure AD and Create a Tanent
    Tanent Type : Azure Active Directory AAAAAAAA.JPG Configure the Organization Name and Domain Name. Review+Create AAA.JPG

  2. Download Azure AD cloud sync Agent and Move it to your Local On Premise Active Directory Server
    CCCCCC.JPG

  3. Installing AADConnectProvisioningAgentSetup.exe on On Prem AD Server. 1.JPG Connect/Authenticate Login to Azure AD using Global Admin Account created for Azure AD Directory. 2 authenticate.JPG Configure Service Account 3 Service account Domain Admin.JPG Connect On Prem Active Directory Domain (Mine is JP.local)
    4 Directory local.JPG Agent Install Configuration Confirm Page.
    Active Directory Configuration to Local Domain (JP.LOCAL)
    Azure Active Directory Global Administrator Login configuration.
    5 final confirm.JPG Your agent Installation and Configuration is complete. Provision on Azure AD Portal. 6 Complete.JPG

  4. Azure portal agent verification by > Azure AD> Azure AD Connect Cloud Sync > Review All Agents >It shows Active for my AD Machine. 7 Verified Agents.JPG Also, verify on On-Premise AD Server Services where "Azure AD Connect Agent" Services are running,
    8 Services Verified on local.JPG So far so good. Verified. Status: Active.

  5. Configure Azure AD Connect cloud sync
    Portal > Azure AD > Azure AD Connect > Manage Azure AD cloud sync > New Configuration.
    11. New configuration on AAD Connect sync.png It will automatically filled recently installed AD Connect Cloud Sync Agent Domain (Mine is JP.local) 12 new configuration asking sync which AD.JPG
    Next will allow to edit this provisioning configuration which asks Configuration Scope for Domain or if you want to use any Filter for scope for sync. Also Validate , Notification settings and deploy.
    15 Azure aD Sync Configuration Save.JPG Great ! Saved and My AD Provisioning for JP.local domain is showing "HEALTHY" STATUS 16 healthy local domain AD.JPG

  6. Verify users are created and synchronization is occurring
    For this Test, I created 4 Users (First, Second, Third, Fourth) 18 Local AD Created 4th User.png

And Wooooalllaaaa!! It all synced in few Seconds to my Azure AD under all Users. Note : Directory Synced: YES for local AD Synced Users.
19 all 4 users synced.png

Managing Users from Microsoft 365 Admin Center
I could have also assigned an Administrator Role and have New User signed in into MS 365 Admin Center to manage AD Administration.
20 Office 365 Admin Center Access All Users.png

We have now successfully configured a hybrid identity environment between On-Prem AD and Azure AD using Azure AD Connect cloud sync.

Hope you followed up with this hands-on tutorial. Thank you for the read. I appreciate your time. Let me know if you have any questions or queries during following along with the steps.

Follow for more Azure and AWS Content.

Regards,
Jineshkumar Patel

 
Share this