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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
mohit_K
Helper I
Helper I

Gateway for Azure SQL Server

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.

1 ACCEPTED SOLUTION
v-eqin-msft
Community Support
Community Support

Hi @mohit_K ,

 

According to the official document, Gateway is not required for Azure SQL Database.

Eyelyn9_0-1648533621174.png

Eyelyn9_1-1648534051318.png

 

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:

  1. Sign in to the Azure portal.

  2. Go to the Azure SQL database for which you're configuring refresh.

  3. At the top of the Overview blade, select Set server firewall.

  4. 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.

 

View solution in original post

2 REPLIES 2
v-eqin-msft
Community Support
Community Support

Hi @mohit_K ,

 

According to the official document, Gateway is not required for Azure SQL Database.

Eyelyn9_0-1648533621174.png

Eyelyn9_1-1648534051318.png

 

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:

  1. Sign in to the Azure portal.

  2. Go to the Azure SQL database for which you're configuring refresh.

  3. At the top of the Overview blade, select Set server firewall.

  4. 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.

 

amitchandak
Super User
Super User

@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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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