Forum Discussion
Invoking Pipeline across workspaces
Hi,
It looks like there is still no native option to invoke a pipeline from a different workspace using the invoke pipeline activity.
Are there any work arounds available to invoke a pipeline in Y workspace after a pipeline in X workspace has finished running succesfully?
7 Replies
- AnonymousNot applicable
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.- AnonymousNot 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 .- AnonymousNot 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 .
- AnonymousNot 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)