How to connect to Azure SQL Server using Azure P2S VPN client (Azure AD Authentication) and login to SQL using Azure AD

Anusha 0 Reputation points
2023-08-06T09:59:01.15+00:00

Followed documents
https://learn.microsoft.com/en-us/azure/private-link/tutorial-private-endpoint-sql-portal#create-a-virtual-network-and-bastion-host

https://learn.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-client

Created private endpoint - default Azure private dns zones

Approved this endpoint in Azure SQL server networking - disabled public connectivity

Connectivity set to proxy (suggested by MS support)

Created vnetgateway - p2s - openvpn

Connected to vnet from my pc using Azure vpn client

Now, I am able to connect as suggested by support executive here https://learn.microsoft.com/en-us/answers/questions/1180066/how-to-connect-to-azure-sql-server-using-azure-p2s

private ip - sql authentication - works

private IP - Azure AD universal with MFA - not working

And what should be the userid here, just email or email(email@comany.com@publicFQDNofAzureSQLserver - not working)

Please help!

User's image

Azure SQL Database
{count} votes

2 answers

Sort by: Most helpful
  1. Oury Ba-MSFT 19,101 Reputation points Microsoft Employee
    2023-08-07T20:44:06.53+00:00

    @Anusha Thank you for reaching out.

    Sorry to hear about the issue.

    Could you please try to enable trust certificate.

    User's image

    Are you using an up to date verion of SSMS.?

    Regards,

    Oury

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.