Forum Discussion
Unable to trigger fabric data pipeline using REST API's
- 1 year ago
munnas - The API that you use to trigger a Fabric Data Pipeline does not support Service Principals. You have to use a named user account & password. They will be bringing service pricipal support to more API's in the future.
It does work with Username/Password as we are able to do that within our Company. It will eventually work in Power Automate but since the API does not return a response the HTTP Post with Azure Entra (preauthorized) does not function properly.
There is another thread in the community that goes into more detail. It's fairly recent.
Jeremy
- 1 year ago
You can take a look at this topic: https://community.fabric.microsoft.com/t5/Data-Pipeline/How-to-trigger-an-on-demand-run-to-a-pipeline-from-a-API/m-p/4248175
Did you add the service principal to access the workspace where the data pipeline is in with sufficient permissions? You do not need any application permissions as shown in the screenshot. Also make sure that your service principal is able to run REST APIs. This can be set in the Power BI (Fabric) admin settings.