The New Team Member Problem
Picture someone new joining your team. After a period of training and researching, they get a full employee badge: every door, every system, full access. No one checks what they actually need. When something goes wrong six months later, the access log just says it was them.
That same dynamic is showing up in enterprises deploying AI agents on Microsoft 365 today. Agents need to access mailboxes, join groups, and use collaborative features, but they are not human users. The common workaround was repurposing a standard user account for the agent. It worked, but it left a governance gap most IT teams quietly accepted.
Microsoft's answer is now generally available in Microsoft Entra ID, surfaced through Microsoft Graph v1.0. It is a specialized identity subtype built for AI-powered applications that need to function as digital workers.
Why Agent Identity Is Fundamentally Different
The existing identity types in Microsoft Entra ID were never quite right for agent-based automation. Developers have historically had to choose between options that each carry a real compromise.
| Identity Type | Suited For | Core Limitation |
| Human User Account | People | Not designed for automation; creates audit and accountability gaps |
| Service Principal / App Registration | App-to-app access without user context | Cannot access APIs that require idtyp=user token claims |
| Managed Identity | Azure-hosted workloads | Same token limitation as service principal for user-scoped APIs |
The gap in that table is where the real problem lives. Many Microsoft 365 APIs tied to collaborative features like mailboxes and chat specifically require tokens carrying idtyp=user claims. A service principal cannot produce those, so developers fell back on human user accounts for their agents.
That fallback is understandable but risky. A user account has no built-in constraints on what roles it can be assigned or how its credentials are stored. When an agent borrows one, those risks transfer silently.
agentUser closes that gap. It inherits from the user resource in Microsoft Graph, meaning it can receive tokens with idtyp=user claims and satisfy user-scoped API requirements without being a human user.
The Architecture: How It Actually Works
Every agentUser maintains a one-to-one relationship with a parent agent identity, established through the identityParentId property. Authentication flows through the parent's credentials entirely. The agentUser itself has no password and cannot be used for interactive sign-in.
The identityParentId field is not optional and not mutable. It must be set at creation and cannot be cleared afterward, meaning every agentUser in your tenant is permanently traceable to exactly one parent agent identity.
This separation creates a clean division of concerns. The parent identity handles authentication. The agentUser holds organizational context: group memberships, licenses, manager, and accountability relationships. Administrators get a level of control that a repurposed user account simply cannot offer.
It also means deprovisioning is clean. When an agent is no longer needed, you remove a discrete, well-defined identity rather than disabling a shared account and hoping nothing was depending on it.
Security by Design: Four Explicit Constraints
Microsoft was deliberate about the security model here. The constraints on agentUser are enforced at the platform level, not configuration defaults that can be toggled off later.
| Constraint | What It Means in Practice |
| No password authentication | The agentUser cannot sign in interactively. There is no password to phish or expose. |
| No privileged admin role assignments | Privileged directory roles cannot be assigned to an agentUser. |
| Guest-level permission scoping | Default permissions are scoped similarly to guest users, limited unless explicitly expanded. |
| Immutable parent binding | identityParentId is set at creation and cannot be changed. Every action traces back to one parent. |
For decision makers, these constraints mean a reduced blast radius. If an agent misbehaves, the damage is structurally bounded. There are no elevated credentials to abuse, no password to extract, and a clear chain of accountability.
What an agentUser Can and Cannot Do
Before approving agent deployments, both architects and business stakeholders need a clear answer to one question: what can this identity actually access once provisioned?
| Capability | Available |
| Added to Microsoft 365 groups | Yes |
| Assigned licenses (including group-based) | Yes |
| Access mailbox and chat features | Yes |
| Appear in Outlook Global Address List | Configurable via showInAddressList |
| Interactive password sign-in | No |
| Privileged admin role assignment | No |
An HR onboarding agent can be added to relevant groups, assigned an appropriate license, and given access to mailbox and chat features, covering what it needs to function as a digital worker, within clear security boundaries.
Managing the Lifecycle Through Microsoft Graph
The complete lifecycle of an agentUser is managed programmatically through Microsoft Graph: create, read, update, delete, restore from soft-delete, and permanently remove. Three areas of the API surface deserve particular attention before you build.
App role assignments let you grant the agentUser specific application permissions within the tenant, controlling which applications the agent can interact with beyond what licensing unlocks.
Organizational relationships including manager, directReports, and memberOf embed the agentUser into your org chart as a real entity. Assigning a manager means there is a named human accountable for the agent's behavior. Group membership means its access follows the same policies applied to those groups.
Sponsors are the users and groups responsible for the agentUser's privileges in the tenant, expected to keep the agent's information and access current. Per the documentation, this is the relationship that defines internal accountability: who vouches for the agent's access, and who updates it when things change.
The Accountability Layer That Makes This Enterprise-Ready
The more significant shift agentUser enables is not technical, it is organizational. When an agent operates under a repurposed human account, accountability is diffuse. When it operates as a provisioned agentUser with a named manager and defined sponsors, accountability is explicit and auditable.
That distinction matters in regulated industries where access reviews are mandatory. It matters when an audit asks why an agent accessed a sensitive document outside business hours. And it matters operationally when decommissioning: you delete a discrete identity with a complete relationship map, not a shared account with unknown dependencies.
The agentUser model gives enterprises a framework that mirrors how they manage contractors. Provision the access, assign a sponsor, define the scope, revoke when done. The same discipline now applies to digital workers.
Where to Go From Here
For IT administrators, the starting point is an inventory of existing automation accounts: service accounts or user accounts currently acting as agents. Each one is a governance gap that agentUser is designed to close. License planning matters early too, since agentUsers consume licenses the same way human users do, including through group-based assignment.
For developers and solution builders, the Microsoft Graph v1.0 endpoint is stable and ready. The agentUser resource is an open type, allowing additional properties beyond the documented set. Get identityParentId right at creation since it cannot be modified afterward.
As AI agents become more common in enterprise operations, identity and governance will matter as much as capability. An agent that cannot be audited, scoped, or held accountable is a liability regardless of what it can do. agentUser is Microsoft's answer to that problem, and it is available today.
The new team member problem now has a proper framework. The question is whether your current agent deployments are already creating the governance debt this was designed to prevent.
If you are assessing where your organization stands on AI agent governance within the Microsoft ecosystem, this is exactly the kind of work we do at Precio Fishbone. Whether you are starting from scratch or untangling an existing setup, we can help you build something that holds up.
Talk to our consultant