Connect Logic Apps with Azure Functions

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

Azure DevOps Automation A couple of weeks ago the rename / rebranding of Visual Studio Team Services to Azure DevOps was announced. The rebranding is a great step forward int...
AKS (Kubernetes) and no connection could be made because the target machine acti... A client of my had an error while connecting to different resources within their Kubernetes cluster in Azure (AKS). Kubectl error On the kubectl com...
Kubernetes (AKS) attached to Azure Storage (Files) Kubernetes (AKS) can be used for many situations. For a client we needed to make files available trough a Kubernetes Pod. The files needed to be share...
Resource Group deployment via ARM templates When deploying an Azure Resource Manager (ARM) template you have to create a resource group within Azure. To deploy a template via script your script ...
Azure Managed Service Identity and Local Development Instead of storing user credentials of an external system in a configuration file, you should store them in the Azure Key Vault. Before MSI (Managed S...
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 ...

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.