Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JetBrains DataGrip - Azure SQL - connect with Active Directory - Password

Is it possible to connect to Azure SQL database the same way as I would with Microsoft SQL Management Studio - the "Active Directory - Password" option.

enter image description here

I followed the instructions from here (JetBrains documentation) but when I select "Use Windows Domain authentication" (as I should for Azure Active Directory) it doesn't let me to enter the credentials as SSMS does.

Everything works fine with SSMS but with DataGrip I have no luck. Is this option just not supported in there?

enter image description here

like image 889
Jakub Holovsky Avatar asked Sep 06 '25 03:09

Jakub Holovsky


1 Answers

It's possible.

  1. Use JTDS driver, not Microsoft one.
  2. Go to the Advanced tab of data source properties, set USENTLMV2 to true and specify the domain name in the DOMAIN field. enter image description here
  3. Then enter your Active Directory credentials in user/password fields and click Test Connection.
like image 56
moscas Avatar answered Sep 07 '25 21:09

moscas