
Azure Sync is a powerful tool that enables seamless directory synchronization between Azure Active Directory (Azure AD) and on-premises Active Directory. This means you can easily manage user identities and access across multiple directories.
To get started with Azure Sync, you'll need to have an Azure AD Premium subscription. This subscription provides the necessary features and support for directory synchronization.
Azure Sync uses a process called "sync" to match identities between Azure AD and on-premises Active Directory. This process occurs in the background and is usually completed within a few minutes.
During the sync process, Azure Sync will create a synchronized directory that contains a copy of your on-premises directory. This synchronized directory is used to authenticate users and manage access to Azure resources.
See what others are reading: Sync Active Directory with Azure Ad
Setup and Installation
To set up Azure AD Connect cloud sync, you'll need to develop a thorough installation plan, considering where and how you install the software, just like with Azure AD Connect. This should be on an infrastructure with the same security concerns as your domain controller assets.
You might enjoy: Azure Ad Connect Sync Service Not Running

You'll also need to download the Azure AD Cloud Sync Agent, which can be found under Azure AD Connect -> Cloud Sync -> Agents. Microsoft .NET 7.4.1 or higher is required for the installation.
To complete the setup process, you'll need to successfully authorize Azure AD and go through the rest of the setup process to create your mappings and enable your sync.
A fresh viewpoint: Azure Cloud Sync
Best Tool Choice
Choosing the right tool for your needs is crucial for a smooth setup and installation process. If you need to support a wide range of features like password hash sync, password writeback, and GPO extension, then Azure AD Connect Sync is the better choice.
Azure AD Connect Sync can handle more users and data, making it a better option for large organizations. On the other hand, Azure AD Connect Cloud Sync is a simpler tool that's easier to deploy and manage, making it a good option for small organizations.
Suggestion: Azure Data Studio Connect to Azure Sql

Azure AD Connect Sync also supports Azure AD Premium features like conditional access, which is not available in Azure AD Connect Cloud Sync. This is something to consider when deciding between the two tools.
Ultimately, the best way to decide which tool is right for you is to evaluate your specific needs and requirements.
Installation
To start the installation process, you'll need to develop a thorough installation plan, considering where and how you'll install the Azure AD Connect cloud sync software. It should be installed on an infrastructure with the same security concerns as your domain controller assets.
Microsoft .NET 7.4.1 or higher is required for the Azure AD Cloud Sync Agent, which can be downloaded under Azure AD Connect > Cloud Sync > Agents.
You'll also want to ensure you have the necessary prerequisites, including a designated Azure admin service account with the Azure Global Administrator role, Azure AD groups populated with users to sync, and administrator access to the Sift Admin Dashboard.

Here are the specific prerequisites you'll need:
- A designated Azure admin service account to use for authorizing the sync
- Azure AD groups populated with users to sync
- Administrator access to the Sift Admin Dashboard
- A Directory created in the Sift Admin Dashboard for your Azure Active Directory Sync
To begin the installation, navigate to the Azure AD Connect section of your dashboard and click on Cloud sync.
Configuration and Settings
Reviewing your Azure sync configuration is a crucial step to ensure it's set up correctly. This includes reviewing your past setup, especially if you've used Cloud sync before.
Cloud settings can change, so it's essential to revisit the documentation regularly to stay up-to-date with best practices. Microsoft now recommends using a Cloud Kerberos trust deployment with the Cloud sync tool.
To manage Azure AD cloud sync, you need to browse to the Azure Portal and click on Azure AD Connect, then Cloud sync.
Here are the steps to configure Azure AD cloud sync:
- Click the ‘New configuration‘ button to start the configuration process.
- Choose the defaults, assuming you're syncing only one AD domain.
- Keep ‘Enable password hash sync‘ checked for automatic password management.
There are many options to consider when configuring Azure AD cloud sync, and Microsoft is continually adding new features. Be prepared for screens to change or new options to appear.
To enable or disable sync, click the "Enable Sync" switch on the Source Dashboard. Once enabled, sync will occur every 60 minutes, or you can manually initialize a sync using the "Sync Now" button.
Security Considerations
Azure Sync is built with security in mind, using Azure Active Directory (AAD) for authentication and authorization.
Azure Sync uses end-to-end encryption to protect data in transit, ensuring it remains secure even if intercepted.
Azure Sync is designed to meet the needs of highly regulated industries, such as healthcare and finance, which require strict security protocols.
Data is encrypted at rest using Azure Storage Service Encryption (SSE), which provides an additional layer of security.
Azure Sync also supports conditional access, allowing administrators to set policies based on user identity, location, and device health.
Conditional access policies can be configured to require multi-factor authentication, adding an extra layer of security for sensitive data.
Azure Sync integrates with Azure Security Center, providing real-time threat detection and incident response capabilities.
Azure Sync also supports Azure Identity Protection, which helps prevent identity-based attacks and data breaches.
Azure Sync is built on top of Azure's secure infrastructure, which has undergone rigorous testing and certification to ensure compliance with industry standards.
A fresh viewpoint: Azure Auth Json Website Azure Ad Authentication
Synchronization and Cycles
Synchronization and Cycles are crucial components of Azure AD Connect sync. A delta sync cycle includes delta import, delta sync, and export steps on all Connectors.
You can manually run a cycle using PowerShell, and the command to initiate a delta sync cycle is Start-ADSyncSyncCycle -PolicyType Delta. A full sync cycle, on the other hand, includes full import, full sync, and export steps on all Connectors, and can be initiated with the command Start-ADSyncSyncCycle -PolicyType Initial.
If you need to run a full sync cycle for a specific Connector, you can mark it to run a full sync step using the cmdlet Set-ADSyncSchedulerConnectorOverride. To customize a sync cycle, you can run a mix of delta and full sync steps.
Here's a brief overview of the cmdlets to customize a sync cycle:
You can use these cmdlets to run a delta sync cycle with a full sync step for a specific Connector, or to run a delta sync cycle with a full import and full sync step if new attributes need to be imported.
Azure AD Connect sync is a powerful tool that allows you to synchronize identity data between your on-premises environment and Azure AD. It includes many key capabilities, such as synchronization between single forest, multiple forest, and LDAPv3 compatible tenants, and password hash synchronization.
Suggestion: Azure Sync Delta
Troubleshooting and Testing
Click the Review and enable configuration button at the top, then click Enable Configuration to start the syncing process. This will trigger a 2-minute wait period before you can refresh your browser and click the Overview tab to verify the sync.
You can verify that the sync is working by checking the number of users in the Azure AD portal. If you've filtered out a user in a specific OU, a new user will be synced – in this case, John Reinders. This is a good indication that the syncing infrastructure is working.
The default setting is to sync all the users in your Active Directory. However, you can choose to sync only select security groups OR select organization units (OUs) by configuring Azure AD Connect.
To troubleshoot any issues, wait about 2 minutes after enabling configuration, then refresh your browser and check the Overview tab. This will give you a clear view of the syncing process and any errors that may have occurred.
The Expression builder is a powerful tool that allows you to customize how certain attributes get synced, and how to use expressions to match specific user attributes from one Active Directory domain and other attributes from another AD domain to produce the best single object in Azure AD.
Here are the steps to troubleshoot and test Azure sync:
- Click the Review and enable configuration button at the top
- Wait 2 minutes, then refresh your browser and click the Overview tab
- Verify that the number of users has increased by 1, indicating a new user has been synced
Active Directory Integration
Azure Active Directory sync refers to two different Microsoft identity management tools: Azure AD connect sync and Azure AD Connect cloud sync. These tools ensure that usernames and passwords match between on-premises servers and cloud services.
Azure AD Connect cloud sync is designed to meet hybrid identity goals by syncing users, contacts, groups, devices, and more to Azure AD. It can be used side-by-side with the cloud sync provisioning agent.
Azure AD Connect sync and Azure AD Connect cloud sync have some key differences. Here are some of the main features that compare the two:
One major scenario not supported with Azure AD Connect cloud sync is Exchange hybrid, where mailboxes exist both on-premises and in Microsoft 365.
Active Directory
Azure Active Directory (Azure AD) sync is a crucial tool for connecting cloud services to on-premises servers, ensuring that usernames and passwords match up in both environments.
Azure AD Connect sync and Azure AD Connect cloud sync are two different Microsoft identity management tools that serve this purpose. Azure AD Connect sync is designed to meet hybrid identity goals by syncing users, contacts, groups, devices, and more to Azure AD.
A key feature comparison between Azure AD Connect sync and Azure AD Connect cloud sync is shown in the following table:
Azure AD Connect cloud sync is designed to be a more lightweight and scalable solution, with features like on-demand provisioning and support for up to 150,000 objects per AD domain.
However, there is one major limitation of Azure AD Connect cloud sync: it does not support Exchange hybrid deployments, where mailboxes exist both on-premises and in Microsoft 365.
Selecting Which Groups
You can select which groups you want to sync from your Azure AD domain. Simply start typing the name of your Azure AD groups and any groups that match your input will be displayed in the form autocomplete.
Multiple groups can be selected by choosing the first group then beginning to type again to choose a second.
If no groups are selected, all users on your Azure AD tenant will be imported. This means you'll be importing everyone, which can be a lot of data to manage.
You can narrow down the import by selecting specific groups, and only those within the selected groups will be imported. This helps you focus on the users and data that matter most to your organization.
Running and Scheduling
To run Azure AD Connect cloud sync, you'll need to consider its resource requirements, which are lower than those of Azure AD Connect sync, making it suitable for smaller organizations.
Azure AD Connect cloud sync is designed to replace Azure AD Connect sync, but for now, it's still used for smaller organizations.
To configure the scheduler, you can use PowerShell and run the Get-ADSyncScheduler cmdlet, which shows your current configuration settings. However, if you see an error message saying the sync command or cmdlet isn't available, you'll need to run Import-Module ADSync to make it available.
You can change some of the scheduler settings with the Set-ADSyncScheduler cmdlet, but be aware that some settings, like SchedulerSuspended, should only be modified by Connect, and isStagingModeEnabled is unsupported to be set with PowerShell directly.
Here are some key scheduler settings that you can modify:
Running
Azure AD Connect sync is the preferred tool for syncing with Active Directory in large organizations, but it requires a larger resource and raises security concerns.
If you have a smaller organization, Azure AD Connect cloud sync is a good option, as it requires fewer resources and is designed for smaller organizations.
Currently, Azure AD Connect sync is the older of the two synchronization platforms and will be phased out once it's no longer necessary, while Azure AD Connect cloud sync is the newer platform, anticipated to replace it.
Azure AD Connect cloud sync is designed for smaller organizations and requires fewer resources, making it a more efficient option for smaller businesses.
Scheduler
The scheduler is a crucial component of Microsoft Entra Connect, responsible for running synchronization cycles. It's stored in Microsoft Entra ID, and changes made on the primary server will affect the staging server, except for IsStagingModeEnabled.
To view your current scheduler configuration, run Get-ADSyncScheduler in PowerShell. If you see an error, it might be because the PowerShell module isn't loaded, in which case you can run Import-Module ADSync to make the cmdlet available.
The scheduler has several settings that can be modified, including CustomizedSyncCycleInterval, NextSyncCyclePolicyType, PurgeRunHistoryInterval, SyncCycleEnabled, and MaintenanceEnabled. You can change these settings using the Set-ADSyncScheduler cmdlet.
Here are some key settings to keep in mind:
- AllowedSyncCycleInterval: The shortest time interval between synchronization cycles allowed by Microsoft Entra ID.
- CurrentlyEffectiveSyncCycleInterval: The schedule currently in effect, which is the same as CustomizedSyncCycleInterval if it's not more frequent than AllowedSyncInterval.
- CustomizedSyncCycleInterval: The interval at which the scheduler runs, which can be set to a value lower than AllowedSyncInterval.
- NextSyncCyclePolicyType: Either Delta or Initial, which defines if the next run should only process delta changes or do a full import and sync.
- PurgeRunHistoryInterval: The time operation logs should be kept, with a default of 7 days.
- SyncCycleEnabled: Indicates if the scheduler is running the import, sync, and export processes.
- MaintenanceEnabled: Shows if the maintenance process is enabled, which updates certificates/keys and purges the operations log.
- StagingModeEnabled: Shows if staging mode is enabled, which suppresses exports but still runs import and synchronization.
Remember that some settings, like SchedulerSuspended, should only be modified by Connect, and isStagingModeEnabled is unsupported to set with PowerShell directly.
Troubleshooting and Verification
Click the Review and enable configuration button at the top, then click Enable Configuration. This will initiate the process of enabling configuration for Azure AD sync.
Wait about 2 minutes, then refresh your browser, and click the Overview tab on top. This is a crucial step to verify that the configuration has been successfully enabled.
To ensure that the syncing infrastructure is working correctly, you'll want to enter a notification email address. Click the Properties tab and click the pencil (Edit) icon next to Basics.
Enter an administrator email to receive alerts about the syncing infrastructure. Click Apply at the bottom to save the changes.
The number of users in your Azure AD portal may increase after enabling configuration, indicating that new users are being synced from Active Directory. This happened in our example, where the number of users went from 31 to 32.
This increase in user count can be a good indication that the syncing process is working correctly. In our example, a new user named John Reinders was synced, which suggests that the filtering we had previously applied was not in effect.
You can verify this by checking the Users view in the Azure AD portal, where you can view all of your users.
Featured Images: pexels.com

