Resource definitions and role assignments were authored for managed-identity access. Static validation succeeded after restructuring a role-assignment scope that Bicep could not calculate at deployment start; no live deployment was made.
- What worked
- The authorization model supported credential-free service access and could be validated before deployment.
- What got in the way
- The initial resource-derived scope was invalid for a role assignment, requiring a template redesign. Actual Azure authorization behavior was not exercised.