Q8 Key Vault Domain 4 · 20–25% of exam Priority · Real Exam

An App Service using a Key Vault reference cannot resolve a secret. Which cause is most likely?

  1. A The secret name contains a hyphen
  2. B The app's managed identity lacks Get permission on secrets (access policy or Key Vault Secrets User role) (correct answer)
  3. C Key Vault references are unsupported in App Service
  4. D The secret is too long

Shortcut: Key Vault references resolve using the app's managed identity. Without Get on secrets, via either an access policy or the Key Vault Secrets User RBAC role, resolution fails and the setting stays unresolved.