Azure CLI 'config' is not an azure command
This articles has been moved to its new home here: https://benperk.github.io/msdn/2017/2017-02-azure-cli-config-is-not-an-azure-command.html
I was writing this article here where I tested out installing Azure CLI, logging in and some Azure App Service commands and many of the examples I found were using the CONFIG command when configuring an App Service Plan.
I received this error when I execute a command with CONFIG:
error: 'config' is not an azure command. See 'azure help'. The current mode is: are (Azure Resource Manager).
Figure 1, error: 'config' is not an azure command. See 'azure help'.
I looked at the help as suggested using this Azure CLI command:
azure appserviceplan -h
Figure 2, See 'azure help'. how to get some help with the Azure CLI
And sure enough, the CONFIG command no longer or doesn’t exists. Perhaps it got replaced with the SET command. To find that out I checked by issuing the following command:
azure appserviceplan set -h
Figure 3, See 'azure help'. how to get some help with the Azure CLI
And it does include the options I needed to successfully execute the command I was attempting here.