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
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ This capability provides the following benefits:
23
23
24
24
- Write your own scripts within the workflow designer so you can solve complex integration challenges. No other service plans are necessary.
25
25
26
-
This benefit streamlines workflow development, and it reduces the complexity and cost with managing more services.
26
+
This benefit reduces the complexity and cost because you can manage more services and streamlines workflow development.
27
27
28
28
- Generate a dedicated code file, which provides a personalized scripting space within your workflow.
29
29
@@ -68,7 +68,7 @@ This guide shows how to add the action in your workflow and add the PowerShell c
68
68
69
69
1. On the workflow sidebar menu, under **Tools**, select the designer to open the workflow.
70
70
71
-
1. Add the **Inline Code Operations** action named **Execute PowerShell Code** to your workflow by following the [general steps to add a trigger](add-trigger-action-workflow.md?tabs=standard#add-action).
71
+
1. Add the **Inline Code Operations** action named **Execute PowerShell Code** to your workflow by following the [general steps to add an action](add-trigger-action-workflow.md?tabs=standard#add-action).
72
72
73
73
1. After the action information pane opens, on the **Parameters** tab, in the **Code File** box, update the prepopulated sample code with your own code.
74
74
@@ -224,7 +224,7 @@ From inside the **Execute PowerShell Code** action, you can authenticate and aut
224
224
225
225
To use the managed identity from inside the **Execute PowerShell Code** action, you must follow these steps:
226
226
227
-
1. Set up the managed identity on your logic app and grant the managed identity access on the target Azure resource. To learn how, see [Authenticate access and connections to Azure resources with managed identities](authenticate-with-managed-identity.md?tabs=standard).
227
+
1. Set up the managed identity on your logic app and grant the managed identity access on the target Azure resource. For detailed steps, see [Authenticate access and connections to Azure resources with managed identities](authenticate-with-managed-identity.md?tabs=standard).
228
228
229
229
On the target Azure resource, review the following considerations:
230
230
@@ -291,15 +291,15 @@ A module organizes PowerShell code, making it easier to distribute. For example,
291
291
292
292
To find publicly available modules, visit the [PowerShell gallery](https://www.powershellgallery.com). A Standard logic app resource can support up to 10 public modules. To use any public module, you must enable this capability by following these steps:
293
293
294
-
1. In the [Azure portal](https://portal.azure.com), on your logic app resource menu, under Development Tools, select **Advanced Tools**.
294
+
1. In the [Azure portal](https://portal.azure.com), on your logic app resource menu, under **Development Tools**, select **Advanced Tools**.
295
295
296
296
1. On the **Advanced Tools** page, select **Go**.
297
297
298
298
1. On the **Kudu** toolbar, from the **Debug console** menu, select **CMD**.
299
299
300
300
1. Browse to your logic app's root level at **C:\home\site\wwwroot** by using the directory structure or the command line.
301
301
302
-
1. Open the workflow's *host.json* file, and set the **managed dependency**property to **true**, which is already set by default.
302
+
1. Open the workflow's *host.json* file, and set the `ManagedDependency.enabled`property to `true`, which is already set by default.
303
303
304
304
```json
305
305
"managedDependency": {
@@ -328,7 +328,7 @@ If you use dependency management, the following considerations apply:
328
328
329
329
You can generate your own private PowerShell modules. To create your first PowerShell module, see [Write a PowerShell Script Module](/powershell/scripting/developer/module/how-to-write-a-powershell-script-module).
330
330
331
-
1. In the [Azure portal](https://portal.azure.com), on your logic app resource menu, under Development Tools, select **Advanced Tools**.
331
+
1. In the [Azure portal](https://portal.azure.com), on your logic app resource menu, under **Development Tools**, select **Advanced Tools**.
@@ -41,21 +41,23 @@ This guide shows how to add a condition to your workflow and use the result to h
41
41
42
42
1. On the sidebar menu, under **Development Tools**, select the designer to open the blank workflow.
43
43
44
-
1. Add the trigger named **When a feed item is published** to your workflow by following the [general steps to add a trigger](add-trigger-action-workflow.md?tabs=consumption#add-trigger).
44
+
This example uses the **RSS** trigger named **When a feed item is published** to start the workflow. However, you can use any trigger that you want in your own scenarios.
45
+
46
+
1. Add the trigger that you want by following the [general steps to add a trigger](add-trigger-action-workflow.md?tabs=consumption#add-trigger).
45
47
46
48
1. Add the **Condition** action to your workflow by following the [general steps to add an action](add-trigger-action-workflow.md?tabs=consumption#add-action).
47
49
48
50
1. In the **Condition** action, follow these steps to build your condition:
49
51
50
-
1. In the box named **Choose a value**, enter the first value or field that you want to compare.
52
+
1. In the left-side box named **Choose a value**, enter the first value or field that you want to compare.
51
53
52
54
After you select inside the **Choose a value** box, the options to open the dynamic content list (lightning icon) or expression editor (formula icon) appear.
53
55
54
56
:::image type="content" source="media/logic-apps-control-flow-conditional-statement/open-dynamic-content-consumption.png" alt-text="Screenshot shows Azure portal, Consumption workflow designer, RSS trigger, and Condition action with information pane open, and dynamic content button selected.":::
55
57
56
58
1. Select the lightning icon to open the dynamic content list.
57
59
58
-
From this list, you can select outputs from previous steps in your workflow. This example selects the RSS trigger output named **Feed summary**. If you don't see this option, you might need to select **See more**.
60
+
From this list, you can select outputs from previous steps in your workflow. This example selects the **RSS** trigger output named **Feed summary**. If you don't see this option, you might need to select **See more**.
59
61
60
62
:::image type="content" source="media/logic-apps-control-flow-conditional-statement/edit-condition-consumption.png" alt-text="Screenshot shows Azure portal, Consumption workflow designer, RSS trigger, and Condition action with criteria construction.":::
0 commit comments