Build Azure Automation runbook configurations with schedules and webhooks.
Last verified: May 2026
Build Automation runbook schedule configs with webhooks, variables, and advanced scheduling.
Required Fields
automationAccountNameresourceGrouprunbook.namerunbook.typeschedulesOutput will appear here...The builder generates Azure Automation runbook configurations: runbook resource (type: PowerShell/PowerShell7/Python2/Python3/GraphPowerShell, runtime version, log verbose/progress flags), schedule resource (start time, frequency: OneTime/Hourly/Daily/Weekly/Monthly, timezone), schedule-runbook link with parameters, webhook (expiration, parameters, run-on Hybrid Worker group). Output is generated as az automation commands and Terraform azurerm_automation_runbook + azurerm_automation_schedule resources.
Azure Automation provides a managed service for process automation using PowerShell or Python runbooks that run in Azure sandbox or Hybrid Runbook Worker environments. Runbooks can automate resource management, respond to alerts, enforce compliance, and perform scheduled maintenance tasks. Configuration involves defining the runbook type (PowerShell, Python, Graph), schedule triggers, webhook endpoints for event-driven execution, and input parameters. The Automation Runbook Builder helps you configure runbook settings, schedules, webhook configurations, and connection assets for common automation scenarios.
Your team's dev/test VMs cost $4K/month always-on. The builder generates: a PowerShell runbook 'Stop-DevTestVMs' that lists VMs with tag 'autoshutdown=true' and stops them, a 'Start-DevTestVMs' counterpart, both linked to schedules (stop at 8 PM, start at 7 AM, M-F, in business timezone). After deploy, dev/test VMs run only ~55 hours/week instead of 168. New monthly cost: ~$1,300. Annual savings: $32K from a single afternoon of automation work.
Always use Hybrid Runbook Workers for runbooks that exceed 5 minutes runtime. Azure sandbox's 3-hour fair-share limit can interrupt longer jobs unpredictably. Hybrid Workers run on your VMs (or Arc-enabled servers) without that limit and with full local resource access.
Webhooks contain a security token in the URL — leaking the URL leaks access. Treat webhook URLs as secrets: store in Key Vault, never commit to source control, rotate periodically by regenerating. Set short expiration dates (1-3 months) and rotate proactively.
PowerShell is the right runbook language for Azure resource management — the Az module is mature and well-documented. Use Python for runbooks that interact with non-Azure systems (third-party APIs, Linux server management). Graph runbooks (visual workflow editor) look attractive but limit you to predefined activities; only use for very simple workflows.
Azure sandboxes are shared, multi-tenant environments in Azure where runbooks execute with a maximum runtime of 3 hours (fair share limit) and limited resource access (no local admin, restricted networking). Hybrid Runbook Workers are agents you install on your own VMs (on-premises or in Azure) where runbooks run without the 3-hour limit and with access to local resources. Use sandbox execution for Azure resource management tasks. Use Hybrid Workers for runbooks that need to access on-premises resources, run longer than 3 hours, or require specific software installed on the execution environment.
A webhook provides a URL that can be called with an HTTP POST to trigger a runbook. The POST body is passed as a parameter to the runbook. Webhooks have an expiration date (maximum 10 years) and can be enabled or disabled without regenerating the URL. Each webhook is linked to a specific runbook and can pre-fill parameter values. Webhooks are useful for integrating with external systems (ServiceNow, PagerDuty, GitHub) or Azure Monitor action groups. The webhook URL contains a security token — treat it as a secret and store it securely.
Was this tool helpful?
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.