Integrating Azure Functions With Azure Logic App

Before jumping into the details of integrating Azure Functions within an Azure Logic App I would like to start by discussing the scenario that I was trying to implement. As shown in Figure 1 the request flows through an Azure APIM into the Logic App which in turn utilizes an Azure Function thatutilizes an Azure Table Storage. When the Logic App gets triggered by the APIM it receives a custom header which includes an Azure AD role. The role is passed to the Azure Function which makes a decision on whether the Logic App is permitted to move forward with the call to the SAP…