Courses Job Ready Program Fresher Trainings AI For Class 7 to 12 Corporate Training Placements Tutorials
Free Learning Resources

IT Tutorials & Interview Prep

Free guides, interview Q&As, and job responsibility breakdowns — curated by industry veterans to help you crack MNC interviews

166+
Tutorial Articles
8
Topic Categories
100%
Free to Read
← Back to Windows Server & Hybrid Administration (AZ-800 )

Chapter 10 : Hybrid Identity (Azure AD Connect)

Windows Server & Hybrid Administration (AZ-800 ) Last Updated: Jun 08, 2026

Introduction to Hybrid Identity

 

10.1 Introduction to Hybrid Identity

Modern organizations use both on-premises infrastructure and cloud services to manage users, applications, and business operations. Earlier, companies mostly depended on traditional on-premises Active Directory environments where all users, computers, and authentication systems were managed inside the company network. However, with the growth of cloud computing and remote work environments, organizations started using cloud-based identity solutions along with on-premises infrastructure. This combination is known as Hybrid Identity.

Hybrid Identity is an identity management model where users can access both on-premises resources and cloud services using the same identity. It combines traditional Active Directory with cloud identity platforms such as Microsoft Entra ID (formerly Azure Active Directory).

In a hybrid identity environment, user accounts created in on-premises Active Directory are synchronized with the cloud directory. This allows users to access services like Microsoft 365, Teams, OneDrive, Azure Portal, and other cloud applications using the same username and password.

The main purpose of hybrid identity is to provide centralized identity management, better flexibility, improved security, and simplified user access across different environments.

 

---------------------------------------------------------------------

What is Hybrid Identity?

Hybrid Identity refers to the integration of:

    • On-Premises Active Directory (AD DS)
    • Cloud Identity Services (Microsoft Entra ID / Azure AD)

This integration allows organizations to maintain local infrastructure while also taking advantage of cloud services.

Example:

A company may store employee computers and servers inside its office network using Active Directory, while employees access Microsoft 365 services from the cloud using the same account credentials.

---------------------------------------------------------------------

Why Organizations Adopt Hybrid Identity

Organizations adopt hybrid identity because modern businesses require both local infrastructure and cloud-based services.

Main reasons include:

    • Support for remote work environments
    • Access to cloud applications
    • Centralized user management
    • Single identity for multiple platforms
    • Improved security and monitoring
    • Better scalability and flexibility

Hybrid identity also reduces administrative overhead because IT administrators do not need to create separate user accounts for cloud services.

---------------------------------------------------------------------

Overview of Identity Solutions:

 1. On-Premises Active Directory

Traditional Active Directory is used inside organizational networks to manage:

    • Users
    • Computers
    • Groups
    • Policies
    • Authentication

It provides centralized administration and security management inside the local network environment.

Features of On-Premises AD:

    • Domain-based authentication
    • Group Policy management
    • Organizational Units (OUs)
    • Local server management
    • Internal resource access

---------------------------------------------------------------------

2. Cloud Identity (Azure AD / Entra ID)

Microsoft Entra ID is Microsoft's cloud-based identity and access management service.

It is designed for:

    • Cloud authentication
    • SaaS application access
    • Multi-Factor Authentication (MFA)
    • Single Sign-On (SSO)
    • Cloud-based security management

Cloud identity solutions are especially useful for organizations using Microsoft 365 and Azure services.

---------------------------------------------------------------------

Benefits of Hybrid Identity :

 

 1. Single Sign-On (SSO)

Single Sign-On allows users to log in once and access multiple applications without entering passwords repeatedly.

 

 

 

Benefits:

    • Better user experience
    • Reduced password fatigue
    • Faster access to applications
    • Reduced helpdesk password reset requests

Example: An employee signs into the company laptop and automatically gains access to Outlook, Teams, and SharePoint.

---------------------------------------------------------------------

2. Centralized Access Management

Administrators can manage both local and cloud identities from a centralized environment.

This improves:

    • Security management
    • User provisioning
    • Access control
    • Monitoring and auditing

---------------------------------------------------------------------

3. Flexibility

Hybrid identity provides flexibility because organizations can continue using existing on-premises infrastructure while gradually adopting cloud services.

This allows businesses to:

    • Migrate slowly to the cloud
    • Maintain legacy systems
    • Support hybrid workloads
    • Reduce infrastructure disruption

 

Example:

 A multinational company may maintain local Active Directory servers in branch offices while employees use Microsoft 365 cloud applications globally. Through hybrid identity, users can authenticate using one account for both local systems and cloud services.

---------------------------------------------------------------------

