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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Julian_Lee
Frequent Visitor

Script Component in Data Pipeline - Trying to Target a Lakehouse

Trying to add a script component to a pipeline. Can't see the connection to the lakehouse in the connection list (warehouse does appear). Should you be able to target a script component at a lakehouse or does this only work for warehouses?

1 ACCEPTED SOLUTION

Hi @Julian_Lee 

 

If you want to establish the connection for Lakehouse in Pipeline Script activity, please follow the below steps.

Click on the 3 dots and copy the SQL connection string.

vcboorlamsft_0-1716480918496.png

vcboorlamsft_2-1716481034147.png

Under Script activity select Azure SQL Database under Get data and paste the SQL connection string in server place and click connect.

vcboorlamsft_1-1716481015158.png

vcboorlamsft_3-1716481081990.png

You will be able to see the Lakehouse list.

vcboorlamsft_4-1716481197722.png

 

I hope this information helps. Please do let us know if you have any futher queries.

 

Thank you.

View solution in original post

6 REPLIES 6
v-cboorla-msft
Community Support
Community Support

Hi @Julian_Lee 

 

Thanks for using Microsoft Fabric Community.

Could you please share some additional information like sharing the screenshots of the issue that you are facing. This will help me to guide you in a better way.

 

Thank you.

Below is the Lakehouse setup within a Workspace: TDC - Bronze

Julian_Lee_0-1716474796454.png

I have created a pipeline with a script in it

Julian_Lee_1-1716474796456.png

In the Settings > Connection I expected to see the TDC_Bronze_Lakehouse but it doesn’t show up

But warehouses do.

Hi @Julian_Lee 

 

If you want to establish the connection for Lakehouse in Pipeline Script activity, please follow the below steps.

Click on the 3 dots and copy the SQL connection string.

vcboorlamsft_0-1716480918496.png

vcboorlamsft_2-1716481034147.png

Under Script activity select Azure SQL Database under Get data and paste the SQL connection string in server place and click connect.

vcboorlamsft_1-1716481015158.png

vcboorlamsft_3-1716481081990.png

You will be able to see the Lakehouse list.

vcboorlamsft_4-1716481197722.png

 

I hope this information helps. Please do let us know if you have any futher queries.

 

Thank you.

Hi v-cboorla-msft,

That's great. Nicely explained.

Hi @Julian_Lee 

 

Glad that you query got resolved.
Please continue using Fabric Community for further queries.

 

Thank you.

Keith_Watson
New Member

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.