Skip to content

Commit cec4739

Browse files
committed
edited the cause and workaround for runbooks that don't match pattern
1 parent cf255a7 commit cec4739

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

articles/automation/troubleshoot/runbooks.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Troubleshoot Azure Automation runbook issues
33
description: This article tells how to troubleshoot and resolve issues with Azure Automation runbooks.
44
services: automation
5-
ms.date: 02/21/2023
5+
ms.date: 03/06/2023
66
ms.topic: troubleshooting
77
ms.custom: has-adal-ref, devx-track-azurepowershell
88
---
@@ -26,13 +26,11 @@ It fails with the following error:
2626

2727
### Cause
2828

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.
29+
The naming convention isn't followed. Ensure that your runbook name starts with a letter and can contain letters, numbers, underscores, and dashes. The naming convention requirements are now enforced starting Az module version 1.9 through the portal and cmdlets
3030

3131
### 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.
32+
We recommend that you must follow the runbook naming convention or revert [1.8.0 version](https://www.powershellgallery.com/packages/Az.Automation/1.8.0) version of the module where the naming convention isn't enforced.
3333

34-
### Resolution
35-
Currently, we are working to deploy a fix to address this issue.
3634

3735
## Diagnose runbook issues
3836

0 commit comments

Comments
 (0)