10.2 Overview of Azure AD Connect

Azure AD Connect is a Microsoft tool used to synchronize on-premises Active Directory objects with Microsoft Entra ID (Azure AD).

It acts as a bridge between local Active Directory infrastructure and cloud identity services.

 

 

Azure AD Connect allows organizations to synchronize:

    • User accounts
    • Passwords
    • Groups
    • Contacts
    • Device information

The main objective of Azure AD Connect is to create a unified identity environment where users can access both local and cloud resources using a single identity.

---------------------------------------------------------------------

What is Azure AD Connect?

Azure AD Connect is a directory synchronization tool developed by Microsoft for hybrid identity environments.

It synchronizes data between:

    • On-Premises Active Directory
    • Microsoft Entra ID (Azure AD)

Without Azure AD Connect, administrators would need to manage separate user accounts in both environments manually.

---------------------------------------------------------------------

Purpose and Role in Synchronization

The primary role of Azure AD Connect is identity synchronization.

It ensures that changes made in the local Active Directory are automatically updated in the cloud environment.

Examples of synchronized changes:

    • New user creation
    • Password changes
    • Group membership updates
    • User account modifications
    • Account disable or deletion

This synchronization helps maintain consistency between local and cloud environments.

---------------------------------------------------------------------

Key Features of Azure AD Connect:

 

 1. Directory Synchronization

Azure AD Connect synchronizes Active Directory objects with Microsoft Entra ID.

Objects synchronized include:

    • Users
    • Groups
    • Contacts

This allows users to use the same identity in both environments.

---------------------------------------------------------------------

2. Password Hash Synchronization (PHS)

Password Hash Synchronization copies password hashes from on-prem AD to Azure AD securely.

Benefits:

    • Simple deployment
    • Cloud authentication support
    • Reduced dependency on on-prem servers

Users can sign in to cloud services using the same password as their local AD account.

---------------------------------------------------------------------

3. Pass-Through Authentication (PTA)

Pass-Through Authentication validates passwords directly against on-premises Active Directory during login.

In this method:

    • Passwords are not stored in the cloud
    • Authentication occurs through local AD

Benefits:

    • Improved security control
    • Supports on-prem authentication policies

---------------------------------------------------------------------

4. Federation Integration

Azure AD Connect also supports federation-based authentication using Active Directory Federation Services (ADFS).

Federation allows organizations to:

    • Use advanced authentication methods
    • Apply custom login policies
    • Maintain complete authentication control

This method is commonly used in large enterprise environments.

---------------------------------------------------------------------

5. Importance of Azure AD Connect

Azure AD Connect is one of the most important components in a hybrid identity environment because it provides:

    • Identity synchronization
    • Simplified user management
    • Single Sign-On support
    • Centralized authentication
    • Hybrid infrastructure integration

Without synchronization tools, managing hybrid identity environments becomes difficult and time-consuming.

 

Example: 

A company using on-premises Active Directory creates employee accounts locally. Azure AD Connect synchronizes those accounts to Microsoft Entra ID automatically. Employees can then access Microsoft Teams, Outlook, and SharePoint using the same credentials they use inside the office network.


 ---------------------------------------------------------------------

Azure AD Connect Deployment & Authentication

 

10.3 Prerequisites for Azure AD Connect

Before installing Azure AD Connect, organizations must ensure that the environment meets certain technical and administrative requirements. Proper planning is important because Azure AD Connect connects the on-premises Active Directory environment with Microsoft Entra ID. If prerequisites are not satisfied, synchronization and authentication issues may occur.

The prerequisites mainly include Active Directory requirements, supported operating systems, Azure subscription setup, required permissions, and network connectivity.

---------------------------------------------------------------------

Domain and Forest Requirements

Azure AD Connect requires a properly configured Active Directory environment.

Important requirements include:

    • Healthy Active Directory infrastructure
    • Functional DNS configuration
    • Supported forest and domain levels
    • Stable domain controller replication

The Active Directory forest should not contain major replication or DNS issues because synchronization depends heavily on directory consistency.

Organizations with multiple forests can also use Azure AD Connect, but additional configuration may be required.

---------------------------------------------------------------------

Supported Windows Server Versions

Azure AD Connect must be installed on a supported Windows Server operating system.

Common supported versions include:

    • Windows Server 2016
    • Windows Server 2019
    • Windows Server 2022

The server used for installation should have:

    • Adequate RAM and CPU resources
    • Stable internet connection
    • Domain connectivity
    • Latest Windows updates installed

Microsoft recommends using a dedicated server for Azure AD Connect in enterprise environments.

---------------------------------------------------------------------

