Azure Functions Access to Restricted Storage Accounts
With requirements for additional security, many customers have started enforcing network restrictions on their Azure storage accounts. This in turn can cause major issues with Azure Functions without the proper configuration, as Azure functions rely heavily on Azure storage for functionality. Background Azure storage There are two core concepts for Azure Functions related to Azure…
Application Initialization with Azure Functions
TL/DR You can warm up a function app using an applicationhost.config transform with an appliationhost.xdt. This ONLY works with Windows as application initialization is a concept built into IIS. I’m not aware of the same feature set available in Linux. Skip to the config section for the transformation setup. Background A couple months ago I…
Application Insights Integration with Function Apps in Azure Government or other Clouds
The use of the APPLICATIONINSIGHTS_CONNECTION_STRING in Azure Functions is now built into the runtime. Note my examples are for Azure US Government cloud but this can ultimately be used in any cloud with the correct endpoints specified. ********Update 4/28/2020********The Application Insights product team updated the certificate so you can now use the following connection string…
ARM Template for Event Grid integration with a new Azure Function
TL/DR – Link to the template: https://github.com/jcbrooks92/EventGridAzureFunctionARMTemplate/tree/master Creating an ARM template with integration between an Azure function and Event Grid requires the general function template, Event Grid resource and lastly a system key from the Azure function that is used to authenticate the validation call from Event Grid. Update 2/12/2020There has been a recent update…
ARM Template for Event Grid integration with an Existing Azure Function
Recently the Azure Functions Team released a set of ARM APIs related to retrieving information about your function app such as the function keys, host key, functions deployed to the function app, and the system keys. The system keys are required to wire up Event Grid with your function app since Event Grid has to…
Accessing Azure Functions on ILB ASEs in the Azure Portal
There are two versions of ILB ASEs, one where a custom domain must be provided with a certificate and the newer version that is created with the .appserviceenvrionment.net domain (default configuration after May 2019 unless you specify an older version of the API). If you have an ASE that has the .appserviceenvironment.net domain you will…
Automate the Creation of an Azure Function with an Event Grid Subscription in PowerShell
****This blog is out of date due to the new Eventgrid and functions integrations****** My colleague, Sangita Bhor, was recently working on a case where we needed to automate the deployment of an Azure Function and Event Grid Subscription. The difficulty here is that there isn’t an API from functions to get the web hook…