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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
nagaraj
Post Patron
Post Patron

Azure SQL Database Gateway

Hi,

 

 Our report is pulling data from Azure SQL database, i am using Direct Query mode.

 Report is working fine, but when published report is asking for Gateway connection.

 

For Azure SQL database do we need to setup gateway for Azure databases.

Not sure please suggest the steps to resolve this

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

Hi @nagaraj ,

 

When using DirectQuery with an Azure SQL Database and a private IP address, an on-premises gateway is required.  You could reference the document: Important considerations when using DirectQuery  to learn more.

 

Please add the data source into gateway and map to it in dataset settings to try again.

3.PNG2.PNG

 

For more details about gateways, please take a look at the documents.

On-premises data gateway in-depth 

 

Best Regards,
Xue Ding
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

5 REPLIES 5
v-xuding-msft
Community Support
Community Support

Hi @nagaraj ,

 

When using DirectQuery with an Azure SQL Database and a private IP address, an on-premises gateway is required.  You could reference the document: Important considerations when using DirectQuery  to learn more.

 

Please add the data source into gateway and map to it in dataset settings to try again.

3.PNG2.PNG

 

For more details about gateways, please take a look at the documents.

On-premises data gateway in-depth 

 

Best Regards,
Xue Ding
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

@nagaraj , refer if this can help

https://radacad.com/power-bi-get-data-from-azure-sql-database

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak @az38 

 

Thanks for your inputs, my azure database has all the permission that were mentioned in the belwo link.

 

Not sure what is the issue, to explain bit more 

 

 1. I have multiple datasources (SQL Server On Premise, Azure SQL database)

 2. In my report apart from 1 table all others are using IMPORT mode.

 3. Desktop the report is working fine.

 4. When published to Service i see the below error

 

 Error:  There is no available gateway

 

Regards

Nagaraj

az38
Community Champion
Community Champion

@nagaraj 

if you use On-Premises SQL Server, the Service will need access to it. Do you have a Gateway from Service to On-Premise?


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
az38
Community Champion
Community Champion

Hi @nagaraj 

check this manual https://docs.microsoft.com/en-us/power-bi/service-azure-sql-database-with-direct-connect


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors