How to cancel pipeline — No cancel button is available

爷,独闯天下 提交于 2019-12-11 15:49:07

问题


I have a pipeline running (8735cc10-80db-4401-8f9e-516d733b450e). From the activity runs page, I see the pipeline is running, but from the Pipleline Runs page, it shows a status of failure.

Is there a way to cancel this pipeline run from the UI ?


回答1:


The easiest way to do this is from powershell.

Download the Azure sdk for powershell from here: https://azure.microsoft.com/en-us/downloads/ then run this:

Login-AzureRmAccount

Select-AzureRmSubscription -SubscriptionName "SubscName"

Stop-AzureRmDataFactoryV2PipelineRun -ResourceGroupName "Name" -DataFactoryName "DataFactoryName" -PipelineRunId 8735cc10-80db-4401-8f9e-516d733b450e

Replace with your own names.

Hope this helped!



来源:https://stackoverflow.com/questions/48891259/how-to-cancel-pipeline-no-cancel-button-is-available

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!