How to access Azure Function App settings from Azure CLI

Ahamed Fazil Buhari
 
Senior Developer
November 1, 2018
 
Rate this article
 
Views
4140

In this article we will see how to access your Azure portal especially Azure functions app settings from your machine using Azure CLI command prompt. This is one of the easy ways to access and check for the settings in your azure functions and if we need to update or delete, then we can do it from here. If you do not have Azure CLI in your machine, please refer here to install it. Once it is installed please follow the below steps to access your azure function app.

Step 1: Open Azure CLI command prompt and set login. Enter the below command

az login

clip_image002

clip_image004

It will open browser for login,

clip_image005

Once an account is picked, it will redirect to below page and Azure CLI will be connected

clip_image007

If you are behind proxy, then you will get the below error

clip_image009

Step 2: Setting proxy for Azure CLI, to set proxy use the below command before login

set HTTP_PROXY=http://proxyurl

set HTTPS_PROXY=http://proxyurl

clip_image011

Step 3: We successfully logged in to your azure account. Now to check function app settings please run the below command.

az functionapp config appsettings list –name <appName> –resource-group <resourceName>

I have already created azure function from portal and my appName is my-azure-fn and my resource group name also my-azure-fn

clip_image013

clip_image014

Well, here you can see all the basic configuration settings of our function app like version, storage account name and so on. To see more commands for other functionalities like delete, update function app then we can get it from here. In the next article we’ll see how to update Function App version using Azure CLI. Thank you for reading.

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