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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
DiKi-I
Post Partisan
Post Partisan

Deploy dataflow gen2 using deployment pipeline

How to migrate the dataflow between multiple stages dev test and prod using deployment Pipeline. The dataflow is connected to lakehouse and datawarehouse. Could you some one please help on this?

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

Thankyou, @MasonMA, for your response.

Hi DiKi-I,

We appreciate your question posted on the Microsoft Fabric Community Forum.

From what I understand, right now Dataflow Gen2 does not automatically update its Lakehouse or Data Warehouse connections when you deploy it. This creates some difficulties while moving across different environments because you need to change the connections manually.

Please follow these steps that might help solve the problem:

  1. Create three separate Fabric workspaces named Dev, Test, and Prod.
  2. Go to Deployment Pipelines in Fabric. Create a new pipeline and assign the Dev workspace to Stage 1. Then link the Test and Prod workspaces to the next stages.
  3. After setting up the pipeline, the Dataflow Gen2 will show up as an artifact. Click on Deploy to Test, and then Deploy to Prod. After deployment, update the Lakehouse or Data Warehouse connections manually in each stage.

Also, please check these links for more information:
The Microsoft Fabric deployment pipelines process - Microsoft Fabric | Microsoft Learn
Dataflow Gen2 with CI/CD and Git integration - Microsoft Fabric | Microsoft Learn
Overview of Fabric deployment pipelines - Microsoft Fabric | Microsoft Learn

If you find this response helpful, please mark it as the accepted solution and give kudos. This will help other community members who may have the same question.

If you have any more questions, feel free to reach out to the Microsoft Fabric community.

Thank you.

View solution in original post

7 REPLIES 7
HarishKM
Memorable Member
Memorable Member

@DiKi-I  hey,
Kindly refer below link to fulfill your requirement. -Microsoft Fabric: Moving Dataflows Gen 2 to different workspaces - Simple Talk

 


Thanks

Harish KM

Please accept this as a solution if this solves your problem and give kudos as well.

v-pnaroju-msft
Community Support
Community Support

Hi DiKi-I,

We are following up to see if your query has been resolved. Should you have identified a solution, we kindly request you to share it with the community to assist others facing similar issues.

If our response was helpful, please mark it as the accepted solution, as this helps the broader community.
Should you have any further queries, kindly feel free to contact the Microsoft Fabric community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi DiKi-I,

We are checking in to know if the information we provided helped in resolving your issue.
If you have any further questions, please do not hesitate to contact the Microsoft Fabric community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi DiKi-I,

We would like to follow up and see whether the details we shared have resolved your problem.
If you need any more assistance, please feel free to connect with the Microsoft Fabric community.

Thank you


v-pnaroju-msft
Community Support
Community Support

Thankyou, @MasonMA, for your response.

Hi DiKi-I,

We appreciate your question posted on the Microsoft Fabric Community Forum.

From what I understand, right now Dataflow Gen2 does not automatically update its Lakehouse or Data Warehouse connections when you deploy it. This creates some difficulties while moving across different environments because you need to change the connections manually.

Please follow these steps that might help solve the problem:

  1. Create three separate Fabric workspaces named Dev, Test, and Prod.
  2. Go to Deployment Pipelines in Fabric. Create a new pipeline and assign the Dev workspace to Stage 1. Then link the Test and Prod workspaces to the next stages.
  3. After setting up the pipeline, the Dataflow Gen2 will show up as an artifact. Click on Deploy to Test, and then Deploy to Prod. After deployment, update the Lakehouse or Data Warehouse connections manually in each stage.

Also, please check these links for more information:
The Microsoft Fabric deployment pipelines process - Microsoft Fabric | Microsoft Learn
Dataflow Gen2 with CI/CD and Git integration - Microsoft Fabric | Microsoft Learn
Overview of Fabric deployment pipelines - Microsoft Fabric | Microsoft Learn

If you find this response helpful, please mark it as the accepted solution and give kudos. This will help other community members who may have the same question.

If you have any more questions, feel free to reach out to the Microsoft Fabric community.

Thank you.

Just to add to this answer

Step 4 - every time you re-deploy the dataflow gen2 you will need to re-update the Lakehouse or Data Warehouse connection manually (since it is overwritten by the deployment pipeline).

 

This wasn't the case with dataflow gen1+datamarts, so hopefully Microsoft will look to streamline or parametrize the outputs in the future. 

MasonMA
Community Champion
Community Champion

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.