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.
- Anonymous2 years agoNot applicable
Hi Anonymous ,
We haven’t heard from you on the last response and was just checking back to see if your query was answered.
Otherwise, will respond back with the more details and we will try to help .- Anonymous2 years agoNot applicable
Hi Anonymous ,
We haven’t heard from you on the last response and was just checking back to see if your query was answered.
Otherwise, will respond back with the more details and we will try to help .- Anonymous2 years agoNot applicable
I wasn't able to make it work with a regular web activity in the pipeline itself. I am getting a configuration error, when trying to run it. Error code: 2108
- Anonymous2 years agoNot applicable
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)