Azure Automation: Using Azure Scheduler to trigger a runbook via Runbook Webhooks

One of the great new features of Azure Automation is the Web hooks, which can be added to runbooks.

A web hook is a way for an external system to trigger the runbook with specific input values.

You can read more about how to trigger web hooks here:


This article describes how easy it is to use the Azure Scheduler to actually trigger the runbook.

There is already a scheduler built in, but there can be reasons that one would use Azure Scheduler instead


  • Azure Automation scheduler is not very advanced so far, it can only trigger pr hours, not minutes.
  • Customer might want to schedule more than runbooks and have the schedules in a central place
  • and more


Luckily it is very simple to trigger a runbook via the web hook in Azure Scheduler:


1.  Navigate to the runbook in Azure

2.  Create Web hook on runbook

image ´

3.  Give the web hook a name and copy the URL


4.  Save the URL for later use

5. Setup Input parameters if you want to

6. Go to Azure Scheduler

7. Create a new Azure Scheduler Job


8. Select Location and Job Collection (create new job collection if you have none)


9. Give the job a name and select “POST” and HTTPS

10. Paste the URI


11. Click Next

12. Select time and recurrence


13. Click OK

14. Now your runbook should trigger on the specified times


By |2015-05-20T14:52:52+00:00May 20th, 2015|Automation, Azure|0 Comments

About the Author:

Jakob Gottlieb Svendsen

Twitter: @JakobGSvendsen

Jakob Gottlieb Svendsen is a Microsoft Cloud and Data Center Management MVP (, Working as Global Lead Developer, Senior Consultant and Trainer at CTGlobal, where he is one of the driving forces in keeping CTGlobal a System Center Gold Partner and member of the System Center Alliance.

Since he started at Coretech in 2007, he has focused on Scripting and Development, primarily developing tools, extensions and scripts for the System Center Suite. His main area is Automation (including OMS/Azure Automation, Service Management Automation, PowerShell and Orchestrator). Another area is Windows Azure Pack / Azure Stack, where he does implementation, development, workshops and presentations. He is a world-wide renowned voice in the Automation field.

He is passionately devoted to the community, to which he contributes by being a moderator at TechNet and sharing his knowledge at

  • Co-founder: PowerShell User Group Denmark
  • Speaker at MMS 2016, Minneapolis (
  • SCU Europe 2014, 2015, 2016 (
  • Microsoft TechEd North America 2014, Houston
  • NIC 2012,2013,2014,2015, Oslo (
  • Microsoft CampusDays 2011, 2013, Copenhagen
  • Microsoft TechDays 2015, Sweden (
  • Microsoft Partner Event: New in SC2012 SP1
  • User group meetings (PSUG.DK , SCUG.DK/BE/NO, AZMUG + more)
  • Microsoft Certified Trainer.
  • Microsoft Scripting Guys Forum Moderator

Main working areas:

  • Automation (Azure Automation, SMA, SCO)
  • Windows Azure Pack / Azure Stack
  • System CenterVisual Studio Team Services / Team Foundation Server
  • Development:C#.Net, VB.NET, VBScript, PowerShell, Service Manager, OpsMgr, ConfigMgr
  • Orchestrator
  • Windows Azure Pack / Azure Stack


  • Azure Automation
  • Service Management Automation
  • System Center Orchestrator
  • PowerShell, VBScript, C#.Net, VB.Net
  • Windows Azure Pack / Azure Stack Development Workshops

Leave A Comment