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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
MisterSmith
Helper I
Helper I

Dynamically set Copy data Destination Connection or Notebook Workspace.

Hi All

I have created 3 workspaces to act as our Development, Test & Production enviroments.  I have an issue with setting either the on prem copy data activity destination connection or Notebook activity Workspace setting in the pipeline. Screenshot below.

 

tempsnip.png

 

I can only select the Connection or Workspace by manually using the drop down box.  However I need these activities to have an option to dynamically set the connection/workspace based on the workspace the pipeline is in.  Otherwise I have to manually amend each activity in each pipeline to the correct workspace once it is deployed to the that enviroment/workspace.  Can anyone help with this? Is this amendment part of any Fabric future releases?

 

Thanks

 

Neil

1 ACCEPTED SOLUTION
arpost
Kudo Collector
Kudo Collector

@MisterSmith, I see parameterization of pipeline connections is on the release plan, but in the interim you should be able to use the Use Dynamic Content option (assuming no limitations due to your using On-Prem) Once you input a value, it will reveal a variety of other fields depending on your connection type.

 

Snag_767c376c.png

 

In my scenario, I need to deploy these pipelines across multiple workspaces, so I created a separate "Environment Variables" pipeline that has a set of return values with the IDs needed for the current workspace. Then, I just have my triggering pipeline invoke that "global" pipeline to get the IDs shown above for my lakehouses, workspaces, etc. This can then pass these variables to other child/downstream pipelines through parameters.

View solution in original post

6 REPLIES 6
jianleishen
Microsoft Employee
Microsoft Employee

today you can use dynamic connector to parameterize Lakehouse/Data warehouse, and the support for general connection parameterization is on the roadmap.

v-nuoc-msft
Community Support
Community Support

Hi @MisterSmith 

 

Can you tell me if your problem is solved? If yes, please accept it as solution.

 

Regards,

Nono Chen

arpost
Kudo Collector
Kudo Collector

@MisterSmith, I see parameterization of pipeline connections is on the release plan, but in the interim you should be able to use the Use Dynamic Content option (assuming no limitations due to your using On-Prem) Once you input a value, it will reveal a variety of other fields depending on your connection type.

 

Snag_767c376c.png

 

In my scenario, I need to deploy these pipelines across multiple workspaces, so I created a separate "Environment Variables" pipeline that has a set of return values with the IDs needed for the current workspace. Then, I just have my triggering pipeline invoke that "global" pipeline to get the IDs shown above for my lakehouses, workspaces, etc. This can then pass these variables to other child/downstream pipelines through parameters.

I tried this approach but I am getting below error. What is the solution for this issue?

 

sgb_fabric_1-1737631058162.png

 

 

Wanted to know how we can provide the source connection dynamically rather than manually selecting from the dropdown for copy activity and lookups as we have to deploy the pipeline to other workspaces which uses different connection.

Brilliant thanks I will try this and let you know 😀

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!

Jan NL Carousel

Fabric Community Update - January 2025

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