Azure Runbooks - Basics

Create a runbook inside an existing Azure Automation Account using the recorded portal route, then find the linked VS Code editing setup.

Runbooks

  • Are run in Azure
  • The can run powershell or python code.
  • Can be run on a schedule

Requires an Azure Automation Account Runbooks are run from within an Azure Automation Account environment. Before you can create a runbook you must first create an "Azure Automation account".

Once you have access to an Azure Automation Account or one is created for you, you can create a run book.

To create a runbook you

  1. Select your "Azure Automation account"

Screenshot retained for review

\2. Expand "Process Automation" -> Click Runbooks

Screenshot retained for review

\3. Click "Create a runbook"

Screenshot retained for review

To edit the Runbook from within Visual Studio Code you need a couple of extensions.

See Azure Runbooks - VS Code Extension