Start Azure Automation Runbooks with Webhooks

preview_player
Показать описание
This video details how to start Azure Automation Runbook jobs with a HTTP webhook. Azure Automation is Microsoft's cloud-hosted automation solution. It uses Python or PowerShell based scripts, referred to as runbooks, to launch automation jobs in Azure or on-premises with a hybrid worker.

00:00 - Start
03:34 - Create a Runbook
04:08 - Create a Webhook
05:14 - Add Code to the Runbook
06:02 - Start the Runbook with a Webhook
07:32 - Start the Runbook with a Webhook
08:17 - Use Data Passed to the Runbook

Links:

Рекомендации по теме
Комментарии
Автор

You don’t get enough credits for your tutorials. Thanks for this!

michaelwaterman
Автор

Thank you for the explanation. Anyone did the above things in python. Create an runbook in python and take two parameters as input. create another python script to POST HTTP the above webhook url and the parameters

MuhammedSavadkv
Автор

Thank you for explaining this topic very clearly!

evabender
Автор

Good explanation! thank you very much. I managed to get my test working yesterday, but I still watched your video this morning to verify everything was correctly set up. I'm doing it to trigger a runbook from ServiceNow, but next step would be to research how to get a response back to it and take the proper decision/action. If you have any insight I'll appreciate it. Thanks again Travis, cheers.

NicolasHernandezN
Автор

This video was very helpful to me, tyvm!

SimbiMainChannel
Автор

This is really well explained, thank you so much 👍

mochicoder
Автор

Do you have please an example of code using python code ? thanks

dabbabisarra
Автор

if I want to run a pre/post powershell script in Azure Update Manager to turn off services on the server before patching and reboot, can this also only be done via Runbook and Webhook as described in this video? Or is there an easier way where there is no expiration date like is with Webhook? Thank you

luminek
Автор

Very nicely explained.Thank you. But if the webhook expired then how to renew the webhooks.

Annishvarma
Автор

How do you overcome the CORS issue? I created a webhook but when I go to use it in my app I get an error: Access to fetch at 'webhookURL' from origin 'appOriginUrl" s been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

trycatchangler
Автор

Hi Travis - how to migrate azure runas account to manage identity. Kindly help me out. I am struggling last 1 week.

kadhiresans
Автор

If a runbook was originally a text document that describes manual steps to perform to achieve some result then WHY THE HELL do they call a powershell script also a Does MS intentionally try to confuse their customers? Its a damn script! smh

alejandrotorres-pywz