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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
nokunta
New Member

Run a dataflow gen 2 through api

Is it possible to run/refresh a dataflow gen 2 through an api?

 

I've tried Job Scheduler Api with jobType=dataflowgen2 but with service principal authentication doesn't work. 

Is there a workaround?

 

3 REPLIES 3
Anonymous
Not applicable

Hi @nokunta ,

 

Currently, there is no suitable api to implement dataflow gen2 refresh. But you can realize data refresh by copy data activity in data pipeline, refer to the following api:

PATCH https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/dataPipelines/{dataPipelineId}

 

You can refer to below document:

Items - Update Data Pipeline - REST API (DataPipeline) | Microsoft Learn

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ok, my dataflow already appends the data to the destination I didn't want to duplicate this data.

 

Any idea when pipeline type will work with service principal or when we will have an api ro run/schedule dataflows?

Please vote to highlight the need for service principal authentication in Fabric API:

 

https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=e5ec086c-f1ce-ee11-92bd-6045bdbce644

 

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Free Fabric Certifications

Free Fabric Certifications

Get Fabric certified for free! Don't miss your chance.

January Fabric Update Carousel

Fabric Monthly Update - January 2026

Check out the January 2026 Fabric 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.

Top Solution Authors
Top Kudoed Authors