Manual Azure Function configuration for Application Insights
Your Azure Functions,full stop, need to have telemetry. This post is not here to debate that issue. What I would like to share is a way to stand up your Azure Function, App Service Plan, Storage Account and a Application Insights in a single deployment via Azure Resource Manager.
. . .
When using ARM templates for your deployments you will find your build or your release pipeline in a situation where you need to get some of those generated values from your template or some references from the resources that ARM created in Azure for you.
I have a couple of PowerShell functions that end up getting leveraged in my VSTS Build . . .