Official Content
  • This documentation is valid for:

The purpose of this article is to explain the necessary steps to create an Azure function app. 

The supported versions are .NET 8 and Java 8, 11, and 17.

Note: In the case of Java, do not compile the GeneXus application using a Java version greater than the one configured in the Function App. Otherwise, the application will throw an error and end with a Timeout exception.

Step 1

Create a new resource in the Azure portal.

image_2020129152425_1_png

Step 2

Select Function App:

image_2020129152537_1_png

Step 3

Complete the required data:

Step 4

Select the Operating System (it can be Windows or Linux) in the "Hosting" tab.

image_2020129153112_1_png

Step 5

After going through the following tabs, press the "create" button and the following message will be displayed:

image_2020129153642_1_png
 

Note: Check the function settings. They have to be Function Extensions Version = 4, and Functions Worker Runtime = dotnet-isolated for NET applications.

image_2021119101015_1_png
 

Creating a function app using the Azure CLI

As explained in the Azure article, you can create the Function app using commands, for example, on .NET:

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

 

Last update: February 2025 | © GeneXus. All rights reserved. GeneXus Powered by Globant