How to create Webhook for Azure Runbook

Daniel Ispanovits 5 Reputation points
2025-09-16T15:54:48.4733333+00:00

Hi,

I started having issues with adding Webhooks to existing Azure Runbooks.
No matter what parameters I use it fails with the following:

An error occurred while creating the Webhook 'CreatePlan'.

Error details:

{"stack":"BatchResponseItemError: Batch response item http error 400\n at t (https://portal.azure.com/Content/Dynamic/orGwOI0pWnf6.js:27:815)\n at new t (https://portal.azure.com/Content/Dynamic/orGwOI0pWnf6.js:47:12370)\n at https://portal.azure.com/Content/Dynamic/orGwOI0pWnf6.js:47:4954\n at Array.forEach (<anonymous>)\n at https://portal.azure.com/Content/Dynamic/orGwOI0pWnf6.js:47:3209","message":"Batch response item http error 400","type":"FxAjaxBatchResponseItemError","baseTypes":["FxAjaxBatchResponseItemError","MsPortalFx.Errors.Error"],"extension":"Microsoft_Azure_Automation","errorLevel":2,"timestamp":61189.69999998808,"name":"BatchResponseItemError","innerErrors":[],"content":{"Message":"The request is invalid.","ModelState":{"webhook.properties.parameters":["Invalid argument specified. Argument parameters cannot be null."]}},"headers":{"Pragma":"no-cache","x-ms-request-id":"<removed PII>","x-ms-operation-identifier":"tenantId=<removed PII>,objectId=<removed PII>","x-ms-ratelimit-remaining-subscription-writes":"199","x-ms-ratelimit-remaining-subscription-global-writes":"2999","x-ms-correlation-request-id":"<removed PII>","x-ms-routing-request-id":"UKSOUTH:20250916T152703Z:<removed PII>","Strict-Transport-Security":"max-age=31536000; includeSubDomains","X-Content-Type-Options":"nosniff","X-Cache":"CONFIG_NOCACHE","X-MSEdge-Ref":"Ref A: D172807DB8E84C6099605234CBF85D70 Ref B: AMS231032609047 Ref C: 2025-09-16T15:27:02Z","Cache-Control":"no-cache","Date":"Tue, 16 Sep 2025 15:27:02 GMT"},"httpStatusCode":400}.

Is this a bug or has something changed recently?

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.


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.