Azure Active Directory with Azure SQL

Niranjan Ananthan 5 Reputation points
2023-03-30T16:50:48.01+00:00

If we enable Azure Active Directory for Azure SQL, do we need to enable public access to Azure SQL Networking?

Since when I tried to use a private endpoint by disabling public access getting an error from SSMS that public access is denied so unable to connect to Azure SQL.

Azure SQL Database
Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sedat SALMAN 14,180 Reputation points MVP
    2023-03-30T16:52:27.18+00:00

    When you enable Azure Active Directory (AAD) authentication for Azure SQL, you are not required to enable public access for Azure SQL Networking. AAD authentication can work with both public and private network configurations.

    The issue you're facing with the private endpoint might not be related to AAD authentication but rather to your networking setup. When using a private endpoint, you need to ensure that the virtual network (VNet) and subnet configurations are properly set up to allow traffic between your client machine and the Azure SQL server.


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.