Azure App service can't connect to LDAP server

Ping Li 1 Reputation point Microsoft Employee
2022-06-01T10:15:25.94+00:00

I am trying to use System.DirectoryServices.AccountManagement to get members of a group. Locally it can return the member list (with VPN enabled). While publish the services to Azure App Service, got the error: The LDAP server is unavailable

Anyone knows where do I miss the configuration?

207460-image.png

207551-microsoftteams-image-2.png

Microsoft Security | Microsoft Entra | Other
{count} votes

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.