We have an application sits in our DMZ zone, and we are planning to let our vendors to authenticate from our internal AD. So I have set up a LDAP service using Azure AD Domain Services.
Basically I was using this guide to set it up:
Step-by-Step Guide: Enable secure LDAP (LDAPS) for an Azure Active Directory Domain Services managed domain
My steps to set up Azure LDAP:
- Creating AD DS
- Create a domain for your LDAP service (either xxx.onmicrosoft.com or your own domain)
- Create a wild cart certificate for the domain and export it with private key(pfx format)
- Enable secured LDAP inside Azure and import the certificate
- Allow the IP addressed needed to access Azure LDAP via Azure security groups(port 636)
- Update the password hash for all the users you want them to access(or manually reset password for each user)
- Use LDP.exe to test the connect and bind to the new LDAP service
Azure Domain Services Pricing:
Azure AD vs Azure LDAP vs Azure Domain Services:
Azure AD does not support LDAP. Azure AD Directory Services does support LDAP but Azure AD does not.
You will need AADS (Azure AD Domain Services) and then join the machine to the domain. See https://docs.microsoft.com/en-us/azure/active-directory-domain-services/active-directory-ds-features
LDAP bind & LDAP read support: You can use applications that rely on LDAP binds to authenticate users in domains serviced by Azure AD Domain Services. Additionally, applications that use LDAP read operations to query user/computer attributes from the directory can also work against Azure AD Domain Services.
Secure LDAP (LDAPS): You can enable access to the directory over secure LDAP (LDAPS). Secure LDAP access is available within the virtual network by default. However, you can also optionally enable secure LDAP access over the internet.
Regarding the pricing: it works with any flavor of Azure AD.
Can I get Azure AD Domain Services as part of Enterprise Mobility Suite (EMS)? Do I need Azure AD Premium to use Azure AD Domain Services? No. Azure AD Domain Services is a pay-as-you-go Azure service and is not part of EMS. Azure AD Domain Services can be used with all editions of Azure AD (Free, Basic, and, Premium). You are billed on an hourly basis, depending on usage.
How to Access the Azure Domain Services:
Create a VM inside your Azure and use RSAT to access it.
Remote access to virtual machines (VMs) that run in an Azure Active Directory Domain Services (Azure AD DS) managed domain requires a user account that's a member of the Azure AD DC administrators group in your Azure AD tenant. This is one of the prerequisites.