HowTo: Create an Azure function app

Official Content

Since GeneXus 17 Upgrade 8 the supported functions apps are Net 6, Runtime version v4.

First, in the Azure portal, create a new resource.

image_2020129152425_1_png

Select Function App:

image_2020129152537_1_png

 

Complete the required data:

  • Function App name
  • Resource Group
  • Runtime Stack (it must be .Net6)

image_2021119101438_1_png

In the "Hosting" tab, select the Operating System (it can be any of them Windows, or Linux).

image_2020129153112_1_png

After going through the following tabs, just press the "create" button, and the following will show:

image_2020129153642_1_png

 

 Important Note: Check at the configuration of the function, that Function Extensions Version = 4, and Functions Worker Runtime = dotnet-isolated.

 

image_2021119101015_1_png

 

Creating a function app using the Azure CLI

As explained in the Azure doc, you can create the Function app using commands, for example:

 
az group create --name $resourceGroupName --location $location
az storage account create --name $storageAccountName --location $location --resource-group $resourceGroupName --sku Standard_LRS
az functionapp create --name $functionName --storage-account $storageAccountName --consumption-plan-location $region --resource-group $resourceGroupName  --os-type Linux --runtime dotnet-isolated --functions-version 4