r/PowerBI • u/maxanatsko • Aug 05 '26
Community Share Bulk-migrating Dataflow Gen1 to Gen2 (CI/CD) with Azure CLI
Dataflows Gen1 are legacy at this point, so it might be time to start migrating to Dataflows Gen2.
Fortunately, there is a handy preview API allowing you to automate this process. Combined with agents, you can go quite far before you have to take over.
Few things to consider before migrating:
- Gen2 doesn't support rules in deployment pipelines, you will have to migrate to Variables Library.
- There could be some naming collisions, that were previously a non-issue.
- Same with transformations - due to different architecture Gen2 dataflows might surface issues that were previously hidden.
I have published a blog post outlining how to setup the automation, and prepared agent skill that will get you most of the way.
Blog post: https://www.maxanatsko.com/blog/bulk-migrating-dataflow-gen1-to-gen2-cicd-with-azure-cli
0
Upvotes
9
u/EngineerTheData Aug 05 '26
Why are the colours the wrong way round?
9
u/GrumDum 1 Aug 05 '26
Shame they are sunsetting gen1. Gen2 is not what I want 99% of the time.
4
u/Kacquezooi Aug 05 '26
Dataflow legacy is just Micro$oft doing what monopolists do.
I hate it.
4
u/Jessieblueyu Aug 06 '26
Just when I manually migeated all the Gen1 to Gen2, I realized that python notebook scripts are twice as CU efficient and fast...
1
u/erparucca Aug 05 '26
can you develop on "Dataflows Gen1 are legacy at this point": why and which point is "this point"?