Skip to content

VS Code: App Service configuration check

Used in C6, requirement 5.

Validated on: 2026-10-31 (documentation consistency with C6 requirement 5 and playbook Step 5; no new Azure or application check).

C6’s requirement 5: check, don’t change, the archetype’s App Service configuration. These commands only read Azure Resource Manager, so they work from any computer with az signed in, not only vm-dev01 — except the image tag check, which needs the registry (private, reachable only from vm-dev01).

For C6 requirement 5, use plain Agent, harness Local, and a balanced execution model from the playbook’s Models table. Open C:\src\<your-repo> on vm-dev01. Keep every command read-only.

Check (don't change) the web app's configuration: its app settings, its managed identity, and that identity's role assignments, especially Key Vault Secrets User on the Key Vault. Use az CLI read-only commands. Report what you find; don't point the web app at the new image yet — that's C7.

Use the commands in C6 requirement 5 and the playbook’s Step 5. Those are the single source for the App Service and image checks.

Use the app-service-configuration skill if you want the agent to drive this directly.

  • App settings list KeyVault__VaultUri (App Service writes the : in KeyVault:VaultUri as __) and non-secret endpoints — no secret-bearing connection strings or credentials in plain app settings. APPLICATIONINSIGHTS_CONNECTION_STRING is expected: endpoint metadata, not a secret, because local authentication is disabled.
  • The identity’s role assignments include Key Vault Secrets User on kv-university-<suffix>.
  • Your c6-tagged image is in the registry.
  • The web app is not yet pointed at that image — it would exit on every start, because the database isn’t migrated until C7.