Connect Logic Apps with Azure Functions

Azure functions is a component released a few weeks ago by Microsoft in Azure to easily perform code/function in Azure.

Azure functions is a solution for easily running small pieces of code, or “functions,” in the cloud. You can write just the code you need for the problem at hand, without worrying about a whole application or the infrastructure to run it. This can make development even more productive, and you can get started with your first function in just minutes.

If you want more information on Functions you can get this from the documentation site of Microsoft (https://azure.microsoft.com/en-us/documentation/articles/functions-overview/).

I could imagine a lot of situations were you would like to incorporate pieces of code within a Logic App. You already could achieve this by creating a web / api application but with the use of functions this is a lot easier and you can benefit off the dynamic loading of Azure functions.

To incorporate functions open the Logic App designer and press the + button.

Logic Apps Designer

Click “Add an Action”.

Add an Action

The designer will give a couple of options. If you try the search box you won’t find any functions. To incorporate the functions click on “Show Microsoft Managed APIs”.

Designer Block

This option gives several options that exist in the same region. One of the options is Azure Functions.

Logic App Api Selection

Clicking on the option “Show Azure Functions in the same region” will open the selection for the functions container. Select the right container.

Azure Function Container

With the right container selected the existing functions will be loaded. Besides that you can also create a new one.

Azure Function Selection

With the function selected you can add the input payload for the function.

Azure Function Itegration

Related Posts

The securitydata Azure resource group Most of the times companies have rules in place for managing their Azure environment. The main rules that should be in place are “Azure Policies” and ...
Point to Site VPN Client won’t install To connect an Azure App Service to a on-premise database you can make use of different solutions. Two of those solutions are: Hybrid Connection ...
Invoke Azure Function in your Visual Studio Team Services CI/CD pipeline A utility task is available for Visual Studio Team Services (VSTS) to invoke an http triggered Azure function. The ability to invoke a Function from y...
VSTS Extension for Azure Role Based Access Control Today I published an extension for Visual Studio Team Services (VSTS) that gives you the ability to add and remove role based access assignments in Az...
Listing Azure Services within a CSV file In some situations you will look into a current Azure Environment and the setup/governance of it and need to migrate or move resources around. The ...
Azure Event Grid with Custom Events As of yesterday (16-8-2017) the public preview of Azure Event Grid is live. Azure Event Grid is a fully managed event routing service. Azure Event Gri...

Leave a Reply

Your email address will not be published. Required fields are marked *