Problem Statement
In the blog Invoke Azure Data Factory Pipeline via MSFT Fabric, we saw the possibility of triggering an Azure Data Factory (ADF) pipeline via MSFT Fabric data pipeline leveraging ADF REST APIs.
Is it possible to invoke the ADF pipeline via the MSFT Fabric data pipeline without the REST API / Web activity?
Prerequisites
- Azure Data Factory
- MSFT Data Factory
- Organizational Account /Service Principal
- How to Create a Service Principal
Note. To trigger an ADF pipeline, the Organizational Account / Service Principal must have the below minimum permission on the ADF.
/Microsoft.DataFactory/factories/pipelines/createrun/action
- Create a pipeline in MSFT Fabric Data Factory and Drag and drop the Invoke Pipeline activity.
- Select 'Azure Data Factory' in the Type section.
- Click on Connection to create a new connection. And select 'Azure Data Factory'.
- Provide the necessary details pertaining to the Azure Data Factory pipeline that needs to be triggered.
Note. One can create a connection either via an Organization account or Service principal.
Once the connection is established, Select the necessary pipeline (or parameterize it via dynamic content).
Output