Skip to content

Commit 0cd3b44

Browse files
committed
revised content
1 parent a3de609 commit 0cd3b44

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/automation/troubleshoot/runbooks.md

Lines changed: 5 additions & 5 deletions
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: 05/08/2024
5+
ms.date: 05/09/2024
66
ms.topic: troubleshooting
77
ms.custom: has-adal-ref, devx-track-azurepowershell
88
---
@@ -12,16 +12,16 @@ ms.custom: has-adal-ref, devx-track-azurepowershell
1212
This article describes runbook issues that might occur and how to resolve them. For general information, see [Runbook execution in Azure Automation](../automation-runbook-execution.md).
1313

1414

15-
## New functions added to custom module and reimported aren't displaying in textual and graphical PowerShell runbooks
15+
## It is no longer possible to use cmdlets from imported non-default modules in graphical PowerShell runbooks
1616

1717
### Issue
18-
After you add new functions to a custom module and reimport the module, the functions aren't getting displayed in textual and graphical PowerShell runbooks.
18+
When you import a PowerShell module you will not be able to use its cmdlets in graphical PowerShell runbooks.
1919

2020
### Cause
21-
To improve the security posture of PowerShell runbooks, the service no longer installs PowerShell modules due to which functions aren't displayed on runbook edit page in textual and graphical PowerShell runbooks.
21+
To improve the security posture of PowerShell runbooks, the service no longer processes the module manifest file to export the cmdlets and functions. This means that they cannot be used when authoring graphical PowerShell runbooks.
2222

2323
### Resolution
24-
There is no impact on execution of existing runbooks. Use Azure automation extension for VScode for authoring and editing PowerShell runbooks, that leverages GitHub Copilot to simplify runbook authoring experience. We recommend to use textual runbooks instead of graphical PowerShell runbooks to overcome this issue.
24+
There is no impact on the execution of existing runbooks. For new runbooks using non-default PowerShell modules we recommend using textual runbooks instead of graphical PowerShell runbooks to overcome this issue. You can use the Azure Automation extension for VScode for authoring and editing PowerShell runbooks, that leverages GitHub Copilot to simplify the runbook authoring experience.
2525

2626

2727
## Start-AzAutomationRunbook fails with "runbookName does not match expected pattern" error message

0 commit comments

Comments
 (0)