Optimal LDAP Authentication for Azure VM and MSSQL with On-Prem AD

Yu-Jeong Seo 210 Reputation points
2024-10-16T07:00:34.64+00:00

In an Azure environment, a Windows VM and MSSQL require LDAP authentication from an On-Prem AD. The On-Prem AD is configured in a hybrid setup with the M365 tenant.

Which option is more efficient: configuring Microsoft Entra Domain Services or establishing a Site-to-Site connection with a VPN Gateway to the On-Prem environment.

Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. Bhasker Donthu 945 Reputation points Microsoft External Staff
    2024-10-18T15:22:13.01+00:00

    Hello @Yu-Jeong Seo,

    Thank you for posting your query on Microsoft Q&A.

    Both options have their pros and cons, and the most suitable choice depends on your specific requirements and management.

    Here’s a comparison to help you decide:

    Microsoft Entra Domain Services

    Pros:

    • Provides a managed domain service that supports LDAP authentication
    • Reduces the need for on-premises infrastructure and management
    • Since you're already in a hybrid setup, Entra can synchronize users, groups, and credentials from your On-Prem AD via Azure AD Connect.
    • No need to configure and manage VPN connections or worry about network outages affecting authentication.

    Cons:

    • If your VMs are frequently interacting with the On-Prem AD (for example, during password authentication), this could add some latency
    • May have limitations in terms of customization and control

    Site-to-Site VPN Gateway

    Pros:

    • Establishes a secure connection between Azure and on-premises environments
    • Provides more control and customization options
    • More control over the network setup and configurations.
    • Potentially lower cost if you already have a VPN infrastructure in place.

    Cons:

    • Requires more infrastructure and management on-premises
    • Requires more setup and ongoing management, including maintaining the VPN connection.
    • Dependent on the stability of the VPN connection; network issues can disrupt authentication

    Additionally, please find the Common use-cases scenarios

    https://learn.microsoft.com/en-us/entra/identity/domain-services/network-considerations

    If you prefer a managed, low-maintenance solution and are okay with the associated costs, Microsoft Entra Domain Services is likely the better option. It simplifies management and provides high availability without the need for a VPN.

    However, if you need greater control over your network and can manage the complexity, a Site-to-Site VPN Gateway might be more suitable, especially if cost is a significant factor.

    I hope this information is helpful. Please feel free to reach out if you have any further questions. If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.