Skip to content

Azure CLI and resources

Azure CLI and resources

View App Service configuration

Terminal window
az webapp config show \
--name <your-app-name> \
--resource-group <your-resource-group>

Restart App Service

Terminal window
az webapp restart \
--name <your-app-name> \
--resource-group <your-resource-group>

View environment variables

Terminal window
az webapp config appsettings list \
--name <your-app-name> \
--resource-group <your-resource-group>

View connection strings

Terminal window
az webapp config connection-string list \
--name <your-app-name> \
--resource-group <your-resource-group>

Check App Service health

Terminal window
az webapp show \
--name <your-app-name> \
--resource-group <your-resource-group> \
--query "state"