How to change Azure Function App version using Azure CLI

Ahamed Fazil Buhari
 
Senior Developer
November 8, 2018
 
Rate this article
 
Views
2575

Hi,

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

clip_image002

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>

clip_image004

After successful execution of above command, my-azure-fn app version has been changed to 1.0.11959.0

clip_image006

Happy Coding

Ahamed

Category : Azure, Function APP

Author Info

Ahamed Fazil Buhari
 
Senior Developer
 
Rate this article
 
Ahamed is a Senior Developer and he has very good experience in the field of Microsoft Technologies, especially SharePoint, Azure, M365, SPFx, .NET and client side scripting - JavaScript, TypeScript, ...read more
 

Leave a comment