Unable to connect to Azure AD DS LDAPS on port 636

Veshant Chettiar 0 Reputation points
2023-06-03T02:24:42.69+00:00
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Entra | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 37,206 Reputation points Microsoft Employee Moderator
    2023-06-05T23:29:15.45+00:00

    Hi @Veshant Chettiar ,

    Thanks for your post! I understand that you are unable to connect to Azure AD DS LDAPS on port 636.

    To resolve this error, please confirm the following:

    -Ensure that your NSG settings allow the traffic to port 636 from the internet (inbound security rule allowing TCP/636 from the client IP address)

    -Ensure that you have a certificate installed on the DC. That certificate must be trusted on the client.

    -Verify the secure LDAP certificate for your managed domain has the DNS name in the Subject or the Subject Alternative Names attribute.

    If you have already confirmed the NSG settings and the certificate configuration, you can check the errors generated by Ldp.exe to get more information about why the connection might be failing. You can also check the Event Viewer logs for information and errors that will help you troubleshoot. If you still face this issue after checking these errors and verifying the settings, please share what errors you are seeing so that I can better diagnose the issue.

    Additional resources:

    Troubleshoot LDAPS
    How to enable LDAP over SSL with a third-party certification authority.

    LDAPS error

    AAD DS LDAPS

    If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar issues.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.