Azure CLI and Resources
Useful Azure CLI commands
Section titled “Useful Azure CLI commands”In these commands, <your-app-name> is the name of the App Store App Service. The deployment template names it apprequest-<environment>-<unique suffix>, for example apprequest-prod- followed by a generated suffix.
View App Service configuration
az webapp config show \ --name <your-app-name> \ --resource-group <your-resource-group>Restart App Service
az webapp restart \ --name <your-app-name> \ --resource-group <your-resource-group>Stop and start App Service
After you grant Microsoft Graph permissions to the App Service’s managed identity, stop and then start the App Service. A restart doesn’t clear the managed identity’s cached Microsoft Graph token; stopping and starting does.
az webapp stop \ --name <your-app-name> \ --resource-group <your-resource-group>
az webapp start \ --name <your-app-name> \ --resource-group <your-resource-group>View environment variables
az webapp config appsettings list \ --name <your-app-name> \ --resource-group <your-resource-group>View connection strings
App Store keeps its connection strings in application settings that point to Key Vault, not in the App Service’s connection strings. Look for ConnectionStrings__DefaultConnection (the database) and AzureStorage__ConnectionString (storage):
az webapp config appsettings list \ --name <your-app-name> \ --resource-group <your-resource-group> \ --query "[?name=='ConnectionStrings__DefaultConnection' || name=='AzureStorage__ConnectionString']"Check App Service health
The App Service state only says whether it’s running or stopped:
az webapp show \ --name <your-app-name> \ --resource-group <your-resource-group> \ --query "state"To check App Store itself, call its health endpoint. It doesn’t need sign-in, and it reports the database and configuration checks. The overall status is Degraded when deployment settings are missing. Only a signed-in person sees the description of each check.
curl https://<your-app-store-host>/healthRelated resources
Section titled “Related resources”- Admin guide: complete administration documentation
- Setup guide: deployment and configuration
- Security overview: security model and compliance
- Architecture: design choices and data flows