Getting ready

This recipe requires us to create the Azure Functions (with the V1 runtime) and the SQL Database in the same resource group. If you haven't created these, create them and come back to this recipe to continue. Here are the steps that we will be performing in this recipe:

  1. Creating a function app using Visual Studio 2017 with V1 runtime
  2. Creating a Logical SQL Server and a SQL database
  3. Enabling Managed Service Identity from the portal
  4. Retrieving Managed Service Identity information using the Azure CLI
  5. Allowing SQL Server access to the new Managed Service Identity
  6. Executing the HTTP trigger and testing