Choose an identity for a person, partner or workload
Match employees, guests, synchronized users and unattended services to appropriate identities.
Choose an identity for a person, partner or workload
Work through the decision
An Azure job reads a key vault nightly. An engineer proposes storing her own password in the job. Meanwhile, a partner analyst needs to review a dashboard for one month. How should the identity designs differ?
Check your reasoning
Use a managed identity when the job runs on a supported Azure resource and authorize it only for its lookup. Azure maintains the credential. Give the analyst a separately governed external identity and a time-bound entitlement. The job and the analyst have different owners, lifecycles and audit needs.
Compare the choices
- Managed identity
- Azure manages credentials for a workload. A system-assigned identity shares a resource's lifecycle. A user-assigned identity is a separate resource.
- Service principal
- A tenant-local representation of an application or service can receive permissions. A managed identity is a special service principal with credentials managed by Azure.
- External guest identity
- Represent an external human collaborator in the resource tenant. Review access and remove it when the engagement ends.
- Hybrid identity
- Connect an on-premises identity environment with Entra ID so staff can use a consistent identity across cloud and local resources.
Choose a lifecycle before a credential
Two temporary compute jobs need separate, short-lived identities. A system-assigned identity disappears with each resource. By contrast, a user-assigned managed identity can outlive a compute replacement. Sharing one also shares its authorized access, so review the blast radius before attaching it to both jobs.
Practice the guide skills
- Describe how Entra ID provides a cloud directory and sign-in for users, applications and connected resources. Watch 18:07
- Compare employees, external guests, devices and workloads. Trace an app registration to its service principal and decide when a managed identity removes credential management. Watch 20:12
- Follow one employee identity from on-premises AD DS into the cloud tenant. Document which system owns changes and how offboarding propagates. Watch 22:09
Official objectives for this lesson
Related lesson · Verify identity and limit the blast radius
Choose an identity for a person, partner or workload quiz
Answer 3 questions. Check each answer for an explanation.