Data Factory - Stop Pipeline using Post Error

Geoffrey SOUQUIÈRE 51 Reputation points
2022-06-07T15:28:22.88+00:00

Hi there,

How you are going?

I am trying to stop a pipeline run.

I am using a post with this url

209157-image.png

then post

209201-image.png

I got this message error, and I have no idea what to do? Got something?

209192-image.png

Let me know & have a nice day

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
0 comments No comments
{count} vote

Answer accepted by question author
  1. AnnuKumari-MSFT 34,566 Reputation points Microsoft Employee Moderator
    2022-06-08T05:43:15.443+00:00

    Hi @Geoffrey SOUQUIÈRE ,

    Thankyou for using Microsoft Q&A platform and thanks for posting your question here.

    As I understand your query, you are trying to breakout from the pipeline run by sending Cancel request via Web activity , however, in your case, it's failing due to access issue. Please let me know if my understanding about your query is incorrect.

    Kindly go to the Access control option in your ADF and provide Contributor role to your ADF managed identity.

    209344-image.png

    Note : Cancel pipeline REST API won't work in debug mode. You need to publish your pipeline and trigger it in order to execute it successfully.

    209364-cancelpipelinerun.gif

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you.
      Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.