Skip to content

Commit 472bf04

Browse files
committed
added a new section
1 parent 4212751 commit 472bf04

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

articles/automation/troubleshoot/runbooks.md

Lines changed: 15 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,20 @@ 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:
733+
Runbook fails with ‘Parameter length exceeded’ error.
734+
735+
### Issue:
736+
Your runbook uses parameters and fails with the following error:
737+
*Total Length of Runbook Parameter names and values exceeds the limit of 30000 characters. To avoid this issue, use Automation Variables to pass values to runbook.*
738+
739+
### Cause:
740+
There is a limit to the total length of characters of all Parameters that can be provided in Python2.7, Python3.8 and PowerShell7.1 runbooks. The total length of all Parameter names, Parameter values must not exceed 30,000 characters.
741+
742+
### Resolution:
743+
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 30000 characters.
744+
745+
732746
## Recommended documents
733747

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

0 commit comments

Comments
 (0)