Steps to create an Azure Function
This post simply consists of a bunch of screenshots I took when creating a default HTTP trigger Azure Function via Visual Studio.
A good reference to go with this post is: https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-your-first-function-visual-studio
Firstly, within Visual Studio, create a new project.


Select ‘Http trigger’ & the relevant Access rights

A default Azure Function is created

Publish the Azure Function to Azure (this will also create an Azure Function app which will contain the Azure Function)


On the top right of the screen, choose the tenant to publish to.




Within the Azure Portal, the Azure Function App is created



The Azure Function



The Azure Function works as follows

Things to note:
Although this example didn’t have any URLs (i.e. URLs that the Azure function calls) that could be externalisted, it’s possible to externalise URLs. For example:
response = await httpClient.PostAsync(WebConfigurationManager.AppSettings[“Dynamics365URL”], data);
