March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Apologies if there is a thred answering this already. I could not find one.
We have several reports that connect to an Azure SQL DB without a data gateway (from what I have read, this is perfectly normal). We also have reports that use flat file data imported from our network via a Data Gateway. And other reports that use a combination of both. All of which are refreshed on a schedule.
All apart from one. This report is asking for a data gateway connection to the Azure DB (Note: The 'Data source credentials' are setup with no connection error).
When I refresh it, I get this connection error.
The 'Gateway connection' appears to be asking me to connect to the Azure DB via a data gateway (below image) detailing the same server details as in the 'Data source credentials'
The only unique thing I can see regarding this is that during the data import, I am merging data from the flat file into a table created from an Azure DB table. I can't see how that would effect the connection but thought it worth mentioning.
Does anyone know what I am missing?
Hi @Anonymous ,
Based on your description, are you using mashup data sources? If so, you need to install and configure a gateway for this mashup data source.
https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-mashup-on-premises-cloud
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey @Anonymous
Have your issue been resolved, if not you can create a support ticket for free if you are a pro licence user, they will help you to figure out the problem.
Regards,
IF YOU LIKE MY ANSWER PLEASE GIVE KUDOS AND IF MY ABOVE POST HELPS YOU TO SOLVE YOUR PROBLEM ACCEPT IT AS A SOLUTION. 👍
Hello @Anonymous
Use of set server firewall for the Azure SQL DB is for security purpose we need to do that as our IP Address changes as mentioned in the error.
open the azure portal click on the Database click on the set firewall and click on the Add client IP and save it.
IF YOU LIKE MY ANSWER PLEASE ACCEPT IT AS A SOLUTION AND GIVE KUDOS
Regards,
Nimai
Hi @Nimai123
I tried this but still get the same error. I still don't fully understand the need for this. My client already has access to the DB. I can import data from DB and flat file without issue. The challenge is getting the PBI service to refresh from the cloud DB and a flat file from a local network via data gateway.
Hello @Anonymous ,
The first error image implies that your Client IP address doesn't have access to the master database and thus you need to have a firewall rule set up in the Azure Management Portal for your Client IP address.
You may ignore the Gateway connection section as it only lists down the server details for Azure DB. Its credentials will be mapped in the Data sources settings section. So you can try to set up the firewall rule and confirm the refresh status.
If this was helpful, then kindly hit LIKE and promote this information as a solution to help other end users reach the correct answer.
Thanks,
Renu KS
Hi Renu
Thanks for your response
What is the firewall rule for? I have many reports getting data from the same DB without the need for this.
Thanks
Sam
Hello @Anonymous ,
There are server-level firewall that blocks clients from connecting to the Azure SQL DB. Therefore we need to set up a firewall rule in Azure to enable your Client IP communicate with the server. You need to perform the following:
1) Open Azure Portal
2) Go to your Azure SQL DB section
3) On the left pane you should find an option for Firewalls and Virtual Network
Enter your information and try to refresh the dataset once again.
--------------
Can you provide more details on the reports for which you were able to schedule the refreshes successfully? What is the difference between this one and the others? Is it that you are merging a file's data with this DB?
If this reply was informative and helpful, I would appreciate a LIKE on the reply or promote this as a solution if it resolved your error.
Thanks,
Renu KS
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
40 | |
26 | |
17 | |
11 | |
10 |
User | Count |
---|---|
58 | |
52 | |
23 | |
14 | |
11 |