Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
egons11
Helper II
Helper II

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 7
Anonymous
Not applicable

Hi @egons11 ,

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)

 

samaguire_0-1719287416323.png

 

Anonymous
Not applicable

Hi @egons11 ,

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 .

Anonymous
Not applicable

Hi @egons11 ,

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 .

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

I am attempting this, and getting the same error.  Did you ever get a resolution to this?

Anonymous
Not applicable

Hi @egons11 ,

Apologize for the issue you are facing. The best course of action is to open a support ticket and have our support team take a closer look at it.

 

Please reach out to our support team so they can do a more thorough investigation on why this it is happening: Link 

 

After creating a Support ticket please provide the ticket number as it would help us to track for more information.

 

Hope this helps. Please let us know if you have any other queries.

Helpful resources

Announcements
Sept Fabric Carousel

Fabric Monthly Update - September 2024

Check out the September 2024 Fabric update to learn about new features.

Expanding the Data Factory Forums

New forum boards available in Data Factory

Ask questions in Apache Airflow Job and Mirroring.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.