Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi All,
I am using a Azure SQL Server. And I am using a VPN while connecting to this server. Without a VPN we cannot connect to this Datasource. So, currently I refresh the Report manually on my desktop and then publish it on app.powerbi.com.
I want to set refresh times on app.powerbi.com for my report, but that particular section is disabled.
Do I need to setup a Gateway Connection for Azure SQL Datasource(which requres a VPN to connect) OR I can connect directly ?
If I can connect directly, then please guide me how to do it.
Solved! Go to Solution.
Hi @mohit_K ,
According to the official document, Gateway is not required for Azure SQL Database.
While setting up scheduled refresh for Azure SQL database, if you get an error with error code 400 when editing the credentials, try the following to set up the appropriate firewall rule:
Sign in to the Azure portal.
Go to the Azure SQL database for which you're configuring refresh.
At the top of the Overview blade, select Set server firewall.
On the Firewall settings blade, make sure that Allow Azure services and resources to access this server is set to Yes.
For more information, please refer to:
Azure SQL Database with DirectQuery - Power BI | Microsoft Docs
Azure SQL firewall settings for Power BI refresh - Dutch Data Dude
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mohit_K ,
According to the official document, Gateway is not required for Azure SQL Database.
While setting up scheduled refresh for Azure SQL database, if you get an error with error code 400 when editing the credentials, try the following to set up the appropriate firewall rule:
Sign in to the Azure portal.
Go to the Azure SQL database for which you're configuring refresh.
At the top of the Overview blade, select Set server firewall.
On the Firewall settings blade, make sure that Allow Azure services and resources to access this server is set to Yes.
For more information, please refer to:
Azure SQL Database with DirectQuery - Power BI | Microsoft Docs
Azure SQL firewall settings for Power BI refresh - Dutch Data Dude
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@mohit_K , There Few IPs apps.powerbi.com to be whitelisted
https://docs.microsoft.com/en-us/power-bi/admin/power-bi-whitelist-urls
or use on-prem gateway
https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-onprem
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
84 | |
69 | |
68 | |
39 | |
37 |