Create Azure Web App using azure cli
Log in to Azure Portal and click on Cloud Shell in the top right menu. Powershell command prompt will open. Enter in these commands:
// create resource group
$rg = 'mywGroup20240109'
az group create --location eastus --name $rg
// create an app service plan
az appservice plan create --name mywWebApp20240119 --resource-group $rg --sku FREE
// create the webapp
az webapp create --name mywWebAppApp20240119 --resource-group $rg --plan mywWebApp20240119
// list all webapps
az webapp list --output table
Comments
Post a Comment