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-managed-service-identity.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -584,7 +584,7 @@ After you [enable the managed identity for your logic app resource](#azure-porta
584
584
585
585
> [!IMPORTANT]
586
586
> If you have an Azure function where you want to use the system-assigned identity,
587
-
> first [enable authentication for Azure Functions](logic-apps-azure-functions.md#enable-authentication-for-functions).
587
+
> first [enable authentication for Azure Functions](logic-apps-azure-functions.md#enable-authentication-functions).
588
588
589
589
These steps show how to use the managed identity with a trigger or action through the Azure portal. To specify the managed identity in a trigger or action's underlying JSON definition, review [Managed identity authentication](logic-apps-securing-a-logic-app.md#managed-identity-authentication).
Copy file name to clipboardExpand all lines: articles/logic-apps/logic-apps-azure-functions.md
+14-22Lines changed: 14 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.custom: devx-track-js
11
11
12
12
# Create and run code from workflows in Azure Logic Apps using Azure Functions
13
13
14
-
When you want to run code that performs a specific job in your logic app workflow, you can create a function by using [Azure Functions](../azure-functions/functions-overview.md). This service helps you create Node.js, C#, and F# functions so you don't have to build a complete app or infrastructure to run code. You can also [call logic app workflows from inside an Azure function](#call-logic-app). Azure Functions provides serverless computing in the cloud and is useful for performing certain tasks, for example:
14
+
When you want to run code that performs a specific job in your logic app workflow, you can create a function by using [Azure Functions](../azure-functions/functions-overview.md). This service helps you create Node.js, C#, and F# functions so you don't have to build a complete app or infrastructure to run code. Azure Functions provides serverless computing in the cloud and is useful for performing certain tasks, for example:
15
15
16
16
* Extend your logic app's behavior with functions in Node.js or C#.
17
17
* Perform calculations in your logic app workflow.
@@ -21,7 +21,7 @@ When you want to run code that performs a specific job in your logic app workflo
21
21
> Azure Logic Apps doesn't support using Azure Functions with deployment slots enabled. Although this scenario might sometimes work,
22
22
> this behavior is unpredictable and might result in authorization problems when your workflow tries call the Azure function.
23
23
24
-
You can also run code snippets without using Azure Functions. For more information, review [Add and run inline code](logic-apps-add-run-inline-code.md).
24
+
This article shows how to call an Azure function from a logic app workflow. To run code snippets without using Azure Functions, review [Add and run inline code](logic-apps-add-run-inline-code.md). To call and trigger a logic app workflow from inside a function, the workflow must start with a trigger that provides a callable endpoint. For example, you can start the workflow with the **HTTP**, **Request**, **Azure Queues**, or **Event Grid** trigger. Inside your function, send an HTTP POST request to the trigger's URL and include the payload you want that workflow to process. For more information, review [Call, trigger, or nest logic app workflows](logic-apps-http-endpoint.md).
25
25
26
26
## Prerequisites
27
27
@@ -157,7 +157,7 @@ You can create functions directly from your logic app's workflow by using the bu
157
157
158
158

159
159
160
-
1. To specify other details such as the method to use, request headers, or query parameters, or authentication, open the **Add new parameter** list, and select the options that you want. For authentication, your options differ based on your selected function. Review[Enable authentication for functions](#enable-authentication-functions).
160
+
1. To specify other details such as the method to use, request headers, or query parameters, or authentication, open the **Add new parameter** list, and select the options that you want. For authentication, your options differ based on your selected function. For more information, review[Enable authentication for functions](#enable-authentication-functions).
161
161
162
162
<aname="add-function-logic-app"></a>
163
163
@@ -193,7 +193,7 @@ To call existing functions from your logic app workflow, you can add functions l
193
193
194
194

195
195
196
-
1. To specify other details such as the method to use, request headers, query parameters, or authentication, open the **Add new parameter** list, and select the options that you want. For authentication, your options differ based on your selected function. Review [Enable authentication in functions](#enable-authentication-functions).
196
+
1. To specify other details such as the method to use, request headers, query parameters, or authentication, open the **Add new parameter** list, and select the options that you want. For authentication, your options differ based on your selected function. For more information, review [Enable authentication for functions](#enable-authentication-functions).
197
197
198
198
### [Standard](#tab/standard)
199
199
@@ -221,7 +221,7 @@ To call existing functions from your logic app workflow, you can add functions l
221
221
222
222

223
223
224
-
1. To specify other details such as the method to use, request headers, query parameters, or authentication, open the **Add new parameter** list, and select the options that you want. For authentication, your options differ based on your selected function. Review [Enable authentication in functions](#enable-authentication-functions).
224
+
1. To specify other details such as the method to use, request headers, query parameters, or authentication, open the **Add new parameter** list, and select the options that you want. For authentication, your options differ based on your selected function. For more information, review [Enable authentication for functions](#enable-authentication-functions).
225
225
226
226
---
227
227
@@ -238,18 +238,14 @@ For more information, review the following documentation:
238
238
239
239
To set up your function app and function so they can use your logic app's managed identity, follow these high-level steps:
240
240
241
-
1.On your logic app resource, [enable and set up the managed identity](create-managed-service-identity.md) with access to the target resource.
241
+
1.[Enable and set up your logic app's managed identity](create-managed-service-identity.md).
242
242
243
-
1.Enable authentication for your function app and function by completing these high-level tasks:
243
+
1.[Set up your function for anonymous authentication](#set-authentication-function-app).
244
244
245
-
1.[Set up your function for anonymous authentication](#set-authentication-function-app).
246
-
247
-
1.[Set up your function app for Azure AD authentication](#set-azure-ad-authentication).
245
+
1.[Find the required values to set up Azure AD authentication](#find-required-values).
248
246
249
247
1.[Create an app registration for your function app](#create-app-registration).
250
248
251
-
1.[Get the application ID (resource ID) from your app registration](#find-application-id) for your function to use later in the **Audience** property.
252
-
253
249
<aname="set-authentication-function-app"></a>
254
250
255
251
## Set up your function for anonymous authentication
@@ -284,6 +280,8 @@ For your function to use your logic app's managed identity, you must set your fu
284
280
285
281
1. When you're done, save your settings. Continue to the next section.
286
282
283
+
<aname="find-required-values"></a>
284
+
287
285
## Find the required values to set up Azure AD authentication
288
286
289
287
Before you can set up your function app to use Azure AD authentication, you need to find and save the following values by following the steps in this section.
@@ -355,9 +353,9 @@ To find your Azure AD tenant ID, either run the PowerShell command named [**Get-
355
353
356
354
<aname="create-app-registration"></a>
357
355
358
-
## Create an app registration for your function app
356
+
## Create app registration for your function app
359
357
360
-
Now you're ready to set up Azure AD authentication for your function app by creating an app registration. For more information, review [Configure your App Service or Azure Functions app to use Azure AD login](../app-service/configure-authentication-provider-aad.md#-enable-azure-active-directory-in-your-app-service-app).
358
+
After you find the object ID for your logic app's managed identity and tenant ID for your Azure AD, you can set up your function app to use Azure AD authentication by creating an app registration. For more information, review [Configure your App Service or Azure Functions app to use Azure AD login](../app-service/configure-authentication-provider-aad.md#-enable-azure-active-directory-in-your-app-service-app).
361
359
362
360
1. In the [Azure portal](https://portal.azure.com), open your function app.
363
361
@@ -389,16 +387,10 @@ Now you're ready to set up Azure AD authentication for your function app by crea
389
387
390
388
When you're done, the **Authentication** page now lists the identity provider and app ID (client ID) for the app registration. Your function app can now use this app registration for authentication.
391
389
392
-
1. Copy the app registration's app ID (client ID) for later use in your workflow.
390
+
1. Copy the app ID (client ID) for your function to use in the **Audience** property later in your workflow.
393
391
394
392
1. Return to the designer and follow the [steps to authenticate access with the managed identity](create-managed-service-identity.md#authenticate-access-with-identity) by using the built-in Azure Functions action.
395
393
396
-
<aname="call-logic-app-workflow"></a>
397
-
398
-
## Call workflows from functions
399
-
400
-
To trigger a logic app workflow from inside a function, the workflow must start with a trigger that provides a callable endpoint. For example, you can start the workflow with the **HTTP**, **Request**, **Azure Queues**, or **Event Grid** trigger. Inside your function, send an HTTP POST request to the trigger's URL and include the payload you want that workflow to process. For more information, review [Call, trigger, or nest logic app workflows](logic-apps-http-endpoint.md).
401
-
402
394
## Next steps
403
395
404
-
*[Authentication access to Azure resources with managed identities in Azure Logic Apps](create-managed-service-identity.md#authentication-access-with-identity)
396
+
*[Authentication access to Azure resources with managed identities in Azure Logic Apps](create-managed-service-identity.md#authenticate-access-with-identity)
Copy file name to clipboardExpand all lines: articles/logic-apps/logic-apps-securing-a-logic-app.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1180,9 +1180,9 @@ When the [managed identity](../active-directory/managed-identities-azure-resourc
1180
1180
> create a connection. If you disable this identity, connections won't work at run time. To view
1181
1181
> this setting, on your logic app's menu, under **Settings**, select **Identity**.
1182
1182
1183
-
1. Before your logic app can use a managed identity, follow the steps in [Authenticate access to Azure resources by using managed identities in Azure Logic Apps](../logic-apps/create-managed-service-identity.md). These steps enable the managed identity on your logic app and set up that identity's access to the target Azure resource.
1183
+
1. Before your logic app can use a managed identity, follow the steps in [Authenticate access to Azure resources by using managed identities in Azure Logic Apps](create-managed-service-identity.md). These steps enable the managed identity on your logic app and set up that identity's access to the target Azure resource.
1184
1184
1185
-
1. Before an Azure function can use a managed identity, first [enable authentication for Azure functions](../logic-apps/logic-apps-azure-functions.md#enable-authentication-for-functions).
1185
+
1. Before an Azure function can use a managed identity, first [enable authentication for Azure functions](logic-apps-azure-functions.md#enable-authentication-functions).
1186
1186
1187
1187
1. In the trigger or action that supports using a managed identity, provide this information:
0 commit comments