Home > Net >  Azure cli - List all webapps where https-only is disabled
Azure cli - List all webapps where https-only is disabled

Time:03-03

I am using azure cli to fetch all the webapps

az webapp list --query '[].{Name:name}'

It's working fine but I want to query so that it only returns webapps whose "https only" setting is disabled. How can I query that? I tried az webapp list --query '[?httpsonly==false].{Name:name}' but that didn't work.

CodePudding user response:

You can az cli output

This seems to show the query works.

  • Related