'Connect to an internal Azure LDAP server from Nextcloud

Nextcloud version : Nextcloud Hub II (23.0.0)

We want to use Nextcloud in the company as a SaaS and connect it to our LDAP in Azure. But I am not able to connect from a SaaS to the internal IP of our LDAP Azure AD server.

Steps to replicate it:

  1. Install app LDAP user and group backend reference
  2. Try to connect to Azure ldap IP
  3. Does not work as it's not the same environment and the Azure AD has only an internal IP

Is this even possible. If so how to connect to the LDAP server from Nextcloud?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source