# 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.

!!!warning Source-derived reference
These notes were recovered from OneNote. Configuration, permissions and operating results have not been freshly verified. Confirm the applicable authority and environment before acting.
!!!

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](https://portal.azure.com/#view/HubsExtension/BrowseResource.ReactView/resourceType/Microsoft.Automation%252FAutomationAccounts)"

[Screenshot retained for review](../../review/Review-status.md#asset-286357cd75648eba4e4f)

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

[Screenshot retained for review](../../review/Review-status.md#asset-0bd7d463d971b6ab2b38)

\3. Click "Create a runbook"

[Screenshot retained for review](../../review/Review-status.md#asset-c2421e428334325a9d39)

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

See [Azure Runbooks - VS Code Extension](azure-runbooks-vs-code-extension.md)

## Related guidance

- [Topic overview](Introduction.md)
- [Source review status](../../review/Review-status.md)
