I am using Azure cloud shell to create a web app. I am opening https://portal.azure.com and click on the cloud shell button to open cloud shell window inside web browser. I am using bash and Azure Cli.
Create a new resource group.
az group create --name webapprg-1602 --location northeurope
Create a new app service plan.
az appservice plan create --name appserviceplan-1602 \ --resource-group webapprg-1602
Create a new web app.
az webapp create --name webapp-1602 --resource-group webapprg-1602 \ --plan appserviceplan-1602
Clean up
az group delete --name webapprg-1602