Skip to content

Commit 393ba4e

Browse files
authored
Updates from editor
1 parent 00ac2a1 commit 393ba4e

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed
Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
---
2-
title: Runbook jobs get suspended in Azure Automation
3-
description: Provides solutions to an issue where runbook jobs get suspended in Azure Automation.
4-
ms.date: 06/17/2025
2+
title: Runbook Jobs Get Suspended in Azure Automation
3+
description: Provides solutions to an issue where runbook jobs are suspended in Azure Automation.
4+
ms.date: 06/24/2025
55
ms.reviewer: adoyle, v-weizhu
66
ms.service: azure-automation
77
ms.custom: sap:Runbook not working as expected
88
---
9-
# Runbook jobs get suspended in Azure Automation
9+
# Runbook jobs are suspended in Azure Automation
1010

11-
This article provides solutions to an issue where runbook jobs get suspended in Azure Automation.
11+
This article provides solutions to an issue where runbook jobs are suspended in Azure Automation.
1212

1313
> [!NOTE]
14-
> Azure Automation enables recovery of runbooks deleted in last 29 days - Restore the deleted runbook by running a PowerShell script as a job in your Automation account. For more information, see [Restore deleted runbook](/azure/automation/manage-runbooks#restore-deleted-runbook).
14+
> Azure Automation enables recovery of runbooks deleted in the last 29 days. You can restore the deleted runbook by running a PowerShell script as a job in your Automation account. For more information, see [Restore a deleted runbook](/azure/automation/manage-runbooks#restore-deleted-runbook).
1515
1616
## Symptoms
1717

18-
Runbook jobs might be in a suspended state after three failed start attempts.
18+
Runbook jobs might be suspended after three failed start attempts.
1919

20-
## Cause 1: Exceed memory or network socket limits in an Azure sandbox
20+
## Cause 1: Exceeding memory or network socket limits in an Azure sandbox
2121

22-
- Memory limit
22+
- Memory limits
2323

24-
A job might fail if using more than 400 MB of memory.
25-
- Network socket limit
24+
A job might fail if it uses more than 400 MB of memory.
25+
- Network socket limits
2626

2727
An Azure sandbox is limited to 1,000 concurrent network sockets.
2828

2929
For more information, see [Azure Automation limits](/azure/azure-resource-manager/management/azure-subscription-service-limits#azure-automation-limits).
3030

31-
Here are some suggestions to work within the memory limits:
31+
Here are some suggestions for working within memory limits:
3232

3333
- Split the workload among multiple runbooks.
3434
- Reduce the amount of data processed in memory.
@@ -37,29 +37,29 @@ Here are some suggestions to work within the memory limits:
3737

3838
Here are some actions that can reduce the memory footprint of your runbook during runtime:
3939

40-
- Use the `clear` method, such as `$myVar.clear`, to clear out variables.
40+
- Use the `clear` method, such as `$myVar.clear`, to clear variables.
4141
- Use the `[GC]::Collect` command to run the garbage collection immediately.
4242

4343
## Cause 2: Module incompatibility
4444

45-
Module dependencies might not be correct. In this case, your runbook typically returns a "Command not found" or "Cannot bind parameter" error message.
45+
Module dependencies might be incorrect. In this case, your runbook typically returns a "Command not found" or "Cannot bind parameter" error message.
4646

4747
To resolve this issue, [update Azure PowerShell modules in Azure Automation](/azure/automation/automation-update-azure-modules).
4848

49-
## Cause 3: No authentication with Microsoft Entra ID in an Azure sandbox
49+
## Cause 3: Not authenticated with Microsoft Entra ID in an Azure sandbox
5050

51-
Azure Automation runbooks that attempt to call executables or subprocesses within the Azure sandbox environment can't use Microsoft Authentication Library (MSAL) for authentication with Microsoft Entra ID.
51+
Azure Automation runbooks that attempt to call executables or subprocesses within an Azure sandbox environment can't use Microsoft Authentication Library (MSAL) to authenticate with Microsoft Entra ID.
5252

53-
To resolve this issue, use Managed Identity for the Automation account. When you authenticate this runbook with Microsoft Entra ID by using Managed Identity, ensure the following things:
53+
To resolve this issue, use a managed identity for the Automation account. When you authenticate this runbook with Microsoft Entra ID by using a managed identity, ensure the following things:
5454

55-
- The Azure AD PowerShell module is available in your Automation account.
56-
- The Managed Identity is granted the required permissions to execute the tasks automated by the runbook.
55+
- The Microsoft Graph PowerShell module is available in your Automation account.
56+
- The managed identity is granted the permissions required to execute the runbook automation tasks.
5757

58-
If your runbook can't call an executable or subprocess in an Azure sandbox, run the runbook on a [hybrid worker](/azure/automation/automation-hrw-run-runbooks). Hybrid workers aren't limited by the memory and network limits that Azure sandboxes have.
58+
If your runbook can't call an executable or subprocess in an Azure sandbox, run the runbook on a [hybrid worker](/azure/automation/automation-hrw-run-runbooks). Hybrid workers aren't constrained by the memory and network limits of Azure sandboxes.
5959

6060
## References
6161

62-
- [Throttling Azure Resource Manager requests](/azure/azure-resource-manager/management/request-limits-and-throttling)
62+
- [Understand how Azure Resource Manager throttles requests](/azure/azure-resource-manager/management/request-limits-and-throttling)
6363
- [Troubleshooting API throttling errors](../../virtual-machines/windows/troubleshooting-throttling-errors.md)
6464

65-
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
65+
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

0 commit comments

Comments
 (0)