ACTIVE-DIRECTORY

⭐ Prerequisites Before Installing Azure AD Connect

A Simple Guide for Beginners

πŸ”· 1. Active Directory Requirements (On-Prem Domain)

Azure AD Connect requires a healthy on-premises Active Directory environment.

βœ” A Windows Server AD Domain

  • Must be Windows Server 2003 or later
  • Domain functional level Windows Server 2003 or higher
  • Forest functional level Windows Server 2003 or higher

βœ” Domain Must Be Routable

Your internal domain should be reachable from the server where Azure AD Connect is installed.

βœ” A Verified Domain Name

The UPN suffix should match your Azure domain.

Example:

AD UPN: user@maharjan.local ❌ (Not supported)
Azure AD: user@maharjan.com βœ”

If needed, add a new UPN suffix in AD:

Active Directory Domains and Trusts β†’ Properties β†’ UPN Suffix

πŸ”· 2. Azure AD Tenant Requirements (Cloud Environment)

You must have:

βœ” An Active Azure AD Tenant

This can be created freely at: https://azure.microsoft.com

βœ” A Verified Custom Domain

You must verify your company domain (example: maharjan.com) in Azure AD.

Azure Portal β†’ Azure Active Directory β†’ Custom domain names

βœ” Required Administrator Account

You need:

  • Azure AD Global Administrator
    (Only required during installation)

After installation, you can remove this role for better security.

πŸ”· 3. Server Requirements for Azure AD Connect

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

βœ” Supported Operating Systems

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

βœ” Hardware Requirements (Minimum)

  • CPU: 1.6 GHz
  • RAM: 4 GB (8–16 GB recommended for larger orgs)
  • Disk: At least 70–100 MB for installation
  • .NET Framework: 4.7.1 or later
  • The server must be domain-joined
  • Do NOT install Azure AD Connect on:
    • A Domain Controller (not recommended)
    • Exchange Server
    • SQL Server hosting important data

πŸ”· 4. Network & Connectivity Requirements

Azure AD Connect requires outbound internet access.

βœ” Required Ports (Outbound)

PortProtocolPurpose
443HTTPSSync with Azure AD
80HTTPCertificate and endpoint checks
389LDAPOn-prem AD queries
636LDAPSSecure LDAP (optional)

βœ” Firewall & Proxy

If using a proxy, ensure Azure AD Connect is permitted through it.

πŸ”· 5. Account & Permission Requirements

βœ” On-Prem AD Account

You will need:

  • Enterprise Admin or
  • Domain Admin (only during setup)

Azure AD Connect automatically creates a least-privilege sync account.

βœ” Azure AD Account

  • Must be Global Administrator

βœ” Service Account

Azure AD Connect creates:

  • MSOL_XXXXXX account (used for sync engine)

You do not need to create it manually.

πŸ”· 6. SQL Requirements (Optional)

Azure AD Connect includes SQL Express by default β€” suitable for up to ~100k objects.

For larger environments:

Use Full SQL Server if:

  • More than 100k directory objects
  • You need clustering
  • You want high availability

Supported SQL versions:

  • SQL Server 2012 β†’ SQL Server 2019

πŸ”· 7. Supported Environments

Azure AD Connect supports:

βœ” Single Forest

Most common scenario.

βœ” Multi-Forest

Including:

  • Resource forests
  • Account forests
  • Trust relationships

βœ” Disjoint Namespaces

Supported with proper configuration.

βœ” Hybrid Environments

AD + Azure AD + Microsoft 365

πŸ”· 8. Health Check Before Installation (Recommended)

Before installing, ensure:

βœ” Active Directory health is good

Run:

dcdiag /v
repadmin /replsummary

βœ” DNS is working correctly

Azure AD Connect depends heavily on AD DNS.

βœ” Time synchronization is correct

Time skew can break authentication.

⭐ Conclusion

Before installing Azure AD Connect, it is important to ensure:

  • Your Active Directory domain is healthy
  • Your Azure AD tenant is set up and verified
  • You have the necessary permissions
  • Your server meets the system requirements
  • Network connectivity is properly configured

Once these prerequisites are met, you’re ready to install Azure AD Connect smoothly and start your hybrid identity journey.

Leave a Reply

Your email address will not be published. Required fields are marked *