Browse learn

Does Microsoft Entra ID Support LDAP?

Learn why Entra ID has no native LDAP endpoint, which managed or hybrid options provide LDAP compatibility, and when to modernize an integration.

On this page

Does Microsoft Entra ID Natively Support LDAP?

No—Microsoft Entra ID does not natively support the LDAP or LDAPS protocol. Entra ID, formerly known as Azure Active Directory, does not expose any direct LDAP endpoint. Applications, scripts, or systems written to authenticate, search, or bind via LDAP or LDAPS cannot point directly at Entra ID and expect a successful connection. Entra ID is built for modern authentication protocols such as OAuth2, OpenID Connect, and SAML—not for legacy directory access methods like LDAP.

For example, a legacy HR system or VPN concentrator requiring LDAP binds for user authentication will fail if configured to connect directly to an Entra ID tenant. The absence of a public LDAP/LDAPS endpoint in Entra ID is a deliberate architectural choice, focusing Entra ID on cloud-centric identity and access management.

This reality frequently surfaces during migrations from on-premise directories or when integrating older apps into a cloud environment. Organizations transitioning to Entra ID for cloud identity must plan explicitly for legacy protocol compatibility needs, as Entra ID alone will not satisfy LDAP-dependent workloads.

How Microsoft Entra Domain Services Enables LDAP Support

LDAP support in the Entra ecosystem is provided through Microsoft Entra Domain Services (Entra DS), a separate managed service designed to bridge modern cloud identity management and legacy protocol support.

Entra Domain Services is a managed Active Directory Domain Services (AD DS) instance hosted within your Azure subscription. It synchronizes user and group objects from Entra ID, then exposes classic directory protocols—including LDAP, LDAPS (Secure LDAP), Kerberos, and NTLM—over a Virtual Network (VNet) boundary.

When an organization requires LDAP compatibility, such as for legacy application authentication, you deploy Entra Domain Services, synchronize it with your Entra ID tenant, and configure applications to connect to the managed LDAP/LDAPS endpoint provided by Entra DS—not Entra ID itself. This endpoint is where classic LDAP binds, directory searches, and group membership queries are supported.

Secure LDAP (LDAPS) is enabled on this managed domain by configuring certificates and access policies, allowing encrypted LDAP connections both within Azure VNets and, if required, from external systems. Proper security controls, including limiting network access to LDAPS endpoints, are essential when enabling this feature.

Entra Domain Services is a separate, billable service requiring explicit configuration and is not a toggle or inherent feature inside Entra ID. It is particularly suited for organizations with cloud-only or hybrid infrastructures that need to maintain legacy application interoperability as part of a broader migration.

Architectural Patterns and Integration Scenarios

There are several common architectures for integrating LDAP-reliant applications with Microsoft Entra-based identities:

1. Application Authentication via Managed LDAP

  • Apps configured for LDAP or LDAPS point to the Entra Domain Services endpoint.
  • User accounts and groups are synchronized from Entra ID into the managed domain.
  • Example: A VPN appliance originally authenticating against on-prem AD via LDAPS can be directed to the Entra DS LDAPS endpoint for user validation.

2. Provisioning Users into Downstream LDAP Directories

  • Entra ID users and groups can be provisioned into external LDAP v3 directories (such as OpenLDAP) using Microsoft’s on-premises LDAP connector.
  • This pattern is for attribute synchronization and lifecycle management—not for authentication.
  • Example: Provisioning Entra ID users into a Unix-based LDAP directory so that system accounts reflect the cloud's source of truth.

3. Hybrid Environments

  • On-premises Active Directory and Entra ID may coexist, often synchronized via Entra Connect.
  • Legacy apps connect to on-prem AD or to Entra Domain Services (if in cloud-only or migration scenarios).
  • Migration strategies may include staged cutovers, with Entra DS replacing physical controllers for protocol compatibility.

Important Considerations

  • LDAP authentication is only available through Entra Domain Services, not via provisioning mechanisms.
  • Write-back from managed domains or external LDAP directories to Entra ID is limited or unsupported—identity authority remains in Entra ID.
  • Network topology and access controls must ensure that LDAPS endpoints are secured from unauthorized exposure.

Limitations, Common Misconceptions, and Pitfalls

Limitations

  • Not all AD DS features are available in Entra Domain Services. There are restrictions on certain schema extensions, administrative rights, and forest-level configurations.
  • Entra Domain Services is a separate billable service; costs and operational overhead differ from standard Entra ID subscriptions.
  • LDAPS exposure requires careful VNet and security group configuration to avoid unwanted access.

Common Misconceptions

  • Misconception: Entra ID exposes LDAP/LDAPS endpoints. Correction: Only Entra Domain Services provides these endpoints.
  • Misconception: Any LDAP client can point to Entra ID for authentication or directory queries. Correction: LDAP clients must be configured against Entra Domain Services.
  • Misconception: Provisioning users to a directory via Entra ID means LDAP authentication is automatically enabled. Correction: User provisioning is not the same as enabling protocol compatibility for auth; separate steps and services are required.
  • Misconception: Entra Domain Services is a simple switch. Correction: It is an independent managed service with its own deployment and management lifecycle.

Pitfalls

  • Configuring an LDAP-based application directly against Entra ID will always fail due to protocol incompatibility.
  • Opening LDAPS to broader networks than intended increases attack surface—limit access tightly and manage certificates per official guidance.

FAQs and Decision Criteria

Q: When should I use Microsoft Entra Domain Services?
A: When an application or device explicitly requires LDAP, LDAPS, Kerberos, or NTLM and cannot be refactored for modern protocols, or during cloud migrations where legacy support must continue.

Q: Can I provision to LDAP directories without Entra Domain Services?
A: Yes, for object and attribute synchronization only—not for authentication—with the on-premises LDAP connector.

Q: How do I choose between Entra ID, Entra Domain Services, and traditional AD DS?
A: Use Entra ID for SaaS/cloud apps using modern authentication. Use Entra Domain Services for cloud-era apps/devices tied to legacy protocols. Maintain traditional AD DS only if required for highly customized, on-prem domain features.

Q: What if my application requires true LDAP/LDAPS and cannot be changed?
A: Deploy Entra Domain Services and configure the app to use its managed LDAP endpoint.

Q: Where can I find authoritative setup/configuration guidance?
A: Review official Microsoft Entra documentation on LDAP authentication, Entra Domain Services overview, and LDAPS configuration for step-by-step procedures.

References

  • LDAP authentication with Microsoft Entra ID (Microsoft)
  • Tutorial - Configure LDAPS for Microsoft Entra Domain Services (Microsoft)
  • Overview of Microsoft Entra Domain Services (Microsoft)
  • LDAP synchronization with Microsoft Entra ID (Microsoft)
  • Compare self-managed Active Directory Domain Services, Microsoft Entra ID, and managed Microsoft Entra Domain Services (Microsoft)
  • Microsoft Entra provisioning to LDAP directories (Microsoft)

Sources