question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"azure appservice [plan|web]" commands return no data

See original GitHub issue

Environment 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:closed
  • Created 6 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
yugangw-msftcommented, Apr 12, 2017

@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.

0reactions
yugangw-msftcommented, Apr 13, 2017

fixed by #2758

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot no data in Application Insights for .NET - Azure
Review troubleshooting steps to try when you're not seeing any data in Azure Application Insights for .NET and .NET Core.
Read more >
c# - Azure App Service is not returning data from connected ...
The web application is connected to Azure SQL Database and it's job is to return some data when parameters passed through API. Locally...
Read more >
Azure App Service | Microsoft Press Store
Azure App Service is a compute service within Azure that enables you to host web applications, mobile application back ends, and REST APIs....
Read more >
Microsoft Azure - Working with Files in Azure App Service
We can go to the Azure Portal and select my App Services and click on the console under Development Tools to have a...
Read more >
Microsoft Azure App Service Extension - Datadog Docs
If your apps are identified as being misconfigured in the Serverless View and/or you are missing corresponding metrics for your traces · Go...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found