Skip to content

Commit c45cff6

Browse files
Merge pull request #241897 from SnehaSudhirG/18June-KnownIssue
updated the known issue section
2 parents e2461d4 + bd41b92 commit c45cff6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

articles/automation/automation-runbook-types.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Azure Automation runbook types
33
description: This article describes the types of runbooks that you can use in Azure Automation and considerations for determining which type to use.
44
services: automation
55
ms.subservice: process-automation
6-
ms.date: 05/08/2023
6+
ms.date: 06/18/2023
77
ms.topic: conceptual
88
ms.custom: references_regions, devx-track-python
99
---
@@ -87,7 +87,7 @@ The following are the current limitations and known issues with PowerShell runbo
8787
if($item) { write-output "File Created" }
8888
```
8989
1. You can also upgrade your runbooks to PowerShell 7.1 or PowerShell 7.2 where the same runbook will work as expected.
90-
90+
* Ensure to import the **Newtonsoft.Json** v10 module explicitly if PowerShell 5.1 runbooks have a dependency on this version of the module.
9191
9292
# [PowerShell 7.1 (preview)](#tab/lps71)
9393
@@ -118,11 +118,10 @@ The following are the current limitations and known issues with PowerShell runbo
118118
```
119119
- Avoid importing `Az.Accounts` module to version 2.4.0 version for PowerShell 7 runtime as there can be an unexpected behavior using this version in Azure Automation.
120120
- You might encounter formatting problems with error output streams for the job running in PowerShell 7 runtime.
121-
122121
- When you import a PowerShell 7.1 module that's dependent on other modules, you may find that the import button is gray even when PowerShell 7.1 version of the dependent module is installed. For example, Az PowerShell module.Compute version 4.20.0, has a dependency on Az.Accounts being >= 2.6.0. This issue occurs when an equivalent dependent module in PowerShell 5.1 doesn't meet the version requirements. For example, 5.1 version of Az.Accounts were < 2.6.0.
123-
124122
- When you start PowerShell 7 runbook using the webhook, it auto-converts the webhook input parameter to an invalid JSON.
125123
- We recommend that you use [ExchangeOnlineManagement](https://learn.microsoft.com/powershell/exchange/exchange-online-powershell?view=exchange-ps) module version: 3.0.0 or lower because version: 3.0.0 or higher may lead to job failures.
124+
- Ensure to import the **Newtonsoft.Json** v10 module explicitly if PowerShell 7.1 runbooks have a dependency on this version of the module.
126125
127126
128127
# [PowerShell 7.2 (preview)](#tab/lps72)

0 commit comments

Comments
 (0)