For example, if your Azure Function has the endpoint, then the functionName to use in the Azure Function Activity is /. The Azure Function Activity supports routing. See the schema of the request payload in Request payload schema section. String (or expression with resultType of string) or object. String (or expression with resultType of string)īody that is sent along with the request to the function api method For example, to set the language and type on a request: "headers": String Supported Types: "GET", "POST", "PUT" Name of the function in the Azure Function App that this activity calls The Azure Function linked service for the corresponding Azure Function App Type of activity is ‘AzureFunctionActivity’ Find out more here: Azure Functions HTTP triggers and bindings Click on the Manage section for the respective function, and copy either the Function Key or the Host key. Format is This URL is the value under URL section when viewing your Function App in the Azure portalĪccess key for the Azure Function.
The type property must be set to: AzureFunction For more information, see the function documentation for more details about Function access key Property User needs to provide key to access function name. Managed identity provides secure access to the entire function app. (Keep in mind that JArray is not a JObject.) Any return type other than JObject fails and raises the user error Response Content is not a valid JObject.įunction Key provides secure access to function name with each one having separate unique keys or master key within a function app. The return type of the Azure function has to be a valid JObject.
In the new Azure Function linked service pane, choose your existing Azure Function App url and provide a Function Key.Īfter selecting the Azure Function linked service, provide the function name and other details to complete the configuration. If you do not already have an Azure Function linked service defined, select New to create a new one. Select the new Azure Function activity on the canvas if it is not already selected, and its Settings tab, to edit its details. To use an Azure Function activity in a pipeline, complete the following steps:Įxpand the Azure Function section of the pipeline Activities pane, and drag an Azure Function activity to the pipeline canvas. Create an Azure Function activity with UI Then you can use the linked service with an activity that specifies the Azure Function that you plan to execute. To run an Azure Function, you must create a linked service connection. The Azure Function activity allows you to run Azure Functions in an Azure Data Factory or Synapse pipeline.