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
Copy file name to clipboardExpand all lines: articles/logic-apps/add-run-powershell-scripts.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ ms.service: logic-apps
5
5
ms.suite: integration
6
6
ms.reviewer: estfan, shahparth, azla
7
7
ms.topic: how-to
8
-
ms.date: 07/01/2024
8
+
ms.date: 08/15/2024
9
9
# 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.
10
10
---
11
11
@@ -158,8 +158,8 @@ Gets the output from the workflow's trigger.
158
158
159
159
#### Syntax
160
160
161
-
```azurepowershell
162
-
`Get-TriggerOutput`
161
+
```powershell
162
+
Get-TriggerOutput
163
163
```
164
164
165
165
#### Parameters
@@ -172,7 +172,7 @@ Gets the output from another action in the workflow and returns an object named
172
172
173
173
#### Syntax
174
174
175
-
```azurepowershell
175
+
```powershell
176
176
Get-ActionOutput [ -ActionName <String> ]
177
177
```
178
178
@@ -195,7 +195,7 @@ Pushes output from the **Execute PowerShell Code** action to your workflow, whic
195
195
196
196
#### Syntax
197
197
198
-
```azurepowershell
198
+
```powershell
199
199
Push-WorkflowOutput [-Output <Object>] [-Clobber]
200
200
```
201
201
@@ -310,7 +310,7 @@ To find publicly available modules, visit the [PowerShell gallery](https://www.p
310
310
311
311
If you use dependency management, the following considerations apply:
312
312
313
-
- To download modules, public modules require access to the [PowerShell Gallery](https://www.powershellgallery.com). If you're running a logic app locally, make sure that the Azure Logic Apps runtime can access the gallery's URL (`https://www.powershellgallery.com`) by adding any required firewall rules.
313
+
- To download modules, public modules require access to the [PowerShell Gallery](https://www.powershellgallery.com).
314
314
315
315
- Managed dependencies currently don't support modules that require you to accept a license, either by accepting the license interactively or by providing the **-AcceptLicense** option when you run **Install-Module**.
316
316
@@ -336,7 +336,7 @@ When you're done, your complete logic app file structure appears similar to the
336
336
337
337
```text
338
338
MyLogicApp
339
-
- execute_powershell_script.ps1
339
+
-- execute_powershell_script.ps1
340
340
- host.json
341
341
- Modules
342
342
-- MyPrivateModule
@@ -361,7 +361,7 @@ Make sure that you use the **Push-WorkflowOutput** cmdlet.
361
361
362
362
### Execute PowerShell Code action fails: "The term '{some-text}' is not recognized..."
363
363
364
-
If you incorrectly add your module to the **requirements.psd1** file or when your private module doesn't exist in the following path: **C:\home\site\wwwroot\Modules\{moduleName}, you get the following error:
364
+
If you incorrectly reference a public module in the **requirements.psd1** file or when your private module doesn't exist in the following path: **C:\home\site\wwwroot\Modules\{moduleName}, you get the following error:
365
365
366
366
**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.**
0 commit comments