You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
13
13
14
14
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
16
16
17
17
### 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.
19
19
20
20
### 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.
22
22
23
23
### 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 runbooksto 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.
25
25
26
26
27
27
## Start-AzAutomationRunbook fails with "runbookName does not match expected pattern" error message
0 commit comments