Skip to content

Commit 112c565

Browse files
Merge pull request #227995 from SnehaSudhirG/21Feb-TSDocUpdate
added a new section
2 parents 5fd0b9c + 3886c35 commit 112c565

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

articles/automation/troubleshoot/runbooks.md

Lines changed: 17 additions & 1 deletion
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/06/2022
5+
ms.date: 02/21/2023
66
ms.topic: troubleshooting
77
ms.custom: has-adal-ref, devx-track-azurepowershell
88
---
@@ -729,6 +729,22 @@ Follow [Step 5 - Add authentication to manage Azure resources](../learn/powershe
729729

730730
[Add permissions to Key Vault](../manage-runas-account.md#add-permissions-to-key-vault) to ensure that your Run As account has sufficient permissions to access Key Vault.
731731

732+
## Scenario: Runbook fails with "Parameter length exceeded" error
733+
734+
### Issue
735+
Your runbook uses parameters and fails with the following error:
736+
737+
```error
738+
Total Length of Runbook Parameter names and values exceeds the limit of 30,000 characters. To avoid this issue, use Automation Variables to pass values to runbook.
739+
```
740+
741+
### Cause
742+
There is a limit to the total length of characters of all Parameters that can be provided in Python 2.7, Python 3.8, and PowerShell 7.1 runbooks. The total length of all Parameter names, and Parameter values must not exceed 30,000 characters.
743+
744+
### Resolution
745+
To overcome this issue, you can use Azure Automation [Variables](../shared-resources/variables.md) to pass values to runbook. You can alternatively reduce the number of characters in Parameter names and Parameter values to ensure that the total length does not exceed 30,000 characters.
746+
747+
732748
## Recommended documents
733749

734750
* [Runbook execution in Azure Automation](../automation-runbook-execution.md)

0 commit comments

Comments
 (0)