In this comprehensive article, I’ll walk you through everything you need to know about Functions_Extension_Version – from basic concepts to advanced implementation strategies.
Functions_Extension_Version
What is FUNCTIONS_EXTENSION_VERSION?
Functions_Extension_Version is an application setting that determines which version of the Azure Functions runtime your function app uses. This setting is crucial because it:
- Controls which language features are available
- Determines API compatibility
- Affects performance characteristics
- Influences the security posture
This setting lets you target specific runtime versions for each function app in your environment.
By using this settings, you can target a particular version for your Azure Function App. You can also use it to update the version of your Azure Function to a previous or current version.
Available Runtime Versions
Below are the major Azure Functions runtime versions
| Version | Status | Key Features | Support Status |
|---|---|---|---|
| ~4 | Current | Enhanced performance, expanded language support | Fully supported |
| ~3 | Legacy | .NET Core 3.1 support | End of extended support |
| ~2 | Legacy | .NET Core 2.x support | End of extended support |
| ~1 | Legacy | .NET Framework support | End of extended support |
How to Check Your Current Runtime Version
Before making changes, let’s verify which runtime version our function app is using
Approach-1 Using Azure Portal
- Navigate to your function app in the Azure portal
- Select “Configuration” from the left menu
- Look for the
FUNCTIONS_EXTENSION_VERSIONSetting under Application Settings as shown in the screenshot below.

Approach-2 Using Azure CLI
We can execute the following Azure CLI command for the same purpose
az functionapp config appsettings list --name <FUNCTION_APP_NAME> --resource-group <RESOURCE_GROUP_NAME> --query "[?name=='FUNCTIONS_EXTENSION_VERSION']"Setting the Runtime Version
There are several methods to set or update your Azure FUNCTIONS_EXTENSION_VERSION. Let’s explore each approach
Approach 1: Using Azure Portal
- Log in to the Azure Portal (https://portal.azure.com/)
- Navigate to the Azure Function App, click on the configuration from the left navigation, and then click FUNCTIONS_EXTENSION_VERSION.

3. Once you click on that, you can change the FUNCTIONS_EXTENSION_VERSION value and then click on the OK button as shown below

4. Next, click the Save button on the Application settings page to apply the changes.
Approach 2: Using PowerShell
We can also use the below Azure PowerShell command to update or change the Azure function functions_extension_version.
Update-AzFunctionAppSetting -Name <FUNCTION_APP_NAME> -ResourceGroupName <RESOURCE_GROUP_NAME> -AppSetting @{"FUNCTIONS_EXTENSION_VERSION" = "~4"}Example
I am executing the Azure PowerShell command below to update the Azure Functions extension version to “~4”.
Update-AzFunctionAppSetting -Name azurelessons -ResourceGroupName myresgrp -AppSetting @{"FUNCTIONS_EXTENSION_VERSION" = "~4"}After executing the above query, I got the expected output as per the screenshot below.

Approach 3: Using Azure CLI
We can also execute the Azure CLI command for the same purpose.
az functionapp config appsettings set --name <FUNCTION_APP_NAME> --resource-group <RESOURCE_GROUP_NAME> --settings FUNCTIONS_EXTENSION_VERSION="~4"Ex