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
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: logic-apps
5
5
ms.suite: integration
6
6
ms.reviewer: estfan, azla
7
7
ms.topic: how-to
8
-
ms.date: 02/22/2023
8
+
ms.date: 04/04/2023
9
9
ms.custom: ignite-fall-2021, engagement-fy23
10
10
11
11
# Customer intent: As a logic apps developer, I want to create a Standard logic app workflow that runs in single-tenant Azure Logic Apps using Visual Studio Code.
@@ -177,7 +177,7 @@ To find and confirm these settings, follow these steps:
177
177
178
178

179
179
180
-
After you sign in, the Azure pane shows the subscriptions in your Azure account. If you also have the publicly released extension, you can find any logic apps that you created with that extension in the **Logic Apps** section, not the **Logic Apps (Standard)** section.
180
+
After you sign in, the Azure pane shows the subscriptions in your Azure account. If you also have the publicly released extension, you can find any logic apps that you created with that extension in the **Logic Apps (Consumption)** section, not the **Logic Apps (Standard)** section.
181
181
182
182
If the expected subscriptions don't appear, or you want the pane to show only specific subscriptions, follow these steps:
183
183
@@ -402,7 +402,7 @@ The workflow in this example uses this trigger and these actions:
402
402
403
403
## Enable locally running webhooks
404
404
405
-
When you use a webhook-based trigger or action, such as **HTTP Webhook**, with a logic app running in Azure, the Logic Apps runtime subscribes to the service endpoint by generating and registering a callback URL with that endpoint. The trigger or action then waits for the service endpoint to call the URL. However, when you're working in Visual Studio Code, the generated callback URL starts with `http://localhost:7071/...`. This URL is for your localhost server, which is private so the service endpoint can't call this URL.
405
+
When you use a webhook-based trigger or action, such as **HTTP Webhook**, with a logic app workflow running in Azure, the Azure Logic Apps runtime subscribes to the service endpoint by generating and registering a callback URL with that endpoint. The trigger or action then waits for the service endpoint to call the URL. However, when you're working in Visual Studio Code, the generated callback URL starts with `http://localhost:7071/...`. This URL is for your localhost server, which is private so the service endpoint can't call this URL.
406
406
407
407
To locally run webhook-based triggers and actions in Visual Studio Code, you need to set up a public URL that exposes your localhost server and securely forwards calls from the service endpoint to the webhook callback URL. You can use a forwarding service and tool such as [**ngrok**](https://ngrok.com/), which opens an HTTP tunnel to your localhost port, or you can use your own equivalent tool.
408
408
@@ -436,16 +436,18 @@ To locally run webhook-based triggers and actions in Visual Studio Code, you nee
436
436
437
437
#### Set up the forwarding URL in your app settings
438
438
439
-
1. In Visual Studio Code, on the designer, add the **HTTP + Webhook** trigger or action.
439
+
1. In Visual Studio Code, on the designer, add the webhook-based trigger or action that you want to use.
440
+
441
+
This example continues with the **HTTP + Webhook** trigger.
440
442
441
443
1. When the prompt appears for the host endpoint location, enter the forwarding (redirection) URL that you previously created.
442
444
443
445
> [!NOTE]
444
446
> Ignoring the prompt causes a warning to appear that you must provide the forwarding URL,
445
447
> so select **Configure**, and enter the URL. After you finish this step, the prompt won't
446
-
> reappear for subsequent webhook triggers or actions that you might add.
448
+
> appear for subsequent webhook triggers or actions that you might add.
447
449
>
448
-
> To make the prompt reappear, at your project's root level, open the **local.settings.json**
450
+
> To make the prompt appear, at your project's root level, open the **local.settings.json**
449
451
> file's shortcut menu, and select **Configure Webhook Redirect Endpoint**. The prompt now
450
452
> appears so you can provide the forwarding URL.
451
453
@@ -471,7 +473,7 @@ To locally run webhook-based triggers and actions in Visual Studio Code, you nee
471
473
> `"FUNCTIONS_WORKER_RUNTIME"` is set to `"dotnet"`. However, to use **Inline Code Operations**,
472
474
> you must have `"FUNCTIONS_WORKER_RUNTIME"` set to `"node"`
473
475
474
-
The first time when you start a local debugging session or run the workflow without debugging, the Logic Apps runtime registers the workflow with the service endpoint and subscribes to that endpoint for notifying the webhook operations. The next time that your workflow runs, the runtime won't register or resubscribe because the subscription registration already exists in local storage.
476
+
The first time when you start a local debugging session or run the workflow without debugging, the Azure Logic Apps runtime registers the workflow with the service endpoint and subscribes to that endpoint for notifying the webhook operations. The next time that your workflow runs, the runtime won't register or resubscribe because the subscription registration already exists in local storage.
475
477
476
478
When you stop the debugging session for a workflow run that uses locally run webhook-based triggers or actions, the existing subscription registrations aren't deleted. To unregister, you have to manually remove or delete the subscription registrations.
477
479
@@ -940,7 +942,7 @@ When you're done, a new workflow folder appears in your project along with a **w
940
942
941
943
## Manage deployed logic apps in Visual Studio Code
942
944
943
-
In Visual Studio Code, you can view all the deployed logic apps in your Azure subscription, whether they are the original **Logic Apps** or the **Logic App (Standard)** resource type, and select tasks that help you manage those logic apps. However, to access both resource types, you need both the **Azure Logic Apps** and the **Azure Logic Apps (Standard)** extensions for Visual Studio Code.
945
+
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.
944
946
945
947
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.
946
948
@@ -1013,9 +1015,9 @@ Deleting a logic app affects workflow instances in the following ways:
1013
1015
1014
1016
## Manage deployed logic apps in the portal
1015
1017
1016
-
After you deploy a logic app to the Azure portal from Visual Studio Code, you can view all the deployed logic apps that are in your Azure subscription, whether they are the original **Logic Apps** resource type or the **Logic App (Standard)** resource type. Currently, each resource type is organized and managed as separate categories in Azure. To find logic apps that have the **Logic App (Standard)** resource type, follow these steps:
1018
+
After you deploy a logic app to the Azure portal from Visual Studio Code, you can view all the deployed logic apps that are in your Azure subscription, whether they're Consumption or Standard logic app resources. Currently, each resource type is organized and managed as separate categories in Azure. To find Standard logic apps, follow these steps:
1017
1019
1018
-
1. In the Azure portal search box, enter `logic apps`. When the results list appears, under **Services**, select **Logic apps**.
1020
+
1. In the Azure portal search box, enter **logic apps**. When the results list appears, under **Services**, select **Logic apps**.
1019
1021
1020
1022

0 commit comments