Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Failed to update data source credentials: Cannot open server 'aplabs-dev-sql01' requested by the log

Hello -

 

I am currently in my company's test envionrment trying to connect my BI solution to the SQL server via On-Premise Personal Gateway. When I am in Power BI service and click "edit credentials" for the SQL connection, I get this message:

 

Failed to update data source credentials: Cannot open server 'dev-lab-123' requested by the login. Client with IP address 'xxx_xxx_xxx_xx' is not allowed to access the server. To enable access, use the Windows 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

 

I was able to connect to the SQL server just fine in SSMS when looking at the SQL view I connected to. When I type in the same user name and password I did in SSMS its giving me this message. If anyone has any idea how to fix this issue, please do let me know.

2 REPLIES 2
celiast
New Member

I have the exact same problem -  FYI: the DB is hosted on Azure VM and the gateway is in the same server.

Any solutions?

ibarrau
Super User
Super User

Hi! First I would suggest you using the OnPremise Standard mode instead of the personal. Unless you are using python or R it's a best practice to go with the standard. Then you need to configure sources there.

There error sounds like the host of the SQL Server is preventing IP Addresses to connect. You should talk with the DBA and get access to the DB for the IP address where the gateway is installed and the user trying to connect.

I hope that helps,

P/D is this hosted on premise or an Azure VM? is the gateway in a different server?


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors