Skip to content

Commit e227d57

Browse files
Merge pull request #229556 from SnehaSudhirG/06Mar-TSRunbooks
edited the cause and workaround for runbooks that don't match pattern
2 parents cfd51b3 + 4225ced commit e227d57

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

articles/automation/troubleshoot/runbooks.md

Lines changed: 4 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,12 @@ 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 is not being followed. Ensure that your runbook name starts with a letter and can contain letters, numbers, underscores, and dashes. The naming convention requirements are now being enforced starting with the 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.
3332

34-
### Resolution
35-
Currently, we are working to deploy a fix to address this issue.
33+
We recommend that you follow the runbook naming convention or revert to [1.8.0 version](https://www.powershellgallery.com/packages/Az.Automation/1.8.0) of the module where the naming convention isn't enforced.
34+
3635

3736
## Diagnose runbook issues
3837

0 commit comments

Comments
 (0)