You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This article describes runbook issues that might occur and how to resolve them. For general information, see [Runbook execution in Azure Automation](../automation-runbook-execution.md).
13
13
14
+
15
+
## Start-AzAutomationRunbook fails with "runbookName does not match expected pattern" error message
16
+
17
+
### Issue
18
+
When you run `Start-AzAutomationRunbook` to start specific runbooks:
`Start-AzAutomationRunbook: "runbookname" does not match expected pattern '^[a-zA-Z]*-*[a-zA-Z0-9]*$'`
26
+
27
+
### Cause
28
+
29
+
Code that was introduced in [1.9.0 version](https://www.powershellgallery.com/packages/Az.Automation/1.9.0) of the Az.Automation module verifies the names of the runbooks to start and incorrectly flags runbooks with multiple "-" characters or with an "_" character in the name as invalid.
30
+
31
+
### Workaround
32
+
We recommend that you revert to [1.8.0 version](https://www.powershellgallery.com/packages/Az.Automation/1.8.0) of the module.
33
+
34
+
### Resolution
35
+
Currently, we are working to deploy a fix to address this issue.
36
+
14
37
## Diagnose runbook issues
15
38
16
39
When you receive errors during runbook execution in Azure Automation, you can use the following steps to help diagnose the issues:
0 commit comments