Azure Subscription and Tenant

To use Azure AD Connect, the organization must have:

    • Microsoft Entra ID tenant
    • Azure subscription
    • Microsoft 365 or Azure cloud services

The Azure tenant acts as the cloud identity platform where synchronized users and groups will be stored.

 

Example:

If a company uses Microsoft 365 services such as Outlook or Teams, Azure AD Connect synchronizes local AD accounts with the Microsoft 365 tenant.

---------------------------------------------------------------------

Required Permissions

Azure AD Connect installation requires both on-premises and cloud administrative permissions.

 

On-Premises Permissions

The account used during installation generally requires:

    • Enterprise Admin permissions
    • Domain Admin permissions

These permissions allow Azure AD Connect to read and configure Active Directory synchronization settings.

 

Cloud Permissions

For Microsoft Entra ID configuration, the administrator requires:

    • Global Administrator role

This permission allows Azure AD Connect to establish trust and synchronization with the Azure tenant.

---------------------------------------------------------------------

Network and Connectivity Requirements

Azure AD Connect requires proper network communication between:

    • On-premises Active Directory
    • Domain Controllers
    • Microsoft Entra ID cloud services

Important connectivity requirements:

    • Internet access
    • DNS resolution
    • Open required ports
    • Firewall access to Microsoft cloud endpoints

If network communication fails, synchronization and authentication processes may stop functioning correctly.

---------------------------------------------------------------------

Importance of Proper Prerequisites

Correct prerequisite planning provides:

    • Stable synchronization
    • Better security
    • Reduced deployment errors
    • Reliable authentication
    • Improved hybrid identity performance

Improper configuration may lead to:

    • Sync failures
    • Authentication problems
    • Duplicate objects
    • Connection errors

 

Example: 

A company installs Azure AD Connect without verifying DNS health and Active Directory replication. As a result, user accounts fail to synchronize properly with Microsoft Entra ID, causing login failures in Microsoft 365 services.

---------------------------------------------------------------------

10.4 Authentication Methods

Authentication methods define how users verify their identity when accessing cloud services in a hybrid identity environment. Azure AD Connect supports multiple authentication methods based on organizational security and infrastructure requirements.

The main authentication methods are:

    • Password Hash Synchronization (PHS)
    • Pass-Through Authentication (PTA)
    • Federation using ADFS

Each method provides different levels of security, control, and infrastructure dependency.

---------------------------------------------------------------------

Password Hash Synchronization (PHS)

Password Hash Synchronization is the most commonly used authentication method in hybrid environments.

 

 

In this method:

    • Password hashes from on-premises Active Directory are synchronized to Microsoft Entra ID
    • Users authenticate directly with Azure AD
    • Actual passwords are not stored in plain text

Benefits:

    • Simple deployment
    • Reduced infrastructure complexity
    • High availability
    • Cloud-based authentication

Advantages:

    • Easy to manage
    • Supports cloud authentication
    • Works even if on-prem servers are unavailable

Limitations:

    • Authentication occurs in the cloud
    • Some advanced on-prem authentication policies may not apply

Example: An employee logs into Microsoft 365 using the same password used in the office Active Directory environment.

---------------------------------------------------------------------

Pass-Through Authentication (PTA)

Pass-through authentication validates user credentials directly against on-premises Active Directory.

 

 

In this method:

    • Passwords are not stored in the cloud
    • Authentication requests are passed securely to on-prem AD
    • Azure AD Connect agents handle verification

Benefits:

    • Better security control
    • Supports local authentication policies
    • No password storage in the cloud

Advantages:

    • Supports account restrictions
    • Uses existing on-prem security controls
    • Simplified user experience

Limitations:

    • Requires on-prem authentication agents
    • Depends on local infrastructure availability

Example: A company requires all authentication requests to be validated through internal Active Directory servers for compliance reasons.

---------------------------------------------------------------------

Federation (ADFS Overview)

Federation uses Active Directory Federation Services (ADFS) for authentication.

 

 

In this model:

    • Authentication is fully controlled by on-premises servers
    • Azure AD redirects login requests to ADFS
    • Organizations can implement advanced security policies

Federation is commonly used in large enterprise environments.

Features:

    • Advanced authentication controls
    • Smart card authentication
    • Third-party MFA integration
    • Custom login experiences

Advantages:

    • Full control over authentication
    • Supports complex enterprise security requirements

Limitations:

    • Complex infrastructure
    • Higher maintenance requirements
    • Additional server dependency

---------------------------------------------------------------------

Comparison of Authentication Methods:

 

Password Hash Synchronization (PHS)

    • Simplest method
    • Cloud-based authentication
    • Lower infrastructure dependency

 

 1. Pass-Through Authentication (PTA)

    • Authentication validated locally
    • Moderate infrastructure dependency
    • Better on-prem control

 

2. Federation (ADFS)

    • Full on-prem authentication control
    • Complex enterprise setup
    • Highest infrastructure dependency

---------------------------------------------------------------------

Choosing the Right Authentication Method

Organizations select authentication methods based on:

    • Security requirements
    • Compliance policies
    • Infrastructure complexity
    • Availability requirements
   • Administrative management

Small and medium organizations often prefer PHS because of simplicity, while large enterprises may use PTA or Federation for advanced security control.

 

Example:

 A financial organization handling sensitive customer information uses Pass-Through Authentication so that all login requests are validated through internal Active Directory servers instead of cloud-only authentication.

---------------------------------------------------------------------

Synchronization & Hybrid Identity Management

 

10.5 Synchronization Concepts

Synchronization is one of the most important components of a hybrid identity environment. It ensures that objects stored in the on-premises Active Directory are automatically updated in Microsoft Entra ID. Azure AD Connect performs this synchronization process between the local infrastructure and cloud identity services.

Without synchronization, administrators would need to manually create and manage separate accounts in both environments, which increases administrative workload and causes inconsistency.

Synchronization helps maintain a unified identity environment where users can access both local and cloud resources using the same credentials.

 

What Objects are synchronized?

Azure AD Connect can synchronize different Active Directory objects to Microsoft Entra ID.

Common synchronized objects include:

    • Users
    • Groups
    • Contacts

---------------------------------------------------------------------

Users

User accounts created in on-premises Active Directory are synchronized to Microsoft Entra ID.

Synchronized user information may include:

    • Username
    • Email address
    • Department
    • Phone number
    • Password hash (if enabled)

This allows employees to use the same credentials for both local and cloud services.

---------------------------------------------------------------------

Groups

Security groups and distribution groups can also be synchronized.

Benefits of group synchronization:

    • Simplified permission management
    • Centralized access control
    • Easier Microsoft 365 administration

Example:

An “HR Department” group created in local Active Directory can automatically appear in Microsoft 365 after synchronization.

---------------------------------------------------------------------

Contacts

Contact objects containing organizational information can also be synchronized to the cloud.

These are commonly used for:

    • Global address lists
    • Email communication
    • Organizational directories

---------------------------------------------------------------------

OU Filtering

Organizational Unit (OU) filtering allows administrators to select which OUs should be synchronized to Microsoft Entra ID.

This feature is important because organizations may not want to synchronize all objects to the cloud.

Benefits of OU filtering:

    • Reduces unnecessary synchronization
    • Improves security
    • Simplifies management
    • Reduces cloud clutter

Example:

A company may synchronize only employee accounts while excluding:

    • Test accounts
    • Lab systems
    • Temporary users

---------------------------------------------------------------------

Attribute Mapping

Attribute mapping controls how Active Directory attributes are matched with Microsoft Entra ID attributes.

Attributes are pieces of information associated with user accounts.

Examples:

    • Display Name
    • Email Address
    • Department
    • Employee ID

Azure AD Connect automatically maps common attributes, but administrators can customize mappings if required.

Benefits of proper attribute mapping:

    • Consistent user information
    • Better identity management
    • Improved cloud application compatibility

Incorrect attribute mapping may cause:

    • Login issues
    • Missing user details
    • Synchronization conflicts

---------------------------------------------------------------------

Sync Cycle and Scheduler

Azure AD Connect performs synchronization at regular intervals using a scheduler.

The synchronization process includes:

    • Detecting changes in Active Directory
    • Updating cloud identities
    • Synchronizing passwords and groups
    • Removing deleted objects

The sync cycle runs automatically after configuration.

Benefits of automatic synchronization:

    • Updated cloud identities
    • Reduced manual administration
    • Consistent environments
    • Faster identity management

Administrators can also manually force synchronization if immediate updates are required.

---------------------------------------------------------------------

Importance of Synchronization Concepts

Proper synchronization management provides:

    • Identity consistency
    • Centralized administration
    • Simplified cloud integration
    • Reduced administrative workload
    • Better user experience

Improper synchronization configuration may result in:

    • Duplicate accounts
    • Missing users
    • Incorrect permissions
    • Authentication failures

 

Example:

 An organization creates a new employee account in on-premises Active Directory. Azure AD Connect automatically synchronizes the user account, group memberships, and email details to Microsoft Entra ID, allowing the employee to access Microsoft 365 services without creating a separate cloud account.

