Use this when documenting how to operate an automation day to day.
Runbook
A runbook documents how to operate an automation: when to run it, how to start it, what to check, how to handle common failures and who to contact.
1. Runbooks tell operators how to run, verify and recover.
2. Step-by-step.
3. Linked from alerts.
4. Reviewed regularly.
5. Tested.
alert/task → runbook → actions
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as stale documentation, hidden prerequisites, copy/paste ambiguity, unreviewed examples, broad parameters, irreversible steps and runbook completion without target verification, choosing the cases most relevant to versioned operational procedure with inputs, prerequisites, steps, verification, escalation and rollback that can be executed without undocumented operator knowledge.
Step 2 Common mistakes Narrow the fault
- Docs that drift from the code.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- When and how to run it.
- What to check afterwards.
- How to handle common failures.
- Operational runbook (how to run, verify, rollback) — operations
- Links from alerts — quick access
- Last reviewed date — currency
ReferenceWhy it matters1 section · depth on demand
What it is
Automation documentation should include a runbook: purpose, inputs, how to run, expected output and how to roll back.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
A runbook in automation documentation describes how to operate the automation itself: how to run it, how to recognise success or failure, what to do when it fails, and who to contact. It is written for the on-call operator, not the developer.
Sections to include:
| Section | Content |
|---|---|
| When to run | Triggers, schedule, manual cases |
| How to run | Job name/link, required parameters |
| Expected result | What success looks like, typical duration |
| Common failures | Symptom → cause → fix |
| Escalation | Owner team and contact |
Keep it short and linked from alerts and job descriptions, so it is one click away when needed.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Automation Documentation > Runbook. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/azure/automation/automation-runbook-types · confidence 94%Deep reference
Healthy vs suspicious evidence
Output interpretation
For versioned operational procedure with inputs, prerequisites, steps, verification, escalation and rollback that can be executed without undocumented operator knowledge, prefer typed fields and stable IDs over human presentation text.