yesterday
Everytime I am running a script in databricks which fetches data from a sql server(different Azure resource group) I am getting this error.
com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open server 'proddatabase' requested by the login. Client with IP address '20.57.54.71' is not allowed to access the server. To enable access, use the Azure Management Portal or run sp_set_firewall_rule on the master database to create a firewall rule for this IP address or address range. It may take up to five minutes for this change to take effect. ClientConnectionId:86ac86b7-9f9e-44cf-9b07-9172fb511aaf.
I have whitelisted the databricks vnet on the sql server but and given all the RBAC but still getting this.
yesterday
Hi @Tiwarisk
Have you whitelisted the entire address range or just one IP of VNET on the SQL Server?
5 hours ago
Yes I whitelisted ip range.
5 hours ago
The strange thing is that the ip in error is not even in the range of vnet ips.
3 hours ago
Ideally, this should not happen because I also use a similar setup with Private VNET. So whenever the databricks cluster is getting up it gets the IPs within the VNET.
Please confirm if you have whitelisted the Private VNET IPs instead of the public ones.
2 hours ago
I did the public one
2 hours ago
If your Databricks is under the secure VNET then whitelist the Private VNET address range.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group