Forum Discussion
Invoking Pipeline across workspaces
Hi Anonymous ,
Thanks for using Fabric Community.
You're right, there's currently no native way to directly trigger a pipeline in a different workspace using the Invoke Pipeline activity in Fabric Data Factory.
However I can suggest a simple workaround -
The API for triggering pipelines is: Job Scheduler - Run On Demand Item Job - REST API (Core) | Microsoft Learn
With the help of this you can trigger a Pipeline in different workspace.
" The Job Scheduler API is missing documentation when it comes to the jobType parameter. If you are trying to run a Data Pipeline on demand, don't use DefaultJob like this.
/jobs/instances?jobType=DefaultJob
Instead, use Pipeline like this.
/jobs/instances?jobType=Pipeline "
Hope this is helpful. Please let me know incase of further queries.
This was useful for me: Fabric data pipeline public REST API (Preview) - Microsoft Fabric | Microsoft Learn
Using a web activity, the connection settings will need to be as per:
base url: https://api.fabric.microsoft.com
token audience url: https://analysis.windows.net/powerbi/api
authentication: organizational (spn / service principle isn't supported atm)