Understanding an Azure function
An Azure function is a piece of code or application that is stored within your Azure account as an object. It is a Platform-as-a-Service (PaaS) offering and provides on-demand execution capabilities. Further details can be found at https://azure.microsoft.com/en-gb/pricing/details/functions/.
The object is published to a resource group. This object can be accessed by a logic app, which can pass data into the function as input parameters and work on the output that's returned.
Functions can be written in a variety of ways but commonly, they are written as C# console apps for use in data formatting or calculations, which cannot easily be done within a logic app alone.
Therefore, if you want to take advantage of the entire .NET Framework's suite of code, which is more extensive than the logic app, or you want to customize your app so that it's tailored to your needs and you can do so easier than within a C# app, you can create and...