Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
Hello,
I want to set up Apache Airflow Jobs in Fabric and have a few questions.
1. Is there a way to trigger a DAG via an HTTP-Trigger, REST-API or something other than timed schedules? The best thing would be event-based triggers based on certain data-files.
2. How do I pass parameters to a DAG in Fabric? I don't want to create a single DAG for every entity but instead pass the item_id to the DAG so that it executes it.
3. How do I pass the output of one task as the input of the following task? In regular Airflow I would use XCOMs but I haven't found anything in the Fabric documentation.
4. How do I run several tasks in parallel? I have my flow currently like this:
[read_2018_data, read_2019_data] >> join_data >> calculate_columns
read_2019_data >> read_data_failure
join_data >> join_data_failure
calculate_columns >> calculate_columns_failure
Are read_2018_data and read_2019_data being run in parallel? It doesn't look like it in the graph overview.
5. Are there good use-case examples for DAGs that can be used in Fabric? I find it to be rather difficult to develop them since I can't find any examples or documentation apart from really basic things that don't really reflect production use-cases.
Any help on this would be greatly appreciated,
Benedikt
Solved! Go to Solution.
Yes, it is possible to trigger a Fabric Pipeline using Azure Logic Apps:
Reference: https://learn.microsoft.com/en-us/answers/questions/1805816/accessing-fabric-lakehouse-via-logic-app
When triggering a DAG from the CLI, the REST API or the UI, it is possible to pass configuration for a DAG Run as a JSON blob.
Check these Airflow settings for parallel runs:
Max number of concurrent tasks across the whole Airflow environment,
Max number of concurrent tasks per DAG,
if you are you using a Pool to limit concurrency, check if both tasks are in a pool that has only 1 slot, That can cause serial execution.
What executor are you using?
If you’re on SequentialExecutor, that’s the bottleneck.
Thanks and Regards
Chaithra
Hi @b_schmitt ,
We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
Chaithra.
Hi @b_schmitt,
As i haven't heard back from you, please let me know if the provided answer was helpful, please mark it as "Accept as solution" and click "Yes" if you found it helpful, it will be helpful for other members of the community who have similar problems as yours to solve it faster.
Regards,
Chaithra.
Hi @b_schmitt ,
If the provided answer was helpful, please mark it as "Accept as solution" and click "Yes" if you found it helpful, it will be helpful for other members of the community who have similar problems as yours to solve it faster.
Regards,
Chaithra.
Yes, it is possible to trigger a Fabric Pipeline using Azure Logic Apps:
Reference: https://learn.microsoft.com/en-us/answers/questions/1805816/accessing-fabric-lakehouse-via-logic-app
When triggering a DAG from the CLI, the REST API or the UI, it is possible to pass configuration for a DAG Run as a JSON blob.
Check these Airflow settings for parallel runs:
Max number of concurrent tasks across the whole Airflow environment,
Max number of concurrent tasks per DAG,
if you are you using a Pool to limit concurrency, check if both tasks are in a pool that has only 1 slot, That can cause serial execution.
What executor are you using?
If you’re on SequentialExecutor, that’s the bottleneck.
Thanks and Regards
Chaithra
So I need to create an Azure Logic App to trigger DAGs in Fabric via REST API? That seems a bit convoluted
Hi @b_schmitt ,
Yes, it’s a bit indirect but this is the supported approach. Currently Microsoft Fabric does not support triggering DAGs directly via REST API or event/webhooks. Use Azure Logic Apps or Event Grid to detect events and trigger a Fabric Data Pipeline, which in turn can trigger your Airflow DAG.
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
Chaithra.
Hi @b_schmitt ,
Please follow this document inorder to set up Apache Airflow Jobs in Fabric.
Run a Fabric data pipeline and notebook using Apache Airflow DAG. - Microsoft Fabric | Microsoft Lea...
I already followed the tutorial that you have linked. But since that describes a very basic DAG it does not answer any of my above questions.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
44 | |
14 | |
12 | |
5 |
User | Count |
---|---|
80 | |
74 | |
27 | |
8 | |
7 |