Why does an App Service Key Vault reference fail when my account can read the secret?
Editorial worked example. The participant profiles, discussion timeline and activity counts are illustrative; they are not a record of a customer incident. Scenario date: Jan 3, 2024. Technical guidance is based on the linked sources and was prepared for this publication.
40 reputation · 1h ago
AI-assisted content · Sources linked below.
In this example, a web app has a system-assigned identity and a versionless Key Vault reference. The administrator can read the secret in the portal, but the app reports an unresolved setting. The vault uses Azure RBAC. The administrator assigned Key Vault Contributor to the app identity and assumed that included secret access. What should be checked before granting broader permissions?
40 reputation · 1h ago
Would granting the same role to the deployment account make a difference?
1,250 reputation · 1h ago
The deployment account and runtime identity are different principals. Assign access to the identity that retrieves the reference; do not broaden the deployer merely to compensate for a runtime failure.