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/create-single-tenant-workflows-visual-studio-code.md
+28-29Lines changed: 28 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@ Install the following tools and versions for your specific operating system: Win
120
120
121
121
Currently, you can have both Consumption (multi-tenant) and Standard (single-tenant) extensions installed at the same time. The development experiences differ from each other in some ways, but your Azure subscription can include both Standard and Consumption logic app types. Visual Studio Code shows all the deployed logic apps in your Azure subscription, but organizes your apps under each extension, **Azure Logic Apps (Consumption)** and **Azure Logic Apps (Standard)**.
122
122
123
-
* To use the [Inline Code Operations action](../logic-apps/logic-apps-add-run-inline-code.md) that runs JavaScript, install [Node.js versions 12.x.x or 14.x.x](https://nodejs.org/en/download/releases/).
123
+
* To use the [Inline Code Operations action](../logic-apps/logic-apps-add-run-inline-code.md) that runs JavaScript, install at least [Node.js versions 16.x.x](https://nodejs.org/en/download/releases/).
124
124
125
125
> [!TIP]
126
126
> For Windows, download the MSI version. If you use the ZIP version instead, you have to
@@ -167,7 +167,7 @@ Install the following tools and versions for your specific operating system: Win
167
167
168
168

169
169
170
-
1. In the Azure pane, under **Azure: Logic Apps (Standard)**, select **Sign in to Azure**. When the Visual Studio Code authentication page appears, sign in with your Azure account.
170
+
1. In the Azure pane, under **Logic Apps (Standard)**, select **Sign in to Azure**. When the Visual Studio Code authentication page appears, sign in with your Azure account.
171
171
172
172

173
173
@@ -193,7 +193,7 @@ Before you can create your logic app, create a local project so that you can man
193
193
194
194
1. In Visual Studio Code, close all open folders.
195
195
196
-
1. In the Azure pane, next to **Azure: Logic Apps (Standard)**, select **Create New Project** (icon that shows a folder and lightning bolt).
196
+
1. In the Azure pane, next to **Logic Apps (Standard)**, select **Create New Project** (icon that shows a folder and lightning bolt).
197
197
198
198

199
199
@@ -207,7 +207,7 @@ Before you can create your logic app, create a local project so that you can man
207
207
208
208

209
209
210
-
1. Provide a name for your workflow and press Enter. This example uses `Fabrikam-Stateful-Workflow` as the name.
210
+
1. Provide a name for your workflow and press Enter. This example uses **Fabrikam-Stateful-Workflow** as the name.
211
211
212
212

213
213
@@ -275,7 +275,7 @@ The authoring capability is currently available only in Visual Studio Code, but
275
275
276
276

277
277
278
-
1. Provide a name for the resource group, and press Enter. This example uses `Fabrikam-Workflows-RG`.
278
+
1. Provide a name for the resource group, and press Enter. This example uses **Fabrikam-Workflows-RG**.
279
279
280
280

281
281
@@ -315,7 +315,7 @@ The workflow in this example uses this trigger and these actions:
315
315
316
316
1. Next to the designer, in the **Add a trigger** pane, under the **Choose an operation** search box, make sure that **Built-in** is selected so that you can select a trigger that runs natively.
317
317
318
-
1. In the **Choose an operation** search box, enter `when a http request`, and select the built-in Request trigger that's named **When an HTTP request is received**.
318
+
1. In the **Choose an operation** search box, enter **when a http request**, and select the built-in Request trigger that's named **When an HTTP request is received**.
319
319
320
320

321
321
@@ -365,7 +365,7 @@ The workflow in this example uses this trigger and these actions:
365
365
> [!TIP]
366
366
> To prevent future prompts, select **Don't ask again for this extension**.
367
367
368
-
After Visual Studio Code creates your connection, some connectors show the message that `The connection will be valid for {n} days only`. This time limit applies only to the duration while you author your logic app in Visual Studio Code. After deployment, this limit no longer applies because your logic app can authenticate at runtime by using its automatically enabled [system-assigned managed identity](../logic-apps/create-managed-service-identity.md). This managed identity differs from the authentication credentials or connection string that you use when you create a connection. If you disable this system-assigned managed identity, connections won't work at runtime.
368
+
After Visual Studio Code creates your connection, some connectors show the message that **The connection will be valid for {n} days only**. This time limit applies only to the duration while you author your logic app in Visual Studio Code. After deployment, this limit no longer applies because your logic app can authenticate at runtime by using its automatically enabled [system-assigned managed identity](../logic-apps/create-managed-service-identity.md). This managed identity differs from the authentication credentials or connection string that you use when you create a connection. If you disable this system-assigned managed identity, connections won't work at runtime.
369
369
370
370
1. On the designer, if the **Send an email** action doesn't appear selected, select that action.
371
371
@@ -375,9 +375,9 @@ The workflow in this example uses this trigger and these actions:
375
375
376
376
| Property | Required | Value | Description |
377
377
|----------|----------|-------|-------------|
378
-
|**To**| Yes | <*your-email-address*> | The email recipient, which can be your email address for test purposes. This example uses the fictitious email, `[email protected]`. |
379
-
|**Subject**| Yes |`An email from your example workflow`| The email subject |
380
-
|**Body**| Yes |`Hello from your example workflow!`| The email body content |
378
+
|**To**| Yes | <*your-email-address*> | The email recipient, which can be your email address for test purposes. This example uses the fictitious email, **[email protected]**. |
379
+
|**Subject**| Yes |**An email from your example workflow**| The email subject |
380
+
|**Body**| Yes |**Hello from your example workflow!**| The email body content |
381
381
||||
382
382
383
383
> [!NOTE]
@@ -551,11 +551,11 @@ To test your logic app, follow these steps to start a debugging session, and fin
551
551
552
552
1. On the **Create New** pane, under **Building Blocks**, select **Request**.
553
553
554
-
1. In the **Save Request** window, under **Request name**, provide a name for the request, for example, `Test workflow trigger`.
554
+
1. In the **Save Request** window, under **Request name**, provide a name for the request, for example, **Test workflow trigger**.
555
555
556
556
1. Under **Select a collection or folder to save to**, select **Create Collection**.
557
557
558
-
1. Under **All Collections**, provide a name for the collection to create for organizing your requests, press Enter, and select **Save to <*collection-name*>**. This example uses `Logic Apps requests` as the collection name.
558
+
1. Under **All Collections**, provide a name for the collection to create for organizing your requests, press Enter, and select **Save to <*collection-name*>**. This example uses **Logic Apps requests** as the collection name.
559
559
560
560
In Postman, the request pane opens so that you can send a request to the callback URL for the Request trigger.
561
561
@@ -603,7 +603,7 @@ To test your logic app, follow these steps to start a debugging session, and fin
603
603

604
604
605
605
> [!NOTE]
606
-
> If a run failed and a step in monitoring view shows the `400 Bad Request` error, this problem might result
606
+
> If a run failed and a step in monitoring view shows the **400 Bad Request** error, this problem might result
607
607
> from a longer trigger name or action name that causes the underlying Uniform Resource Identifier (URI) to exceed
608
608
> the default character limit. For more information, see ["400 Bad Request"](#400-bad-request).
609
609
@@ -650,7 +650,7 @@ To return a response to the caller that sent a request to your logic app, you ca
650
650
651
651
The **Choose an operation** prompt appears on the designer, and the **Add an action** pane reopens so that you can select the next action.
652
652
653
-
1. On the **Add an action** pane, under the **Choose an action** search box, make sure that **Built-in** is selected. In the search box, enter `response`, and select the **Response** action.
653
+
1. On the **Add an action** pane, under the **Choose an action** search box, make sure that **Built-in** is selected. In the search box, enter **response**, and select the **Response** action.
654
654
655
655

656
656
@@ -747,19 +747,19 @@ To find the fully qualified domain names (FQDNs) for these connections, follow t
747
747
748
748
## Deploy to Azure
749
749
750
-
From Visual Studio Code, you can directly publish your project to Azure, which deploys your logic app using the **Logic App (Standard)** resource type. You can publish your logic app as a new resource, which automatically creates any necessary resources, such as an [Azure Storage account, similar to function app requirements](../azure-functions/storage-considerations.md). Or, you can publish your logic app to a previously deployed **Logic App (Standard)** resource, which overwrites that logic app.
750
+
From Visual Studio Code, you can directly publish your project to Azure to deploy your Standard logic app. You can publish your logic app as a new resource, which automatically creates any necessary resources, such as an [Azure Storage account, similar to function app requirements](../azure-functions/storage-considerations.md). Or, you can publish your logic app to a previously deployed Standard logic app resource, which overwrites that logic app.
751
751
752
-
Deployment for the **Logic App (Standard)** resource type requires a hosting plan and pricing tier, which you select during deployment. For more information, review [Hosting plans and pricing tiers](logic-apps-pricing.md#standard-pricing).
752
+
Deployment for the Standard logic app resource requires a hosting plan and pricing tier, which you select during deployment. For more information, review [Hosting plans and pricing tiers](logic-apps-pricing.md#standard-pricing).
753
753
754
754
<aname="publish-new-logic-app"></a>
755
755
756
-
### Publish to a new Logic App (Standard) resource
756
+
### Publish to a new Standard logic app resource
757
757
758
758
1. On the Visual Studio Code Activity Bar, select the Azure icon.
759
759
760
-
1. On the **Azure: Logic Apps (Standard)** pane toolbar, select **Deploy to Logic App**.
760
+
1. On the **Logic Apps (Standard)** pane toolbar, select **Deploy to Logic App**.
761
761
762
-

762
+

763
763
764
764
1. If prompted, select the Azure subscription to use for your logic app deployment.
765
765
@@ -771,17 +771,17 @@ Deployment for the **Logic App (Standard)** resource type requires a hosting pla
771
771
772
772
This example continues with **Create new Logic App (Standard) in Azure Advanced**.
773
773
774
-

774
+

775
775
776
-
1. To create your new **Logic App (Standard)** resource, follow these steps:
776
+
1. To create your new Standard logic app resource, follow these steps:
777
777
778
-
1. Provide a globally unique name for your new logic app, which is the name to use for the **Logic App (Standard)** resource. This example uses `Fabrikam-Workflows-App`.
778
+
1. Provide a globally unique name for your new logic app, which is the name to use for the **Logic App (Standard)** resource. This example uses **Fabrikam-Workflows-App**.
779
779
780
-

780
+

781
781
782
782
1. Select a hosting plan for your new logic app. Either create a name for your plan, or select an existing plan (Windows-based App Service plans only). This example selects **Create new App Service Plan**.
783
783
784
-

784
+

785
785
786
786
1. Provide a name for your hosting plan, and then select a pricing tier for your selected plan.
787
787
@@ -796,7 +796,7 @@ Deployment for the **Logic App (Standard)** resource type requires a hosting pla
796
796
797
797
1. For stateful workflows, select **Create new storage account** or an existing storage account.
798
798
799
-

799
+

800
800
801
801
1. If your logic app's creation and deployment settings support using [Application Insights](../azure-monitor/app/app-insights-overview.md), you can optionally enable diagnostics logging and tracing for your logic app. You can do so either when you deploy your logic app from Visual Studio Code or after deployment. You need to have an Application Insights instance, but you can create this resource either [in advance](../azure-monitor/app/create-workspace-resource.md), when you deploy your logic app, or after deployment.
802
802
@@ -857,7 +857,6 @@ Deployment for the **Logic App (Standard)** resource type requires a hosting pla
857
857
| Information | Logs that track the general activity in your logic app or workflow, for example: <p><p>- When a trigger, action, or run starts and ends. <br>- When your logic app starts or ends. |
858
858
| Trace | Logs that contain the most detailed messages, for example, storage requests or dispatcher activity, plus all the messages that are related to workflow execution activity. |
859
859
| Warning | Logs that highlight an abnormal state in your logic app but doesn't prevent its running. |
860
-
|||
861
860
862
861
To set the severity level, at your project's root level, open the **host.json** file, and find the `logging` object. This object controls the log filtering for all the workflows in your logic app and follows the [ASP.NET Core layout for log type filtering](/aspnet/core/fundamentals/logging/?view=aspnetcore-2.1&preserve-view=true#log-filtering).
863
862
@@ -924,7 +923,7 @@ You can have multiple workflows in your logic app project. To add a blank workfl
924
923
925
924
1. On the Visual Studio Code Activity Bar, select the Azure icon.
926
925
927
-
1. In the Azure pane, next to **Azure: Logic Apps (Standard)**, select **Create Workflow** (icon for Azure Logic Apps).
926
+
1. In the Azure pane, next to **Logic Apps (Standard)**, select **Create Workflow** (Azure Logic Apps icon).
928
927
929
928
1. Select the workflow type that you want to add: **Stateful** or **Stateless**
930
929
@@ -938,7 +937,7 @@ When you're done, a new workflow folder appears in your project along with a **w
938
937
939
938
In Visual Studio Code, you can view all the deployed logic apps in your Azure subscription, whether they're Consumption or Standard logic app resources, and select tasks that help you manage those logic apps. However, to access both resource types, you need both the **Azure Logic Apps (Consumption)** and the **Azure Logic Apps (Standard)** extensions for Visual Studio Code.
940
939
941
-
1. On the left toolbar, select the Azure icon. In the **Azure: Logic Apps (Standard)** pane, expand your subscription, which shows all the deployed logic apps for that subscription.
940
+
1. On the left toolbar, select the Azure icon. In the **Logic Apps (Standard)** pane, expand your subscription, which shows all the deployed logic apps for that subscription.
942
941
943
942
1. Open the logic app that you want to manage. From the logic app's shortcut menu, select the task that you want to perform.
944
943
@@ -986,7 +985,7 @@ Stopping a logic app affects workflow instances in the following ways:
986
985
To stop a trigger from firing on unprocessed items since the last run, clear the trigger state before you restart the logic app:
987
986
988
987
1. In Visual Studio Code, on the left toolbar, select the Azure icon.
989
-
1. In the **Azure: Logic Apps (Standard)** pane, expand your subscription, which shows all the deployed logic apps for that subscription.
988
+
1. In the **Logic Apps (Standard)** pane, expand your subscription, which shows all the deployed logic apps for that subscription.
990
989
1. Expand your logic app, and then expand the node that's named **Workflows**.
991
990
1. Open a workflow, and edit any part of that workflow's trigger.
992
991
1. Save your changes. This step resets the trigger's current state.
0 commit comments