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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
RahilBukhari
Advocate I
Advocate I

Power BI Refresh failure Azure SQL DB and On Premise SSAS

Hi

I've got a simple Pbix which connects to Azure SQL DB and an On Premise SSAS Tabular (IaaS in Azure). We have an On Premise Gateway configured and this gateway works absolutely fine because we have Pbix with live connections to the SSAS model published.

 

When I publish the pbix to PowerBI.com with just the Azure SQL DB connection, the schedule refresh and refresh now completes succesfully. Equally when i just have a pbix with the SSAS Tabular connection which imports data (not Live), the schedule refresh and refresh now completes succesfully (using the On Premise Gateway). 

 

However if I have both in the same pbix with exactly the same configuration, the refresh fails, complaining  that the Personal Gateway (i have no idea why it's complaining about this as we don't have the Personal Gateway configured) is not available. The Azure SQL DB is configured to enable connections from other Azure services and as I mentioned above the Pbix will refresh succesfully when it just has the connection to the database. Appreciate some guidance on this. 

 Capture.PNG

 

 

4 REPLIES 4
Anonymous
Not applicable

I have same issue. 

It fails sometime with no reason.

 

 

v-haibl-msft
Microsoft Employee
Microsoft Employee

@RahilBukhari

 

You need to add these two data sources to the same gateway, one for Azure SQL and one for on-premises AS as below.

 

 

 

Best Regards,
Herbert

Thanks @v-haibl-msft

 

I tried adding the Azure SQL DB to the same gateway however it couldn't establish a connection and when i read up on it, you shouldn't have to create a gateway since it's already an Azure service, which has enabled access to other Azure services. I assumed this is why I had this error but the fact that you can create the connection suggests something else might be going on.

 

Capture3.PNGCapture1.PNG

@RahilBukhari

 

In Azure portal, have you enabled 'Allow access to Azure services' and set server firewall to provide access to client IPs?

Please refer to this document.

 

 

Best Regards,
Herbert

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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