What Does Azure AD Connect Mean?
On This Page
What do you want to do?
Quick Definition
Azure AD Connect connects your company’s local user accounts to Microsoft’s cloud. It copies usernames and passwords from your office servers to the cloud so people can use the same login for both. This tool helps keep everything in sync without manual work.
Common Commands & Configuration
New-AzureADConnectConfigDocument -ConsentToPermissions | Export-AADConnectConfigDocument -OutputDirectory C:\AADConnectGenerates a configuration document from an existing Azure AD Connect server that can be used for staging or disaster recovery.
Tests understanding of how to back up or replicate Azure AD Connect settings without re-running the wizard.
Set-ADSyncScheduler -SyncCycleEnabled $falseDisables the automatic synchronization cycle in Azure AD Connect, often used before performing manual sync or maintenance.
Appears in questions about controlling sync frequency and pausing sync for troubleshooting.
Start-ADSyncSyncCycle -PolicyType InitialTriggers a full sync cycle instead of the default delta sync, useful when schema or filter changes have been made.
Exams test the difference between 'Initial' and 'Delta' sync cycles and when to use each.
Remove-ADSyncAADServiceAccount -ServiceAccountType PasswordHashSyncRemoves the service account used for password hash synchronization, a step in decommissioning Azure AD Connect.
Tests knowledge of service accounts and cleanup procedures for Azure AD Connect migration.
Set-ADSyncPasswordHashSyncPermissions -AccountName "CONTOSO\svcAADSync"Grants the specified service account the required permissions to synchronize password hashes to Azure AD.
Often part of exam scenarios about permission issues when password hash sync fails.
Export-AADConnectServerConfiguration -Path C:\Config\server1.jsonExports the complete Azure AD Connect server configuration to a JSON file for migration or staging setup.
Used in exam questions about high availability and staging server configuration.
Get-ADSyncConnectorRunStatus -ConnectorName "contoso.com - AAD"Displays the current run status of the specified connector, including last sync time and error details.
Exams test ability to interpret connector run status for troubleshooting sync failures.
Azure AD Connect appears directly in 22exam-style practice questions in Courseiva's question bank — one of the most-tested concepts on AZ-104. Practise them →
Must Know for Exams
Azure AD Connect is heavily tested across multiple Microsoft exams, particularly those focused on identity, administration, and security. In the AZ-900 Azure Fundamentals exam, candidates must understand the purpose of Azure AD Connect as a hybrid identity tool and know the basic options: password hash synchronization, pass-through authentication, and federation. Questions often present scenarios where a company wants to synchronize identities from on-premises to Azure AD and ask which feature to use.
The SC-900 Security, Compliance, and Identity Fundamentals exam also covers Azure AD Connect in the context of hybrid identity and authentication methods. The AZ-104 Microsoft Azure Administrator exam dives deeper, requiring knowledge of how to install and configure Azure AD Connect, manage sync rules, and troubleshoot sync errors. Candidates must know the differences between the authentication methods, when to use each, and how to enable seamless SSO.
Exam questions may ask about the ports required, the prerequisites for installation, or the behavior of soft-delete protection. The MS-102 Microsoft 365 Administrator exam includes Azure AD Connect as a core component for identity synchronization in Microsoft 365 deployments. Learners must understand how Azure AD Connect affects user provisioning for Exchange Online, SharePoint Online, and Teams.
The SC-300 Identity and Access Administrator exam covers Azure AD Connect in depth, including attribute mapping, hybrid identity scenarios, and integration with Windows Hello for Business and conditional access. For all these exams, common question patterns include: choosing the correct authentication method based on a scenario (e.g.
, high security requiring no passwords in cloud, or fast sign-in requiring password hash sync), identifying the correct steps to install or upgrade Azure AD Connect, and troubleshooting synchronization failures like objects not appearing in Azure AD. Questions may also ask about the impact of changing the sourceAnchor attribute or how to handle duplicate attributes. Since Azure AD Connect is a Pillar-class term, exam objectives expect learners to not only know what it is but also to understand its configuration, monitoring, and optimization.
Recognizing common mistakes, such as installing Azure AD Connect on a domain controller or failing to meet network requirements, is critical for passing scenario-based questions. In the AWS exams listed, Azure AD Connect is not directly tested but may appear in cross-cloud identity management context, such as questions about federating AWS with Azure AD for single sign-on. For Google Cloud exams, similar concepts of hybrid identity apply.
Overall, any certification covering Azure identity will test Azure AD Connect, making it a high-yield study topic.
Simple Meaning
Imagine you work for a company that has its own office building with a security guard who knows everyone. If the company also gets a cloud-based office in the sky, the guard can’t see who comes in there. Instead of everyone getting a separate cloud badge, the company hires a magical bridge worker.
That bridge worker takes the list of employees from the office building and copies it securely to the cloud office, along with their photos and keys. Whenever someone joins, leaves, or changes their name, the bridge worker updates both lists automatically. That magical bridge worker is Azure AD Connect.
It runs on a server inside your company and connects to Microsoft’s cloud identity service. It copies your local Active Directory users, groups, and passwords to Azure Active Directory. This means you only need to manage one set of accounts in your local office, and the cloud stays in sync.
The most important part is password synchronization. Azure AD Connect can synchronize password hashes so users never need to remember a separate cloud password. It can also set up a feature called pass-through authentication, which lets the cloud ask the local server directly if a password is correct.
Azure AD Connect also allows your users to sign in once, a concept called single sign-on, so they don’t have to type their password repeatedly for cloud apps. In essence, Azure AD Connect is the glue that makes a hybrid identity world work smoothly. Without it, IT teams would have to create and manage two separate sets of accounts, which is error-prone and frustrating for users.
By using this tool, companies can offer seamless access to both on-premises applications like file servers and cloud applications like Microsoft 365 or Azure resources. This is why Azure AD Connect is a fundamental pillar for any organization moving to the cloud while keeping their existing directory infrastructure.
Full Technical Definition
Azure AD Connect is the primary Microsoft tool for hybrid identity integration, bridging on-premises Active Directory (AD) with Azure Active Directory (Azure AD). Released in 2015 as the successor to earlier tools like DirSync and Azure AD Sync, it provides a unified identity lifecycle for users across both environments. At its core, Azure AD Connect uses a synchronization engine that runs on a Windows server, either on-premises or hosted, and communicates with both local domain controllers and Microsoft’s cloud endpoints via HTTPS.
The tool implements several key components: the synchronization service, the Azure AD Connect Health agent, and optionally the Active Directory Federation Services (AD FS) or Pass-through Authentication (PTA) agents. The synchronization engine performs delta and full imports from on-premises AD, transforms object attributes according to configurable rules, and exports those objects to Azure AD. It uses the Microsoft Identity Manager (MIM) synchronization engine under the hood.
The default attribute mapping synchronizes critical fields such as userPrincipalName, sAMAccountName, displayName, mail, proxyAddresses, and password hash. When password hash synchronization (PHS) is enabled, the tool retrieves password hashes from on-premises domain controllers using the MS-DRSR protocol, hashes them with a salt and iterates them 1,000 times using PBKDF2, then synchronizes the resulting hash to Azure AD over SSL. This allows users to sign in to Azure AD with the same password they use on-premises.
Pass-through Authentication (PTA) offers an alternative where the password validation occurs on-premises through a lightweight agent that receives authentication requests from Azure AD and validates them against the local domain controller. This ensures no password hash ever leaves the on-premises environment. Another critical feature is seamless single sign-on (SSO), which uses Kerberos delegation to automatically sign users into cloud apps when they are on a domain-joined device inside the corporate network.
Azure AD Connect also supports federation with AD FS for organizations requiring advanced authentication policies, such as smart card login or third-party multi-factor authentication. The synchronization process follows a schema where objects from the on-premises Metaverse are matched to cloud objects using the sourceAnchor attribute, typically the objectGUID from on-premises AD. The ImmutableId is exported to Azure AD to ensure consistent matching across sync cycles.
The tool also handles deletes with soft-delete protection, preventing accidental mass deletions by requiring administrator approval for deletions above a configurable threshold (default 500 objects). Administrators configure sync rules via the synchronization rules editor, which allows filtering objects (e.g.
, exclude certain OUs), transforming attributes, and setting scoping filters. Azure AD Connect Health provides monitoring, alerts, and usage analytics for the synchronization pipeline, federation servers, and PTA agents. The tool must be installed on a Windows Server 2016 or later, requires .
NET Framework 4.7.2, and needs connectivity to both on-premises DCs and Azure endpoints over ports 80 and 443. It does not support multi-forest scenarios with disconnected schemas without additional customization.
For organizations with multiple forests, Azure AD Connect can merge identities using a common attribute like mail or userPrincipalName. The tool supports up to 500,000 objects in its free version, with larger deployments requiring a separate SQL Server instance. It also provides a staging mode for testing sync changes before going live.
Azure AD Connect is a mature, Microsoft-supported synchronization solution that forms the backbone of most hybrid identity deployments, enabling password sync, pass-through authentication, federation, and seamless SSO.
Real-Life Example
Think of a large bank that has multiple branches across a city. Each branch has its own safe with the same set of keys for employees. The head office keeps a master list of all employees and which keys they have.
Now the bank decides to open a digital branch online. Customers can access their accounts through a secure website. The bank wants employees to use the same badge and key code to access both the physical branches and the digital branch.
If the digital branch maintained a separate list, every time an employee is hired, fired, or promoted, someone would have to update both lists. That is slow and leads to mistakes. So the bank hires a trusted courier.
This courier works from the head office. Every night, it takes the master list, makes a certified copy, and delivers it to the digital branch. If a manager updates a key code on the master list, the courier picks up that change and delivers it the next night.
The digital branch trusts the courier because it always brings the same high-quality copy. Once in a while, the digital branch gets a customer who says they forgot their password. The digital branch cannot look up the password because it only has a copy of the password hash, not the original.
Instead, the digital branch calls the head office directly and says, can you check if this person’s password is correct? The head office checks and says yes, and the digital branch lets them in. That direct call is pass-through authentication.
When an employee walks into the physical branch and is already recognized because they logged into the branch computer that morning, the head office tells the digital branch, this person is already checked in, let them through without asking for a password again. That is seamless single sign-on. The courier also brings updates when someone’s name changes or when a group of employees gets new permissions to open a vault.
The courier never tells the digital branch anything it is not supposed to. If the head office fires someone, the courier also tells the digital branch to revoke access immediately. The courier can be paused for maintenance, and if it ever makes a mistake that would delete too many accounts, it stops and asks for approval first.
Azure AD Connect is that trusted courier. It synchronizes identity data from on-premises Active Directory to Azure Active Directory. It can also forward authentication requests back to the on-premises domain controllers.
It ensures that the cloud directory always knows who the employees are, what groups they belong to, and whether they can be authenticated. Because the courier runs on a server inside the bank, the bank controls the security. The courier uses encrypted channels to talk to the cloud.
The bank can also have multiple couriers if it has several branches. This whole system means the bank only needs one authoritative source of truth for identity, the on-premises Active Directory, and the cloud directory is just a reliable copy that is always up to date.
Why This Term Matters
Azure AD Connect matters because it eliminates the administrative overhead and security risk of maintaining two separate identity directories. Without it, IT teams would have to manually create and manage user accounts in both on-premises Active Directory and Azure AD. This duplication leads to inconsistency, where a user might be disabled on-premises but still have active access to cloud resources.
For organizations using Microsoft 365, Azure, or other SaaS applications that federate with Azure AD, a broken identity sync can result in lost productivity, security breaches, or compliance violations. Azure AD Connect also enables critical hybrid scenarios like password hash synchronization, which allows users to use the same password for both environments. This reduces help desk calls for password resets and improves user adoption of cloud services.
The tool supports modern authentication protocols and can be configured to meet strict security requirements, such as requiring multi-factor authentication through Conditional Access policies. From a disaster recovery perspective, Azure AD Connect ensures that if the on-premises directory is unavailable, users can still access cloud resources as long as password hash sync is enabled, because the cloud has a copy of the password hash. For organizations that must keep passwords on-premises for compliance, pass-through authentication is a solution that never sends password hashes to the cloud.
The tool also provides monitoring via Azure AD Connect Health, which alerts administrators to sync errors, performance issues, or unhealthy agents. This proactive monitoring prevents small problems from escalating into full outages. In practice, Azure AD Connect is a foundational component of most enterprise identity strategies.
It supports complex multi-forest environments, attribute-level transformations, and granular filtering of synchronized objects. Without Azure AD Connect, hybrid identity would require custom scripts or third-party tools that are harder to maintain and lack Microsoft’s official support. For IT professionals, understanding Azure AD Connect is essential for designing and troubleshooting identity infrastructure, which is a core competency for roles like identity administrator, cloud architect, and support engineer.
The tool directly impacts end-user experience, security posture, and operational efficiency.
How It Appears in Exam Questions
Azure AD Connect appears in certification questions in three main patterns: scenario-based selection, configuration steps, and troubleshooting. In scenario-based questions, the exam presents a company with an on-premises Active Directory and a need to provide users with single sign-on to Microsoft 365 or Azure. The question asks which authentication method to choose.
For example, a company with 500 employees that wants the fastest sign-in with minimal infrastructure might use password hash synchronization with seamless SSO. A company that cannot store password hashes in the cloud due to regulatory reasons would use pass-through authentication. A company that needs third-party smart card authentication would use federation with AD FS.
These questions test the trade-offs between simplicity, security, and infrastructure requirements. Another common question type asks about the correct order of steps to install Azure AD Connect. For example, a candidate might be asked what to do first: run the Azure AD Connect wizard, sign in with global admin credentials, or configure sync filtering.
The correct answer is to run the wizard and follow the prompts. Questions may also ask about prerequisites, such as which Windows Server version is required, what ports must be open, or whether the tool can be installed on a domain controller (it should not). Troubleshooting questions present a scenario where synchronization has stopped, users are not appearing in Azure AD, or password sync is failing.
The candidate must identify the likely cause, such as a firewall blocking HTTPS traffic, a service not running, or the account used for synchronization being locked. Questions may also ask about the behavior of the soft-delete threshold: if an admin accidentally deletes too many objects, Azure AD Connect will stop and require confirmation. Some questions require interpreting output from the Azure AD Connect synchronization service manager, such as error codes like 1034 for object attribute validation errors.
Another pattern involves multiple-choice questions that compare Azure AD Connect to older tools like DirSync or Azure AD Sync, asking which tool is the current recommended solution. Learners should also expect questions about attribute-level filtering, such as how to exclude a specific organizational unit from synchronization. In advanced exams like SC-300, questions may ask how to customize sync rules using the synchronization rules editor or how to set the sourceAnchor attribute.
Performance-based labs may require the candidate to run the Azure AD Connect wizard in a simulated environment and configure settings. Understanding these question patterns helps learners focus their study on the practical, decision-making aspects of Azure AD Connect rather than rote memorization.
Practise Azure AD Connect Questions
Test your understanding with exam-style practice questions.
Example Scenario
ABC Corporation has 200 employees and uses an on-premises Active Directory for all user accounts. The company recently purchased Microsoft 365 Business Premium licenses and wants employees to use their existing corporate usernames and passwords to access Microsoft 365 apps like Outlook and Teams. The IT manager, Sarah, decides to use Azure AD Connect to synchronize the accounts.
She has a Windows Server 2019 running in a virtual machine. She downloads the Azure AD Connect tool from the Microsoft website and runs the installation wizard. During setup, she selects the express settings option, which automatically enables password hash synchronization and seamless single sign-on.
She signs in with her Microsoft 365 global administrator credentials and uses the on-premises Enterprise Admin account for the forest connection. The wizard detects her domain and configures the synchronization filters. After the initial synchronization completes, all 200 users appear in the Azure AD portal with their correct display names, email addresses, and groups.
The next day, Sarah notices that a new employee, John, cannot sign in to Teams. She checks the Azure AD portal and sees John’s account is not there. She opens the synchronization service manager on the server and sees a synchronization error.
The error indicates that John’s userPrincipalName attribute contains a character that is not valid in Azure AD. Sarah corrects the attribute in the on-premises Active Directory, runs a delta synchronization, and John’s account appears in Azure AD. Now John can sign in to Teams with his corporate password.
Later, the company enforces multi-factor authentication for all cloud apps using Conditional Access. Since password hash sync is enabled, users can still use the same passwords and the MFA prompt appears during sign-in. This scenario illustrates the typical deployment flow, common sync issue, and the operational value of Azure AD Connect.
Common Mistakes
Installing Azure AD Connect on a domain controller
Domain controllers have a different security posture and are not designed for running application services. Running Azure AD Connect on a DC can cause performance issues, introduce instability, and violate best practices for domain controller hardening.
Install Azure AD Connect on a dedicated Windows member server that is joined to the domain but is not a domain controller.
Selecting the wrong authentication method without understanding the security requirements
For example, choosing password hash synchronization when the organization must adhere to regulations that forbid storing password hashes in the cloud. This leads to compliance violations.
Assess the organizational security and compliance requirements first. If passwords must never leave on-premises, use pass-through authentication. If federation is needed for smart cards, use AD FS.
Accidentally deleting too many objects and not understanding the soft-delete threshold
If an admin misconfigures the sync scope or deletes a large number of on-premises accounts, Azure AD Connect will delete them from Azure AD too. The default threshold of 500 objects prevents accidental bulk deletion, but new admins may ignore the warning.
Always verify the deletion count when the soft-delete threshold triggers. Use the staging mode option to test changes before applying them to production.
Using the same service account for both on-premises sync and cloud administration
The on-premises account needs specific directory permissions, while the cloud account needs global admin privileges. Using the same account for both creates unnecessary risk. If the account is compromised, an attacker gains full control.
Create dedicated service accounts for Azure AD Connect with the minimum required permissions. Use separate accounts for the forest connection and the Azure AD connection.
Not enabling the filter for organizational units and syncing the entire directory
Syncing all OUs can synchronize unnecessary objects like service accounts, computers, or test users, cluttering Azure AD and potentially exceeding licensing limits.
Use the OU-based filtering feature in Azure AD Connect to synchronize only the specific OUs containing user and group objects that need cloud access.
Running the Azure AD Connect wizard without closing other Active Directory tools
Open AD tools can lock attributes or cause conflicts that lead to synchronization errors and failed installations.
Close all Active Directory management consoles, PowerShell windows, and other directory tools before starting the Azure AD Connect wizard.
Exam Trap — Don't Get Fooled
{"trap":"A question states: A company has on-premises Active Directory and wants users to have a single sign-on experience to Microsoft 365 without storing any password hashes in the cloud. The candidate selects 'Password hash synchronization with seamless SSO' because they focus on the single sign-on requirement.","why_learners_choose_it":"Learners associate password hash synchronization with the easiest way to enable SSO and think the seamless SSO feature provides the single sign-on part.
They overlook the explicit requirement that no password hashes be stored in the cloud.","how_to_avoid_it":"Read the question carefully. If the requirement says no password hashes in the cloud, password hash synchronization is disallowed.
The correct answer is pass-through authentication combined with seamless SSO. Pass-through authentication validates passwords on-premises and never synchronizes hashes, while seamless SSO provides automatic sign-on for domain-joined devices."
Commonly Confused With
DirSync was the predecessor to Azure AD Connect, used for syncing on-premises AD with Azure AD. It is now deprecated and does not support modern features like pass-through authentication, seamless SSO, or password writeback. Azure AD Connect is the current supported tool.
If you see an old exam reference to DirSync, the correct answer is to use Azure AD Connect instead.
Azure AD Sync was another older synchronization tool released before Azure AD Connect. It offered more configuration options than DirSync but is also deprecated. Azure AD Connect includes everything Azure AD Sync had plus new features like health monitoring and express settings.
A company still using Azure AD Sync should upgrade to Azure AD Connect, not continue using the old tool.
Azure AD Connect is the overall synchronization tool that installs multiple components, including the sync engine, the PTA agent, and optionally AD FS. The PTA agent is just one component that forwards authentication requests to on-premises. Azure AD Connect manages the entire installation and lifecycle.
When you install Azure AD Connect and choose the pass-through authentication method, the wizard also installs the PTA agent on the same server.
AD FS is a separate server role for federated identity, providing single sign-on across organizational boundaries. Azure AD Connect can configure and deploy AD FS as part of its installation, but Azure AD Connect itself is the sync tool. AD FS handles authentication, while Azure AD Connect handles directory synchronization.
If a company wants to allow external partners to use their own credentials to access internal apps, they need AD FS. Azure AD Connect alone cannot do federation.
Azure AD Connect Health is a monitoring service that works alongside Azure AD Connect. It provides alerts, usage reports, and performance data about the sync engine, AD FS, and PTA agents. It is not a sync tool itself.
To see if syncing errors are occurring, administrators use Azure AD Connect Health, not the Azure AD Connect wizard.
Step-by-Step Breakdown
Prerequisites Check
Before installing Azure AD Connect, ensure the server runs Windows Server 2016 or later, has .NET Framework 4.7.2, and has network connectivity to both the on-premises domain controllers and Microsoft's Azure endpoints on ports 80 and 443. The account running the wizard must have Enterprise Admin rights on-premises and Global Admin rights in Azure AD.
Download and Run the Installer
Download the latest Azure AD Connect installer from Microsoft. Run the file as an administrator. The installation begins and provides two options: Express Settings and Custom Settings. Express settings are suitable for single-forest, single-domain environments with password hash sync.
Sign In to Azure AD
The wizard prompts for Azure AD credentials. Enter a global administrator account for the Azure AD tenant. This account is used during installation and will be granted the Hybrid Identity Administrator role automatically. Do not use a personal Microsoft account.
Connect to On-Premises Active Directory
Enter credentials for an on-premises account that has sufficient permissions to read the directory. For express settings, the wizard uses the Enterprise Admin account. The wizard discovers the forests and domains available for synchronization.
Configure Authentication Method
Choose the authentication method that fits the organization's needs. Password hash synchronization stores a hash of the password in Azure AD. Pass-through authentication validates passwords on-premises through an agent. Federation uses AD FS. The wizard also allows enabling Seamless SSO at this step.
Configure Synchronization Filters
In custom settings, administrators can filter which OUs, domains, or attributes to synchronize. This step limits the objects that appear in Azure AD. The wizard also configures the sourceAnchor attribute (usually objectGUID) and optional attribute mapping changes.
Enable Optional Features
Features like password writeback, device writeback, and group writeback can be enabled here. Password writeback allows users to reset their on-premises password from the cloud. Device writeback enables conditional access based on domain-joined devices.
Initial Synchronization and Verification
The wizard runs a full initial synchronization. After it completes, verify in the Azure AD portal that users, groups, and contacts appear correctly. The synchronization service manager utility on the server shows the sync status and any errors.
Practical Mini-Lesson
Azure AD Connect is not a set-it-and-forget-it tool. IT professionals must actively monitor and maintain it. After installation, the most critical task is ensuring the sync engine runs on a schedule.
By default, it runs every 30 minutes for delta syncs, but this can be adjusted via PowerShell. Windows admins should check the synchronization service manager daily for any stuck exports or import errors. A common error is 1034, which means an attribute in on-premises AD contains a value that Azure AD does not support, such as special characters in mail or proxyAddresses.
The fix is to correct the attribute on-premises and run a full sync. Another practical aspect is disaster recovery. If the Azure AD Connect server fails, synchronization stops. It is recommended to have a second server in staging mode.
Staging mode means the server runs the sync engine but does not export to Azure AD. Administrators can promote the staging server to active if the primary fails. The tool also supports granular filtering using the synchronization rules editor.
For example, you can create a custom rule to exclude all users in a specific department by filtering a custom attribute. This is done by editing the outbound sync rule and adding a scoping filter. Password operations are another area of focus.
If password sync fails, users cannot sign in to cloud apps with their work password. The Azure AD Connect Health dashboard shows the last successful password sync time. If it is stale, check the event logs on the server for authentication errors between the sync engine and domain controllers.
For pass-through authentication, each agent can handle a certain number of authentication requests. If the organization grows, install more PTA agents for load balancing. The agents should be placed on separate servers for high availability.
Finally, always upgrade Azure AD Connect when Microsoft releases a new version. The tool auto-upgrades by default, but if the organization disables that, the admin must manually check and apply updates. Each version brings bug fixes, security improvements, and new features like support for new authentication methods.
By treating Azure AD Connect as an operational component with daily checks and proactive upgrades, IT professionals ensure smooth identity synchronization and avoid user-facing issues.
Troubleshooting Clues
Password hash sync not working
Symptom: Users can sign in with on-premises credentials but not Azure AD credentials; synchronization service shows 'stopped' for password sync.
The service account for password hash sync lacks 'Replicating Directory Changes' and 'Replicating Directory Changes All' permissions on the on-premises AD.
Exam clue: Exam questions present a scenario where password sync fails after a domain admin change, testing permission requirements.
Object synchronization stuck with 'Error 500'
Symptom: A specific user or group fails to sync with error 'Failed to process object' and error code 500 in the synchronization service manager.
The object contains an attribute value that exceeds Azure AD schema limits, such as a proxyAddresses attribute with too many entries or malformed UPN.
Exam clue: Tests knowledge of Azure AD attribute limits and how to use the Metaverse Designer to identify problematic attributes.
Delta sync never completes
Symptom: Delta synchronization runs indefinitely or takes hours, often observed as 'Running' status for more than 30 minutes.
A large number of changed objects (e.g., bulk update to all user proxyAddresses) overwhelms the delta sync engine or the Azure AD service side.
Exam clue: Exam scenarios describe a company that bulk-updated email addresses, causing sync delays, testing the use of a full sync or throttling awareness.
Filtering rules not applied after change
Symptom: Users or groups that should be filtered out continue to appear in Azure AD even after updating the domain-based or OU-based filtering.
The filtering change requires a full synchronization cycle (not just delta) to re-evaluate all objects. Also, the metaverse may have residual objects that need a full import.
Exam clue: Questions ask why filtered objects remain after changing OU filters, testing the need for a full sync and metaverse cleanup.
Azure AD Connect Health reports 'Service Health Warning'
Symptom: Health alerts show 'Password Synchronization Failure' or 'Synchronization Error Rate Exceeded' but no individual sync errors.
The overall sync error rate threshold (e.g., >5% of objects failing) is exceeded due to a small number of persistent errors across many cycles.
Exam clue: Tests understanding of Azure AD Connect Health thresholds and how to drill into specific connector spaces to find root cause.
Staging mode server stuck in 'Staging'
Symptom: Promoting a staging server to active fails because it still shows 'Staging Mode: True' after running the wizard and switching to production.
The staging mode flag in the Azure AD Connect configuration XML is not cleared properly if the 'Use existing database' option was selected without re-running the configuration wizard correctly.
Exam clue: Exams test the correct steps to promote a staging server, including using the wizard and verifying the staging mode setting.
Duplicate objects in Azure AD after migration
Symptom: Two user objects appear in Azure AD for the same on-premises user after switching from a legacy sync tool to Azure AD Connect.
The on-premises user object has a different anchor attribute (e.g., mS-DS-ConsistencyGuid) from the existing cloud user, causing Azure AD Connect to create a new cloud object instead of matching.
Exam clue: Exam questions present a migration scenario where duplicate users appear, testing the use of 'Get-AzureADUser' and setting the correct source anchor.
Memory Tip
Azure AD Connect: The bridge between your building and the cloud. Think PHS for simple sync, PTA for passwords on-prem, and AD FS for federation.
Learn This Topic Fully
This glossary page explains what Azure AD Connect means. For a complete lesson with labs and practice, see the topic guide.
Covered in These Exams
Current Exam Context
Current exam versions that test this topic — use these objectives when studying.
ACEGoogle ACE →CDLGoogle CDL →AZ-104AZ-104 →SAA-C03SAA-C03 →AZ-900AZ-900 →CLF-C02CLF-C02 →MS-102MS-102 →SC-900SC-900 →DVA-C02DVA-C02 →MS-900MS-900 →Related Glossary Terms
Two-factor authentication (2FA) is a security method that requires two different types of proof before granting access to an account or system.
AAA (Authentication, Authorization, and Accounting) is a security framework that controls who can access a network, what they are allowed to do, and tracks what they did.
An A record is a type of DNS resource record that maps a domain name to an IPv4 address.
Quick Knowledge Check
1.An administrator notices that after changing the OU-based filtering in Azure AD Connect, some users from excluded OUs still appear in Azure AD. What should the administrator do to resolve this?
2.An organization uses Azure AD Connect with password hash sync. Users report they can sign in to on-premises resources but cannot sign in to Office 365. The synchronization service shows no errors. What is the most likely cause?
3.An administrator runs a delta sync and sees that it has been running for 45 minutes with no progress. What is the most common reason for this?
4.After promoting a staging Azure AD Connect server to production, you notice that password writes back is not working for some users. What should you check first?
5.A company is migrating from a third-party sync tool to Azure AD Connect. After migration, multiple cloud user accounts appear for one on-premises user. What is the likely cause?
Frequently Asked Questions
Can I install Azure AD Connect on a domain controller?
No, it is not recommended. Install Azure AD Connect on a dedicated member server to avoid performance issues and security risks associated with domain controllers.
What is the difference between password hash synchronization and pass-through authentication?
Password hash synchronization synchronizes a hash of the on-premises password to Azure AD, allowing cloud sign-in even if the on-premises server is unavailable. Pass-through authentication keeps passwords on-premises and validates them directly against the local domain controller for each sign-in.
How often does Azure AD Connect synchronize?
By default, Azure AD Connect runs a delta synchronization every 30 minutes. Full synchronization occurs only after configuration changes or on demand.
What is the soft-delete threshold in Azure AD Connect?
The soft-delete threshold is a safety mechanism that prevents accidental mass deletions. By default, if the number of objects scheduled for deletion exceeds 500, the sync stops and requires administrator approval.
Can I synchronize only specific users or groups?
Yes, you can use OU-based filtering during installation or later via the synchronization rules editor. You can also filter by domain or by custom attribute values.
What ports must be open for Azure AD Connect to work?
Port 443 (HTTPS) must be open outbound from the Azure AD Connect server to Microsoft's cloud endpoints. Port 80 is also required for certificate revocation list checking. Internal communication to domain controllers uses standard AD ports like 389 and 445.
Is Azure AD Connect free?
Yes, Azure AD Connect itself is a free tool. However, it requires a Windows Server license and an Azure AD subscription (including the free tier) for the directory service.
Summary
Azure AD Connect is a critical tool for any organization that maintains an on-premises Active Directory and wants to extend identity to the cloud. It synchronizes user, group, and contact objects from on-premises to Azure AD, enabling hybrid identity scenarios. The tool supports multiple authentication methods, including password hash synchronization, pass-through authentication, and federation with AD FS.
Each method offers different trade-offs between simplicity, security, and infrastructure requirements. IT professionals must understand the installation process, common configuration options, sync filtering, and troubleshooting techniques to manage Azure AD Connect effectively. In certification exams, Azure AD Connect appears in scenario-based questions that test the learner's ability to choose the correct authentication method, identify the correct installation steps, and resolve synchronization issues.
Common mistakes include installing the tool on a domain controller, choosing the wrong authentication type, and ignoring the soft-delete threshold. The tool is foundational for achieving true single sign-on for cloud applications and is a core component of the Microsoft identity ecosystem. By mastering Azure AD Connect, learners gain a deep understanding of hybrid identity principles, which is essential for roles such as identity administrator, cloud administrator, and solution architect.
This knowledge directly translates to improved exam performance and real-world IT operations.