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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
pvila89
New Member

Connecting PowerBI Embedded to SQL Server

Hi,

I am having problems when I try to get data from an SQL server using Power BI embedded.

 

The scenario is the following:

I have implemented a MVC application that integrates PowerBI embedded. It works when I am getting data from a SQL Azure, but is not working when the data comes from a SQL Server. The error given is the following:

 

"Your data gateway (Power BI – personal) is offline, but a data gateway is available."

 

Is there any way to make it work?

 

Thanks in advance.

1 ACCEPTED SOLUTION
Sunkari
Responsive Resident
Responsive Resident

There is not gateway support for on-premise sql server database using PowerBi Embedded. 

 

Power BI Embedded only support azure databases with direct connection and direct connection/scheduled refresh will not be supported for on-premises databases using gateway

View solution in original post

2 REPLIES 2
mpo
Helper II
Helper II

I think PowerBI Embedded requires an on-premises gateway to be set up in order to connect to your own data source. Are you using that?

Sunkari
Responsive Resident
Responsive Resident

There is not gateway support for on-premise sql server database using PowerBi Embedded. 

 

Power BI Embedded only support azure databases with direct connection and direct connection/scheduled refresh will not be supported for on-premises databases using gateway

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.