Exercise - Connect cloud-native components - unable to access Settings => Configuration => Applicaiton Settings on final step in tutorial

Tim McKiernan 0 Reputation points
2024-06-25T22:26:13.8166667+00:00

I'm on azure learning Create cloud native apps with Azure and open-source software / Orchestrate containers for cloud-native apps with AKS

currently in activity 7 of 9 and I've successfully built out a container registry, azure subscription, k8s cluster and deployed the express app from the tutorial.

However the last step involves navigating to my newly created resource / configuration / application settings

The current GUI does not seem to have any application setting I can access. Can this be done via CLI somehow?

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,206 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AmaranS 3,255 Reputation points Microsoft Vendor
    2024-06-26T06:46:17.6366667+00:00

    Hi Tim McKiernan,

    Thank you for reaching out to us on Microsoft Q&A forum.

    Yes, You can configure application settings for your Azure Web App using the Azure CLI.  

    Here’s a detailed step-by-step guide:

    1.Open the Azure Cloud Shell.

    2.Set the name of your web app:

    WEBAPPNAME=<webapp-name> 
    
    

    3.Set the resource group name:

    RESOURCEGROUP=<resource-group-name>
    

    4.Configure the application setting for your web app:

    az webapp config appsettings set --name $WEBAPPNAME --resource-group $RESOURCEGROUP --settings SOCKET_SERVER_URL=<aksapp.io FQDN URL>
    

     

    Make sure to replace <webapp-name>, <resource-group-name>, and <aksapp.io FQDN URL> with the actual values you used in your setup.

    This will set the SOCKET_SERVER_URL application setting for your web app using the Azure CLI. 

    Additional information:

    https://learn.microsoft.com/en-us/cli/azure/webapp/config/appsettings?view=azure-cli-latest

    https://learn.microsoft.com/en-us/azure/app-service/configure-common?tabs=portal

    Please don't hesitate to reach out to us if you have any other queries.

    If you found the information helpful, we would greatly appreciate it if you could acknowledge it by selecting the Accept Answer & Upvote options.