Interview Prep/Azure/Identity, Access and Governance

An Azure Policy in Deny mode suddenly blocks an urgent production fix. What do you do?

IntermediateScenarioIdentity, Access and Governance
Answer

Situation read → Don't delete the assignment. Create a narrow, expiring exemption and fix the root cause.

What I'd do →

  1. Read the policy assignment ID from the RequestDisallowedByPolicy error
  2. Create an exemption scoped to the single resource or RG with --expires-on a day or two out
  3. Ship the fix, then decide whether the policy or the deployment needs changing
  4. Feed it back: policy authors add the case to tests; app team adjusts templates

Why → Exemptions keep the audit trail and expire on their own; deleted assignments tend to stay deleted.

Interview tip → Mention --expires-on; it shows you've done this under pressure before.

Azure All Azure questions Roadmap: Azure core services

More on Identity, Access and Governance