/
How to set the runtime version ?
How to set the runtime version ?
A function app runs on a specific version of the Azure Functions runtime. There have been four major versions: 4.x, 3.x, 2.x, and 1.x. By default, function apps are created in version 4.x of the runtime.
Update via Azure Portal
We need to restart the Function App after changing the runtime.
Update via Powershell
--Check the runtime
Get-AzFunctionAppSetting -Name "<FUNCTION_APP>" -ResourceGroupName "<RESOURCE_GROUP>"
--Update the runtime
Update-AzFunctionAppSetting -Name "<FUNCTION_APP>" -ResourceGroupName "<RESOURCE_GROUP>" -AppSetting @{"FUNCTIONS_EXTENSION_VERSION" = "<VERSION>"} -Force
, multiple selections available,