I use:
az group create -n app0 westus
az appservice plan create -n app0 -g app0 --sku F1 --is-linux
but get Operation returned an invalid status 'Forbidden'
I use:
az group create -n app0 westus
az appservice plan create -n app0 -g app0 --sku F1 --is-linux
but get Operation returned an invalid status 'Forbidden'
Thanks for asking question! Could you please elaborate on what are you trying to achieve, to help you better on this.
If you want to create a new resource group using Azure CLI, try below command
az group create -l westus -n MyResourceGroup
further for creating an app service plan.
az appservice plan create -n Myapp -g MyResourceGroup --sku F1 --is-linux
Check these link for details:
https://docs.microsoft.com/en-US/cli/azure/group?view=azure-cli-latest#az_group_create
II want to create azure app by azure cli.
The first step is to create resource group, it is ok.
I can not finish the second step: to create appservice plan, it always return Operation returned an invalid status 'Forbidden'
Thanks for reply! Which version of Azure CLI you are using? If you are using Bash? Could you please share screenshot to understand better on this.
13 people are following this question.