Interview Prep/Azure/Identity, Access and Governance

A contractor needs temporary read access to logs for two weeks. How do you handle it?

BeginnerScenarioIdentity, Access and Governance
Answer

Situation read → External, time-boxed, read-only. Use B2B guest access with an expiring assignment.

What I'd do →

  1. Invite the contractor as a guest (or via an access package in Entra ID Governance with a 14-day expiry)
  2. Grant Log Analytics Reader on the workspace, or better, a PIM-eligible assignment with an end date
  3. Require MFA for guests through Conditional Access
  4. Set a calendar check and an access review on the guest's group

Why → Time-limited assignments clean themselves up; manual removal is what gets forgotten.

Interview tip → Name "access packages" if the company has Entra ID Governance.

Azure All Azure questions Roadmap: Azure core services

More on Identity, Access and Governance