Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Is there any way available to programatically create an dataflow gen2 artifact in microsoft Fabric.
Please share any sample code (preferably using python in fabric notebook).
I need this automation feature to resolve various usecases.
One such example would be to automatically migrating dataflow gen 1 to dataflow gen2.
Ie., I want to perform the steps given in the following article programatically
There's an API to create Dataflow here: https://learn.microsoft.com/en-us/rest/api/fabric/dataflow/items
Semantic Link Labs has a function for creating Gen2 from Gen1:
https://semantic-link-labs.readthedocs.io/en/latest/sempy_labs.html#sempy_labs.upgrade_dataflow
I haven't tried any of these but would give it a try.
I also want to know about this scenario that if Dataflow gen2 can be created programatically as I have a use case for upcoming years data so there shoulb be some automated process like notebook which can make Dataflow gen2 automatically and attach it to the pipeline.
There do not appear to be API entries yet for Dataflow Gen2s (nor does the artifact appear in DevOps after a synch, so no code definition in git).
(https://learn.microsoft.com/en-us/rest/api/fabric/articles/)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Fabric update to learn about new features.
User | Count |
---|---|
16 | |
5 | |
4 | |
3 | |
2 |