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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply

Not able to connect to Lakehouse SQL endpoint

Hi,

 

When trying to connect to a SQL-endpoint from a Lakehouse in Microsoft Fabric with Power BI Desktop I got this error message:

jvangrunderbeec_0-1712750638276.png

I have no idea how i can verify that the server is allowed remote connections, as it is just the SQL-endpoint from the Lakehouse i'm connecting to...

 

Has anybody had this problem before?

 

Kind regards,

Joël

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

Hi @jvangrunderbeec ,

 

The chief must already have an existing lakehouse. Create a lakehouse in Microsoft Fabric. And be able to successfully open the SQL analytics endpoint file.

vkongfanfmsft_0-1714119246248.png

 

Then you can connect to existed lakehouse in desktop, refer to below screenshoot:

vkongfanfmsft_1-1714119490108.png

vkongfanfmsft_2-1714119502510.png

vkongfanfmsft_3-1714119510200.png

 

For more details, you can read below document:

Power Query Lakehouse (Beta) connector - Power Query | Microsoft Learn

Lakehouse Connector In Power BI Desktop (fabric.guru)

 

Best Regards,
Adamk Kong

 

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

8 REPLIES 8
v-kongfanf-msft
Community Support
Community Support

Hi @jvangrunderbeec ,

 

The chief must already have an existing lakehouse. Create a lakehouse in Microsoft Fabric. And be able to successfully open the SQL analytics endpoint file.

vkongfanfmsft_0-1714119246248.png

 

Then you can connect to existed lakehouse in desktop, refer to below screenshoot:

vkongfanfmsft_1-1714119490108.png

vkongfanfmsft_2-1714119502510.png

vkongfanfmsft_3-1714119510200.png

 

For more details, you can read below document:

Power Query Lakehouse (Beta) connector - Power Query | Microsoft Learn

Lakehouse Connector In Power BI Desktop (fabric.guru)

 

Best Regards,
Adamk Kong

 

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

Element115
Power Participant
Power Participant

Something is rotten in the kingdom of Denmark!  Look at this:  I am able to connect directly to the lakehouse using the worksapceId and lakehouseId from within a M query BUT NOT using the Power Query GUI! 

let
  Source = Lakehouse.Contents(null){[workspaceId = "id"]}[Data]{[lakehouseId = "id"]}[Data],
  Navigation = Source{[Id = "DimOCState", ItemKind = "Table"]}[Data]
in
  Navigation

 

And also able to connect to the lakehouse via the GUI by selecting SQL Server connection, which generates this M code:

 

let
    Source = Sql.Database("SQL_endpoint_ID.datawarehouse.fabric.microsoft.com", "LH_ECOCOUNT", [CreateNavigationProperties=false]),
    dbo_DimOCState = Source{[Schema="dbo",Item="DimOCState"]}[Data]
in
    dbo_DimOCState

 

I have no effing idea what's going on!!! Why doesn't the GUI connection ADLS Gen2 work? I give it the lakehouse URL and this is the error it spits back in my face!  😠

Screenshot 2024-04-10 213632.jpg

Element115
Power Participant
Power Participant

Actually could you please describe the steps you took to get to this error msg?  Because I was able to connect to my lakehouse SQL endpoint by using a SQL Server connection.

I go to Power BI Desktop

Click on One lake data hub

Choose lakehouses

Select the Lakehouse I want to connect with

Click on the dropdown and choose connect to SQL endpoint

 

I'm doing this on another tenant as well, and there it works... Very strange... Maybe it could have to do with some security settings?

If I had a dollar for every time I also used the word 'strange'  😁 


The user you are using to sign in to Power BI Desktop, does this user have the same permissions in the tenant/workspace where this LH is that PBI Desktop can't connect to?   

I am assuming that it is not the firewall config since you are PBI Desktop to connect successfully to LHs in other tenants/workspaces.

Yes, my user has access and is able to see the lakehouses and select them. But the connection just doesn't work... 

Could you pls give more details and screenshot of the PBI Desktop GUI to show how you specify the connection paramters? ie what are you selecting on screen while in the Connect dialog?

Element115
Power Participant
Power Participant

Yes, had it before and experiencing it again just now.  I vaguely remember posting something about this already in this forum... trying to find it and will get back to you.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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