---------------------------------------------------------------------

Troubleshooting Azure AD Connect

 

10.6 Troubleshooting Azure AD Connect

Azure AD Connect is a critical component in a hybrid identity environment because it manages synchronization between on-premises Active Directory and Microsoft Entra ID. If synchronization fails, users may face login problems, missing cloud accounts, password issues, or access failures in Microsoft 365 services.

Troubleshooting Azure AD Connect involves identifying synchronization problems, checking logs, analyzing errors, and using monitoring tools to resolve issues quickly.

Proper troubleshooting helps maintain stable identity synchronization and secure authentication across hybrid environments.

---------------------------------------------------------------------

Common Sync Issues

Synchronization problems are one of the most common issues in hybrid identity environments.

Common synchronization issues include:

    • Users not appearing in Azure AD
    • Password sync failures
    • Group synchronization problems
    • Delayed synchronization
    • Missing attributes
    • Authentication errors

These problems can occur because of:

    • Network failures
    • Incorrect permissions
    • DNS issues
    • AD replication problems
    • Invalid object attributes

Example: A newly created employee account in Active Directory may not appear in Microsoft 365 because synchronization failed.

---------------------------------------------------------------------

Duplicate Objects

Duplicate objects occur when the same user exists multiple times in Microsoft Entra ID or Active Directory.

This issue commonly occurs due to:

    • Incorrect synchronization configuration
    • Multiple matching identities
    • Improper attribute mapping
    • Existing cloud-only accounts

Effects of duplicate objects:

    • Login confusion
    • Synchronization conflicts
    • Authentication failures
    • Incorrect mailbox assignments

Example: A user account already exists in Microsoft 365 before synchronization begins, causing Azure AD Connect to create matching conflicts.

---------------------------------------------------------------------

Sync Errors and Logs

Azure AD Connect generates synchronization logs and error reports that help administrators identify issues.

Common sync errors include:

    • Invalid credentials
    • Permission denied
    • Object conflicts
    • Network connectivity errors
    • Password synchronization failures

Administrators should regularly monitor logs to detect problems early.

Benefits of log monitoring:

    • Faster troubleshooting
    • Improved synchronization stability
    • Better security monitoring
    • Reduced downtime

---------------------------------------------------------------------

Synchronization Service Manager

Synchronization Service Manager is one of the main troubleshooting tools used in Azure AD Connect.

It allows administrators to:

    • Monitor synchronization operations
    • Check import and export status
    • View synchronization errors
    • Analyze object-level issues

This tool provides detailed information about synchronization processes and failures.

Common uses:

    • Checking failed objects
    • Reviewing synchronization cycles
    • Analyzing connector status

---------------------------------------------------------------------

Event Viewer

Windows Event Viewer is another important troubleshooting tool.

Azure AD Connect logs many synchronization and authentication events inside Event Viewer.

Administrators can use Event Viewer to check:

    • Service failures
    • Authentication problems
    • Synchronization warnings
    • Application errors

Important log categories include:

    • Application Logs
    • Directory Synchronization Logs
    • System Logs

Event Viewer helps identify operating system or service-level issues affecting synchronization.

---------------------------------------------------------------------

Azure AD Connect Health

Azure AD Connect Health is a Microsoft monitoring service used to monitor synchronization and authentication environments.

It provides:

    • Health monitoring
    • Alerts and notifications
    • Performance monitoring
    • Security insights
    • Usage reports

Benefits:

    • Proactive issue detection
    • Real-time monitoring
    • Better visibility into hybrid identity infrastructure

Azure AD Connect Health helps administrators detect problems before they affect users.

---------------------------------------------------------------------

Importance of Troubleshooting

Effective troubleshooting helps organizations maintain:

    • Stable synchronization
    • Secure authentication
    • Reliable cloud access
    • Reduced downtime
    • Better user experience

Without proper monitoring and troubleshooting, synchronization failures can interrupt access to cloud services such as Microsoft 365 and Azure applications.

---------------------------------------------------------------------

Common Troubleshooting Steps

Administrators usually follow these steps during troubleshooting:

    • Verify network connectivity
    • Check synchronization service status
    • Review synchronization logs
    • Validate permissions
    • Check Active Directory health
    • Verify Azure AD Connect scheduler
    • Analyze Event Viewer logs

These steps help identify the root cause of synchronization failures.

 

Example:

A company notices that newly hired employees cannot access Microsoft Teams. After troubleshooting, administrators discover that Azure AD Connect synchronization stopped because of expired administrator credentials used for synchronization. Once credentials are updated, synchronization resumes normally.