Interview Prep/Azure/Identity, Access and Governance

A developer's laptop was stolen. They had `az login` sessions and kubeconfigs. What do you do?

AdvancedScenarioIdentity, Access and Governance
Answer

Situation read → Revoke sessions centrally, and check whether any static credentials were on the device.

What I'd do →

  1. Revoke the user's refresh tokens: az rest --method post --url https://graph.microsoft.com/v1.0/users/<id>/revokeSignInSessions
  2. Reset password, re-register MFA, mark device lost in Intune
  3. If AKS clusters still have local accounts, rotate cluster certificates: az aks rotate-certs -g rg -n aks (causes API downtime; plan it)
  4. Rotate any secrets the user had locally (storage keys, SP secrets)
  5. Review sign-in and Activity Logs for activity after the theft time

Why → Entra-backed access dies with the session; static credentials (admin kubeconfig, keys) don't. That is the argument for disabling local accounts.

Interview tip → Use this to argue for --disable-local-accounts on every cluster.

Azure All Azure questions Roadmap: Azure core services

More on Identity, Access and Governance