Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

3.1.2. Types of Identities

💡 First Principle: Not every identity in Microsoft Entra ID represents a human — it also represents software that needs to authenticate and act, and choosing the right identity type matters because each is managed, secured, and governed differently.

Identity TypeRepresentsTypical Use
User identityA human beingEmployees, guests, partners signing in
Service principalAn application or serviceAn app authenticating to call an API
Managed identityAn Azure resource, credential-freeA VM or function calling another Azure service without stored secrets
Agent IDAn AI agent acting on a taskAn autonomous or semi-autonomous AI agent that needs its own governed identity, separate from the human who deployed it

Managed identities are worth pausing on: they let an Azure resource (like a VM or Function App) authenticate to other Azure services without a developer ever storing a password or secret in code — Entra ID manages the credential automatically behind the scenes. Agent ID is a newer identity type reflecting the rise of AI agents that take autonomous action — rather than sharing a human's credentials, an agent gets its own identity, so its actions can be governed, audited, and access-scoped independently.

⚠️ Exam Trap: A service principal and a managed identity are not the same thing — a managed identity is a special, credential-free type of service principal that Azure creates and rotates automatically; not every service principal is a managed identity.

Reflection Question: Why would giving an AI agent its own agent ID, rather than letting it reuse a human employee's credentials, make that agent's actions easier to audit and govern?

See how it connects
Alvin Varughese
Written byAlvin Varughese
Founder18 professional certifications