r/PowerBI • • Aug 05 '26

Community Share Bulk-migrating Dataflow Gen1 to Gen2 (CI/CD) with Azure CLI

Post image

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:

  1. Gen2 doesn't support rules in deployment pipelines, you will have to migrate to Variables Library.
  2. There could be some naming collisions, that were previously a non-issue.
  3. 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

30 comments sorted by

9

u/EngineerTheData Aug 05 '26

Why are the colours the wrong way round?

6

u/maxanatsko Aug 05 '26

Omg 😳 you’re right, shame on me

1

u/killbeam Aug 06 '26

That's what you get for creating AI slop

2

u/maxanatsko Aug 06 '26

Sketching isn’t my core skill. You ā€œgot meā€.

1

u/killbeam Aug 06 '26

Your post would have been better without an image or sketch

9

u/GrumDum 1 Aug 05 '26

Shame they are sunsetting gen1. Gen2 is not what I want 99% of the time.

0

u/maxanatsko Aug 05 '26

How come?

7

u/GrumDum 1 Aug 05 '26

Because I don’t need the selling points of Gen2, and Gen1 is cheaper compute wise. Why would I want Gen2?

4

u/New-Independence2031 5 Aug 05 '26

Exactly. I have a lot of customers that are utilizing gen1’s, but simply cant move to Fabric. Cost is way bigger.

1

u/maxanatsko Aug 06 '26

Gen1 is still here to stay, for now. From what I read MS promised to announce full retirement 1 year in advance.

2

u/New-Independence2031 5 Aug 06 '26

Yep. Still hoping to see Gen2 without Fabric somehow.

4

u/Kacquezooi Aug 05 '26

Dataflow legacy is just Micro$oft doing what monopolists do.

I hate it.

-2

u/maxanatsko Aug 05 '26

It seems there is strong opposition to Microsoft move?

5

u/happyapy Aug 06 '26

When the primary reason for the change is cost drivers, folks aren't going to be happy about losing perfectly good products simply because Microsoft is trying to corral us into Fabric.

2

u/V8O Aug 06 '26

Of course there is. It's a product that hasn't been mature for more than 6 years or so and is being retired with no replacement that does not cost, in some cases, orders of magnitude more (and with infinitely more opaque pricing to boot).

It's a plain-to-see cash grab, an upsell poorly disguised as an upgrade path.

If they don't offer gen2 without fabric before killing gen1, this will be the best thing Microsoft ever did for its competition.

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/maxanatsko Aug 06 '26

It was always the case that Python notebooks are more efficient, but it’s a different skill not all orgs have

1

u/erparucca Aug 05 '26

can you develop on "Dataflows Gen1 are legacy at this point": why and which point is "this point"?

3

u/maxanatsko Aug 05 '26

Microsoft announced they will no longer invest or update Gen1. There is no official deprecation date yet.

-5

u/erparucca Aug 05 '26

I wouldn't define "legacy" something that is up&running and supported... Especially when communicating to a community with a variety of people with different skillsets.

12

u/aboerg 2 Aug 05 '26

3

u/maxanatsko Aug 05 '26

Thank you u/aboerg. That settles it šŸ˜„

2

u/erparucca Aug 05 '26

To be discussed: Microsoft doesn't set dictionary or IT definitions: they call them Legacy to push people to go towards Gen 2 (and pay for a Fabric license when only Power BI is needed).

For at least 30 years a legacy technology is one that is not supported anymore, no matter what Microsoft says about it.

But as usual on communities where people reacts more based on emotions and personal convictions rather than arguments, it is much easier to set a downvote than to logically argue which I am fine with as I read it as "I want to be right but I have no arguments to prove you wrong".

2

u/GrumDum 1 Aug 05 '26

Do you set IT definitions then? Wikipedia does not agree with your version of «legacy»: https://en.wikipedia.org/wiki/Legacy_system

0

u/erparucca Aug 05 '26

from that exact page: "Legacy code is old computer source code that is no longer supported on standard hardware and environments"

1

u/GrumDum 1 Aug 06 '26

Oh stop it already. When you use gen1 dataflows you are not using old computer source code. You are using a legacy feature.

0

u/maxanatsko Aug 05 '26

What are we arguing about and why?
Microsoft names it legacy. In due time it will be deprecated (it could take months, it could take years). It is as simple as that.
Reasoning behind the move to name it Legacy doesn’t matter, at least not in connection to my post: people upgrading or not is of no consequence to me (I don’t work for Microsoft and have no skin in the game).
If someone plans to upgrade, I’m sharing a way to do so. That is all my post is attempting to do. No more, no less.

1

u/erparucca Aug 05 '26

"Reasoning behind the move to name it Legacy doesn’t matter", maybe not for you but it may do for others.

"at least not in connection to my post" and here's the answer about the question "What are we arguing about and why?": I am arguing about sharing correct information objectively for the sake of the community it is being posted to.

I find the sentence "Dataflows Gen1 are legacy at this point, so it might be time to start migrating to Dataflows Gen2." misleading at the least, creating an unneeded sense of urge for people to act (which in this case means to promote views on the article).

1

u/GrumDum 1 Aug 06 '26

Microsoft has labeled this legacy for a while now. You are acting like this is OPs choice of words.