Runbook got failed but data factory webhook activity kept running or completed without any error

Ravi Shukla 21 Reputation points
2021-09-03T04:32:01.16+00:00

Hello Team , We have create runbook which process the azure analysis services .and we using data factory webhook activity to trigger the runbook . For success scenario :- once runbook completed without error webhook completed . For failure scenario:- once runbook completed and we have error on error tab but webhook still getting completed ,Please find the screen shot below :- Runbook error:-![128870-image.png][1] ADF wehbook:-![128943-image.png][2] Runbook ![128905-image.png][3] We need if Runbbok have error then webhook should failed on adf . [1]: /api/attachments/128870-image.png?platform=QnA [2]: /api/attachments/128943-image.png?platform=QnA [3]: /api/attachments/128905-image.png?platform=QnA

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
438 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,603 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,126 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,381 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Stanislav Zhelyazkov 21,336 Reputation points MVP
    2021-09-03T07:44:25.67+00:00

    Hi,
    The answer to this issue is available here. If a cmdlet gives error and you want the runbook to fail instead of continuing to the next cmdlet you need to $errorActionPreference = "Stop" by default that value is Continue.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.