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

Join us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register 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!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

FebFBC_Carousel

Fabric Monthly Update - February 2025

Check out the February 2025 Fabric update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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