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-standard-workflows-visual-studio-code.md
+34-30Lines changed: 34 additions & 30 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: 03/12/2025
8
+
ms.date: 03/17/2025
9
9
ms.custom: engagement-fy23, devx-track-dotnet
10
10
# 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.
11
11
---
@@ -222,7 +222,7 @@ After you create the required workspace, follow the prompts to create your proje
222
222
>
223
223
> If you don't select this option, and you later try to add a managed connector
224
224
> operation when you build your workflow, you can't continue because the operation
225
-
> information pane shows an endlessly-spinning waiting symbol.
225
+
> information pane shows a spinning circle that doesn't stop.
226
226
227
227
1. For the Azure resource group, select **Create new resource group**. Enter the resource group name to use.
228
228
@@ -315,11 +315,11 @@ If you need to delete an item from the designer, [follow these steps for deletin
315
315
316
316
If the action doesn't appear in the initial results, next to the connector name, select **See more**, for example:
317
317
318
-
:::image type="content" source="media/create-standard-workflows-visual-studio-code/add-send-email-action.png" alt-text="Screenshot shows workflow designer and Add an action pane with action search results, and selected See more option.":::
318
+
:::image type="content" source="media/create-standard-workflows-visual-studio-code/add-send-email-action.png" alt-text="Screenshot shows workflow designer and Add an action pane with action search results, and selected See more options.":::
319
319
320
320
1. When the action's authentication pane appears, select **Sign in** to create a connection to your email account.
321
321
322
-
:::image type="content" source="media/create-standard-workflows-visual-studio-code/send-email-action-sign-in.png" alt-text="Screenshot shows action named Send an email (V2) with selected sign in button.":::
322
+
:::image type="content" source="media/create-standard-workflows-visual-studio-code/send-email-action-sign-in.png" alt-text="Screenshot shows actions named Send an email (V2) with selected sign in button.":::
323
323
324
324
1. Follow the subsequent prompts to authenticate your credentials, allow access, and allow returning to Visual Studio Code.
325
325
@@ -642,7 +642,7 @@ To test your workflow, follow these steps to run a debugging session and find th
642
642
643
643
1. Copy and save the **Callback URL**, which looks similar to the following URL for the **When an HTTP request is received** trigger in this example:
@@ -703,7 +703,7 @@ To test your workflow, follow these steps to run a debugging session and find th
703
703
|**Cancelled**| The action was running but received a request to cancel. |
704
704
|**Failed**| The action failed. |
705
705
|**Running**| The action is currently running. |
706
-
|**Skipped**| The action was skipped because the immediately preceding action failed. An action has a `runAfter` condition that requires that the preceding action finishes successfully before the current action can run. |
706
+
|**Skipped**| The action was skipped because the immediately preceding action failed. An action has a **`runAfter`** condition that requires that the preceding action finishes successfully before the current action can run. |
707
707
|**Succeeded**| The action succeeded. |
708
708
|**Succeeded with retries**| The action succeeded but only after one or more retries. To review the retry history, in the run history details view, select that action so that you can view the inputs and outputs. |
709
709
|**Timed out**| The action stopped due to the time-out limit specified by that action's settings. |
@@ -783,9 +783,9 @@ To find the fully qualified domain names (FQDNs) for these connections, follow t
783
783
784
784
The following example **connections.json** file contains two connections, an Office 365 connection and an AS2 connection. Both use managed identities for authentication and have the following **`connectionRuntimeUrl`** values, respectively:
@@ -898,7 +898,7 @@ Deployment for the Standard logic app resource requires a hosting plan and prici
898
898
1. For the Azure storage account to use with workflows that enable saving run history information, choose from the following options:
899
899
900
900
-**Create new storage account**
901
-
- Select from existing existing Azure storage accounts, if any exist.
901
+
- Select from existing Azure storage accounts, if any.
902
902
903
903
This example selects **Create new storage account**.
904
904
@@ -936,7 +936,7 @@ Deployment for the Standard logic app resource requires a hosting plan and prici
936
936
937
937
1. When you're ready to deploy, in the confirmation message, select **Deploy**.
938
938
939
-
Visual Studio Code starts to create and deploy the necesssary resources to publish your logic app to Azure.
939
+
Visual Studio Code starts to create and deploy the necessary resources to publish your logic app to Azure.
940
940
941
941
1. To view and monitor the deployment process, on the **View** menu, select **Output**.
942
942
@@ -1058,7 +1058,9 @@ After you deploy your logic app from Visual Studio Code to the Azure portal, con
1058
1058
1059
1059
1. Sign in to the [Azure portal](https://portal.azure.com) with your Azure account.
1060
1060
1061
-
1. In the Azure title search box, enter your logic app name, which should appear as a result in the **Resources** section. Select your logic app.
1061
+
1. In the Azure title search box, enter your logic app name, which should appear as a result in the **Resources** section. Select your logic app to open the resource.
1062
+
1063
+
:::image type="content" source="media/create-standard-workflows-visual-studio-code/find-deployed-workflow-azure-portal.png" alt-text="Screenshot shows Azure search box with logic app name entered.":::
1062
1064
1063
1065
1. On the logic app menu, under **Workflows**, select **Workflows**.
1064
1066
@@ -1106,31 +1108,33 @@ During workflow execution, your logic app workflow emits telemetry along with ot
1106
1108
1107
1109
1. On the **Application Insights** page, select **Turn on Application Insights**.
1108
1110
1109
-
1. After the **Application Insights** page updates, in the **Change your resource** section, select from the following options:
1111
+
1. After the **Application Insights** page updates, in the **Change your resource** section, select from the following options:
1110
1112
1111
1113
- **Create new resource**
1112
1114
1115
+
Azure creates resources for Application Insights and a Log Analytics workspace using the current subscription and resource group. If you want to use a different subscription and resource group, see [Create a new Application Insights resource](/azure/azure-monitor/app/create-workspace-resource?tabs=portal), and then return to this page.
1116
+
1113
1117
| Property | Description |
1114
1118
|----------|-------------|
1115
1119
| **New resource name** | Either accept the generated name or provide another name. |
1116
1120
| **Location** | Select an Azure region. |
1117
-
| **Log Analytics workspace** | Select an existing workspace, if any exists. Otherwise, a default workspace is created for you. For more information, see [Log Analytics workspace overview](/azure/azure-monitor/logs/log-analytics-workspace-overview). |
1121
+
| **Log Analytics workspace** | Select an existing workspace, if any. Otherwise, a default workspace is created for you. For more information, see [Log Analytics workspace overview](/azure/azure-monitor/logs/log-analytics-workspace-overview). |
1118
1122
1119
1123
- **Select existing resource**:
1120
1124
1121
-
1. For the subscription, select the Azure subscription for the Application Insights resource.
1125
+
1. Select the Azure subscription for your Application Insights resource.
1122
1126
1123
-
1. From the Application Insights resources associated with the subscription, select the resource you want.
1127
+
1. Select your Application Insights resource.
1124
1128
1125
-
1. After the pane updates, at the bottom, select **Apply**.
1129
+
1. When you're done, at the page bottom, select **Apply**.
1126
1130
1127
1131
#### Open Application Insights from your logic app
1128
1132
1129
1133
1. In the [Azure portal](https://portal.azure.com), find and open your deployed logic app.
1130
1134
1131
1135
1. On the logic app menu, under **Monitoring**, select **Application Insights**.
1132
1136
1133
-
1. On the **Application Insights** page, select **View Application Insights data**.
1137
+
1. On the **Application Insights** page, select the link for your Application Insights resource.
1134
1138
1135
1139
After Application Insights opens, you can review various metrics for your logic app. For more information, see these articles:
1136
1140
@@ -1145,13 +1149,13 @@ After Application Insights opens, you can review various metrics for your logic
1145
1149
1146
1150
### Designer fails to open
1147
1151
1148
-
When you try to open the designer, you get this error, **"Workflow design time could not be started"**. If you previously tried to open the designer, and then discontinued or deleted your project, the extension bundle might not be downloading correctly. To check whether this cause is the problem, follow these steps:
1152
+
When you try to open the designer, you get this error, **"Workflow design time could not be started"**. If you previously tried to open the designer, and then discontinued or deleted your project, the extension bundle might not correctly download. To check whether this reason is the cause, follow these steps:
1149
1153
1150
1154
1. In Visual Studio Code, open the Output window. From the **View** menu, select **Output**.
1151
1155
1152
1156
1. From the list in the Output window's title bar, select **Azure Logic Apps (Standard)** so that you can review output from the extension, for example:
1153
1157
1154
-

1158
+
:::image type="content" source="media/create-standard-workflows-visual-studio-code/check-output-window-azure-logic-apps.png" alt-text="Screenshot shows Output window with scope list and Azure Logic Apps (Standard) selected.":::
1155
1159
1156
1160
1. Review the output and check whether this error message appears:
1157
1161
@@ -1173,7 +1177,7 @@ When you try to open the designer, you get this error, **"Workflow design time c
1173
1177
1174
1178
### New triggers and actions are missing from the designer picker for previously created workflows
1175
1179
1176
-
Single-tenant Azure Logic Apps supports built-in actions for Azure Function Operations, Liquid Operations, and XML Operations, such as **XML Validation** and **Transform XML**. However, for previously created logic apps, these actions might not appear in the designer picker for you to select if Visual Studio Code uses an outdated version of the extension bundle, `Microsoft.Azure.Functions.ExtensionBundle.Workflows`.
1180
+
Single-tenant Azure Logic Apps supports built-in actions for Azure Function Operations, Liquid Operations, and XML Operations, such as **XML Validation** and **Transform XML**. However, for previously created logic apps, these actions might not appear in the designer picker for you to select if Visual Studio Code uses an outdated version of the extension bundle, **`Microsoft.Azure.Functions.ExtensionBundle.Workflows`.
1177
1181
1178
1182
Also, the **Azure Function Operations** connector and actions don't appear in the designer picker unless you enabled or selected **Use connectors from Azure** when you created your logic app. If you didn't enable the Azure-deployed connectors at app creation time, you can enable them from your project in Visual Studio Code. Open the **workflow.json** shortcut menu, and select **Use Connectors from Azure**.
1179
1183
@@ -1189,13 +1193,13 @@ To fix the outdated bundle, follow these steps to delete the outdated bundle, wh
1189
1193
1190
1194
1. On your computer, browse to the following folder, which contains versioned folders for the existing bundle:
1. Delete the version folder for the earlier package.
1201
1205
@@ -1209,32 +1213,32 @@ The missing triggers and actions now appear in the designer.
1209
1213
1210
1214
When a run fails, and you inspect the run in monitoring view, this error might appear on a trigger or action that has a longer name, which causes the underlying Uniform Resource Identifier (URI) to exceed the default character limit.
1211
1215
1212
-
To resolve this problem and adjust for the longer URI, edit the `UrlSegmentMaxCount` and `UrlSegmentMaxLength` registry keys on your computer by following the steps below. These key's default values are described in this topic, [Http.sys registry settings for Windows](/troubleshoot/iis/httpsys-registry-windows).
1216
+
To resolve this problem and adjust for the longer URI, edit the **`UrlSegmentMaxCount`** and **`UrlSegmentMaxLength`** registry keys on your computer by following the steps below. These key's default values are described in this topic, [Http.sys registry settings for Windows](/troubleshoot/iis/httpsys-registry-windows).
1213
1217
1214
1218
> [!IMPORTANT]
1215
1219
>
1216
1220
> Before you start, make sure that you save your work. This solution requires you
1217
1221
> to restart your computer after you're done so that the changes can take effect.
1218
1222
1219
-
1. On your computer, open the **Run** window, and run the `regedit` command, which opens the registry editor.
1223
+
1. On your computer, open the **Run** window, and run the **`regedit`** command, which opens the registry editor.
1220
1224
1221
1225
1. In the **User Account Control** box, select **Yes** to permit your changes to your computer.
1222
1226
1223
1227
1. In the left pane, under **Computer**, expand the nodes along the path, **HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters**, and then select **Parameters**.
1224
1228
1225
-
1. In the right pane, find the `UrlSegmentMaxCount` and `UrlSegmentMaxLength` registry keys.
1229
+
1. In the right pane, find the **`UrlSegmentMaxCount`** and **`UrlSegmentMaxLength`** registry keys.
1226
1230
1227
1231
1. Increase these key values enough so that the URIs can accommodate the names that you want to use. If these keys don't exist, add them to the **Parameters** folder by following these steps:
1228
1232
1229
1233
1. From the **Parameters** shortcut menu, select **New** > **DWORD (32-bit) Value**.
1230
1234
1231
-
1. In the edit box that appears, enter `UrlSegmentMaxCount` as the new key name.
1235
+
1. In the edit box that appears, enter **`UrlSegmentMaxCount`** as the new key name.
1232
1236
1233
1237
1. Open the new key's shortcut menu, and select **Modify**.
1234
1238
1235
-
1. In the **Edit String** box that appears, enter the **Value data** key value that you want in hexadecimal or decimal format. For example, `400` in hexadecimal is equivalent to `1024` in decimal.
1239
+
1. In the **Edit String** box that appears, enter the **Value data** key value that you want in hexadecimal or decimal format. For example, **`400`** in hexadecimal is equivalent to **`1024`** in decimal.
1236
1240
1237
-
1. To add the `UrlSegmentMaxLength` key value, repeat these steps.
1241
+
1. To add the **`UrlSegmentMaxLength`** key value, repeat these steps.
1238
1242
1239
1243
After you increase or add these key values, the registry editor looks like this example:
1240
1244
@@ -1248,9 +1252,9 @@ To resolve this problem and adjust for the longer URI, edit the `UrlSegmentMaxCo
1248
1252
1249
1253
When you try to start a debugging session, you get the error, **"Error exists after running preLaunchTask 'generateDebugSymbols'"**. To resolve this problem, edit the **tasks.json** file in your project to skip symbol generation.
1250
1254
1251
-
1. In your project, expand the folder that's named **.vscode**, and open the **tasks.json** file.
1255
+
1. In your project, expand the **.vscode** folder, and open the **tasks.json** file.
1252
1256
1253
-
1. In the following task, delete the line, `"dependsOn: "generateDebugSymbols"`, along with the comma that ends the preceding line, for example:
1257
+
1. In the following task, delete the line, **`"dependsOn: "generateDebugSymbols"`**, along with the comma that ends the preceding line, for example:
0 commit comments