Published On : 08 Nov 2018
Today : 3 Total : 285
In this article we will look into, how to change version of Function App using Azure CLI, to setup Azure CLI please refer my previous article How to access Azure Function App settings from Azure CLI. Once Azure CLI is setup, please follow below steps to change the version.
In my azure portal, I have function app called my-azure-fn which has version 2.0 and I need to degrade the version to v1.0.11959.0
Sometimes, it’s not possible to degrade version from the portal. The alternative way is, we can update the version from Azure CLI command prompt.
Run the below command and mention you function app name, resource name and version that needs to be updated.
az functionapp config appsettings set --name <fun-app-name> --resource-group <resource-name> --settings FUNCTIONS_EXTENSION_VERSION=<version-num>
After successful execution of above command, my-azure-fn app version has been changed to 1.0.11959.0