Update Management Pre- and Post-scripts not showing as available
I've been using Azure Update Management to control when my VM's get Windows Updates, but I have a handful of gold VM's that are stopped normally. I'm trying to use Automation and Runbooks to start those VM's when the update runs and stop them again when it's finished, but when I schedule an update there are no runbooks available. Has anyone else run into this or maybe see a mistake I'm making? Here are my specific steps:
- Start with VM's that have successfully run updates before, ie they have the appropriate agent installed.
- Go to Portal | Automation account | Runbook Gallery.
- Choose a suitable runbook like "Update Management - Turn On VMs"
- Click Import.
- Go to Runbooks, select the runbook, click Edit and click Publish.
- Go to the VM I want to update, click Update Management, and Schedule update deployment.
- Click Pre-Scripts + Post-Scripts
Expected behavior: the runbook I enabled is there; if I select it I'll be prompted for the parameters it needs.
Observed behavior: no runbooks available.
Any suggestions are much appreciated. I'm mostly using https://docs.microsoft.com/en-us/azure/automation/manage-update-multi as a reference but I'm thinking I must've overlooked something. TIA!
Posted Oct 9, 2019, 7:43 PM UTC