-
Hello! I've not been able to track down an answer for this query, so hoping someone can help. I'm creating a Azure Automation Account, Runbook (PowerShell), Schedule and Job Schedule Resources in my template. The deployment succeeds apart from the Job Schedule, returning 'Bad Request' it's unable to retrieve the Runbook or Schedule Value. Bicep is requesting the values as String but I am not sure how to present this as I have tried specifying the names manually with no joy. Has anyone successfully created an Automation Runbook and automatically linked it with a Schedule? Thank you
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Managed to resolve this after finding the Job Schedule Name value must be a GUID. This is the code that worked for me:
|
Beta Was this translation helpful? Give feedback.
Managed to resolve this after finding the Job Schedule Name value must be a GUID.
This is the code that worked for me: