"azure appservice [plan|web]" commands return no data
See original GitHub issueEnvironment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here: pip (python 3.6.0)
CLI Version: What version of the CLI and modules are installed? (Use az --version
)
Answer here: 2.0.2
OS Version: What OS and version are you using?
Answer here: Windows 10
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here: cmd.exe
Description
The command az appservice plan list
returns an empty json array, even though I have App Services visible in the portal. Similar problem with az appservice web list
. az appservice plan show -g MyGroup -n myname
returns nothing at all, but typing an invalid name returns an error.
I successfully created a plan via the command line, but it does not appear in the list (though it appears in the portal):
> az appservice plan create -n TestCLI -g MyResourceGroup
=> {
"adminSiteName": null,
"appServicePlanName": "TestCLI",
"geoRegion": "South Central US",
"hostingEnvironmentProfile": null,
...
}
> az appservice plan list -g MyResourceGroup
=> []
However it is listed in azure appserviceplan list --resource-group MyResourceGroup
Also, az webservice web list
returns nothing. Not sure if that’s related.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (6 by maintainers)
Top GitHub Comments
@mikebridge, got it. I misunderstood you meant a more generic issue on linux. And yep, this is expected for the same command failing in linux as this is a service side issue, which I will forward to webapp team.
fixed by #2758