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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
UncleLewis
Responsive Resident
Responsive Resident

Unable To Connect Azure SQL Database

Hi all,

 

I signed up for a free trial for Azure, added a SQL Database and configured the firewall, but I am still not able to connect to the SQL Server (Direct Query or Import)

 

What might I be missing here?

 

thanks

-w

 

 

Details: "An error happened while reading data from the provider: 'Could not load file or assembly 'System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Either a required impersonation level was not provided, or the provided impersonation level is invalid. (Exception from HRESULT: 0x80070542)'"

 

2 REPLIES 2
v-xicai
Community Support
Community Support

Hi @UncleLewis ,

 

In your scenario, do you install SSMS on the same machine that has Power BI Desktop installed? If not, except the “allow access to Azure services” setting, please ensure that you have set up a firewall rule to allow Power BI Desktop to make a connection to Azure SQL.

 

Please upgrade the Power BI Desktop to the latest version 2.73.5586.1101 , and then try it again.

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Thanks Amy,

 

SSMS is installed on the same machine as Power BI Desktop

I upgraded Power BI Desktop a few days ago so I am using version 2.73.5586.984 64-bit (Sep, 2019)

On the Azure Portal, I clicked on my SQL Database >> Set Server Firewall and under Allow Azure services and resources to access this server, I added my IP Address

 

Is there anything else I need to do?

 

Thanks

-w

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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