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
It will open browser for login,
Once an account is picked, it will redirect to below page and Azure CLI will be connected
If you are behind proxy, then you will get the below error
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
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
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
Leave a comment