Skip to content

Commit b10722f

Browse files
Merge pull request #257848 from SnehaSudhirG/07Nov-RunbookTypes
updated the known issues
2 parents 38e5725 + ed9f345 commit b10722f

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

articles/automation/automation-runbook-types.md

Lines changed: 2 additions & 10 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: 10/06/2023
6+
ms.date: 11/07/2023
77
ms.topic: conceptual
88
ms.custom: references_regions, devx-track-python
99
---
@@ -73,7 +73,6 @@ The following are the current limitations and known issues with PowerShell runbo
7373

7474
* Runbooks taking dependency on internal file paths such as `C:\modules` might fail due to changes in service backend infrastructure. Change runbook code to ensure there are no dependencies on internal file paths and use [Get-ChildItem](/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-7.3) to get the required directory.
7575
* `Get-AzStorageAccount` cmdlet might fail with an error: *The `Get-AzStorageAccount` command was found in the module `Az.Storage`, but the module could not be loaded*.
76-
* Completed jobs might show a warning message: *Both Az and AzureRM modules were detected on this machine. Az and AzureRM modules cannot be imported in the same session or used in the same script or runbook*. This is just a warning message and does not impact job execution.
7776
* PowerShell runbooks can't retrieve an unencrypted [variable asset](./shared-resources/variables.md) with a null value.
7877
* PowerShell runbooks can't retrieve a variable asset with `*~*` in the name.
7978
* A [Get-Process](/powershell/module/microsoft.powershell.management/get-process) operation in a loop in a PowerShell runbook can crash after about 80 iterations.
@@ -126,12 +125,11 @@ The following are the current limitations and known issues with PowerShell runbo
126125
> Currently, PowerShell 7.2 (preview) runtime version is supported for both Cloud and Hybrid jobs in all Public regions except Australia Central2, Korea South, Sweden South, Jio India Central, Brazil Southeast, Central India, West India, UAE Central, and Gov clouds.
127126
128127
- For the PowerShell 7 runtime version, the module activities aren't extracted for the imported modules.
129-
- *PSCredential* runbook parameter type isn't supported in PowerShell 7 runtime version.
130128
- PowerShell 7.x doesn't support workflows. For more information, see [PowerShell workflow](/powershell/scripting/whats-new/differences-from-windows-powershell#powershell-workflow) for more details.
131129
- PowerShell 7.x currently doesn't support signed runbooks.
132130
- Source control integration doesn't support PowerShell 7.2 (preview). Also, PowerShell 7.2 (preview) runbooks in source control get created in Automation account as Runtime 5.1.
133131
- Currently, PowerShell 7.2 (preview) runbooks are only supported from Azure portal. Rest API and PowerShell aren't supported.
134-
- Az module 8.3.0 is installed by default and can't be managed at the automation account level. Use custom modules to override the Az module to the desired version.
132+
- Az module 8.3.0 is installed by default and can't be managed at the automation account level for PowerShell 7.2 (preview). Use custom modules to override the Az module to the desired version.
135133
- The imported PowerShell 7.2 (preview) module would be validated during job execution. Ensure that all dependencies for the selected module are also imported for successful job execution.
136134
- PowerShell 7.2 module management is not supported through `Get-AzAutomationModule` cmdlets.
137135
- Azure runbook doesn't support `Start-Job` with `-credential`.
@@ -142,13 +140,7 @@ The following are the current limitations and known issues with PowerShell runbo
142140
- `Get-AzStorageAccount` cmdlet might fail with an error: *The `Get-AzStorageAccount` command was found in the module `Az.Storage`, but the module could not be loaded*.
143141
- Executing child scripts using `.\child-runbook.ps1` is not supported in this preview.
144142
**Workaround**: Use `Start-AutomationRunbook` (internal cmdlet) or `Start-AzAutomationRunbook` (from *Az.Automation* module) to start another runbook from parent runbook.
145-
- Runbook properties defining logging preference isn't supported in PowerShell 7 runtime.
146-
**Workaround**: Explicitly set the preference at the start of the runbook as following -
147-
```
148-
$VerbosePreference = "Continue"
149143

150-
$ProgressPreference = "Continue"
151-
```
152144
- When you use [ExchangeOnlineManagement](/powershell/exchange/exchange-online-powershell?view=exchange-ps&preserve-view=true) module version: 3.0.0 or higher, you can experience errors. To resolve the issue, ensure that you explicitly upload [PowerShellGet](/powershell/module/powershellget/) and [PackageManagement](/powershell/module/packagemanagement/) modules.
153145
---
154146

0 commit comments

Comments
 (0)