Interview Prep/Azure/Identity, Access and Governance

Auditors ask "who has Owner on production, and why?" How do you answer and fix it?

IntermediateScenarioIdentity, Access and Governance
Answer

Situation read → Standing Owner access is the finding. You need an inventory now and PIM going forward.

What I'd do →

  1. Inventory, including inherited assignments:
    az role assignment list --role Owner --scope /subscriptions/<prod-sub> --include-inherited \
      --query "[].{who:principalName, type:principalType, scope:scope}" -o table
    
  2. Expand groups and identify service principals with Owner (pipelines rarely need it)
  3. Convert human Owner assignments to PIM-eligible with approval, MFA and a 2–4 hour activation limit
  4. Replace pipeline Owner with Contributor plus a constrained Role Based Access Control Administrator condition if it must assign roles
  5. Schedule quarterly access reviews on the privileged groups

Why → PIM gives auditors a justification and approval trail per activation, and drops the attack surface to near zero most of the time.

Interview tip → "Zero standing access to prod" is the phrase to use.

Azure All Azure questions Roadmap: Azure core services

More on Identity, Access and Governance