Skip to content

Commit a9a21cb

Browse files
authored
Add note about uncommenting a referenced cmdlet in the module
1 parent 279674c commit a9a21cb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

articles/logic-apps/add-run-powershell-scripts.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.service: azure-logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, shahparth, azla
77
ms.topic: how-to
8-
ms.date: 08/15/2024
8+
ms.date: 08/13/2024
99
# Customer intent: As a logic app workflow developer, I want to write and run PowerShell code so that I can perform custom integration tasks in Standard workflows for Azure Logic Apps.
1010
---
1111

@@ -367,6 +367,11 @@ If you incorrectly reference a public module in the **requirements.psd1** file o
367367

368368
**The term '{some-text}' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name or if a path was included, verify the path is correct and try again.**
369369

370+
> [!NOTE]
371+
>
372+
> By default, the Az* modules appear in the **requirements.psd1** file, but they're commented out at file creation.
373+
> When you reference a cmdlet from the module, make sure to uncomment the module.
374+
370375
### Execute PowerShell Code action fails: "Cannot bind argument to parameter 'Output' because it is null."
371376

372377
This error happens when you try to push a null object to the workflow. Confirm whether the object that you're sending with **Push-WorkflowOutput** is null.

0 commit comments

Comments
 (0)