Agent 365: Registry and Access · 2 of 5
Governing Agent Access (Least Privilege)
Least privilege for agents means narrow, temporary, owned access, enforced by the platform and checked every time an agent acts.
An artificial intelligence (AI) agent should not receive broad access because it might be useful someday. It should receive only the permissions needed for its current work, for only as long as that work requires, with a human accountable for the outcome. That old security idea, least privilege, becomes sharper with agents because they work quickly, connect across systems, and do not slow down when they are wrong.
Least privilege matters more when the actor is fast
Least privilege is the practice of giving an actor only the access its task requires and nothing more. A payroll clerk may need payroll records, not security settings. A support agent may need a ticketing queue, not the whole customer database.
For human users, excessive access is dangerous. For agents, it can be worse because the pace is different. A person with too much access may make a bad change, pause, ask a colleague, or get noticed. An agent can act across many records, tools, and services in seconds. If it is misconfigured, tricked by a prompt, or connected to the wrong workflow, damage can spread before a human has time to intervene.
Security teams often call this possible damage the blast radius. The simplest way to reduce the blast radius is to reduce the set of things the agent can touch. Least privilege is not administrative neatness. It is the main control that keeps a fast non-human actor from becoming a fast enterprise-wide problem.
The platform should enforce the ceiling
Good policy says, do not grant powerful permissions to agents unless they are truly needed. Better design prevents the most dangerous grants in the first place. In the Microsoft model, Microsoft Entra ID, Microsoft's identity and access service, places limits on what agent identities can receive.
Microsoft states that Entra blocks agents from being assigned many high-privilege roles and permissions. It also prevents users and administrators from consenting to those powerful permissions on an agent's behalf. That distinction matters. The rule is not only written in a governance document. The identity platform refuses the grant.
This is least privilege by design. Some roles assume a careful human administrator who understands the broader consequences of changing users, tenant settings, or security controls. Giving an autonomous or semi-autonomous agent that same scope would create a level of risk most organizations should not accept. A platform-level ceiling makes the safest answer the default answer.
Access should expire when the work is done
Narrow access is not enough if it lasts forever. Many security failures start as reasonable exceptions that nobody removes. A project ends, a workflow changes, an integration is retired, but the permission remains. Months later, that forgotten access becomes an open door.
Agent governance treats access as temporary by default. An agent may need a repository, mailbox, data source, or business application for a defined purpose. When that purpose ends, its access should be reviewed, reduced, or removed.
The same identity governance practices used for people can apply to agents: lifecycle management, access assignment, access reviews, and compliance reporting. The goal is simple: an agent's permissions should shrink as its job narrows, and disappear when the job no longer exists.
Every agent needs accountable humans
Access governance fails when permissions belong to nobody. Agents make that failure easier if they are treated as background automation rather than accountable actors. A governed agent needs named human relationships so that reviews, incidents, and changes have somewhere to go.
Microsoft describes separate administrative relationships for agent identities and blueprints. The owner controls the agent identity or blueprint and can change its configuration. The sponsor is the human user or group accountable for the agent and is the point of contact if something goes wrong. The manager administers the agent identity, blueprint, or paired user account day to day.
These distinctions are practical, not ceremonial. The person who configures an agent may not be the executive sponsor who accepts the business risk. The administrator who handles routine changes may not be the person who decides whether the agent should exist. Clear roles keep permissions from becoming anonymous.
- Owner: controls the agent identity or blueprint and can change configuration.
- Sponsor: remains accountable for the agent's purpose, risk, and business outcome.
- Manager: handles day-to-day administration of the identity, blueprint, or paired account.
Guard access at the moment it is used
A permission grant is only the beginning. The harder question is whether a specific request should be allowed right now. An agent may have legitimate access to a resource, but the request can still look wrong because of its timing, source, volume, destination, or pattern of behavior.
Microsoft extends established access protections to agents. Conditional Access for agents applies policy-based checks to requests and can block activity that does not meet the rules. Identity Protection for agents provides real-time risk detection and automated response when behavior appears abnormal. Global Secure Access for agents applies network-level controls based on zero trust, the security model that verifies every connection rather than trusting it because it is inside a familiar network.
Together, these controls move governance from setup time to run time. The platform can weigh the conditions of a request, detect risky behavior, and verify the connection before the agent reaches the resource.
The real decisions leaders and practitioners face
Least privilege becomes real through design choices. Leaders decide the level of risk the organization will accept. Architects decide where agent identities, data boundaries, and approval paths sit. Engineers decide which permissions are requested in code, configuration, connectors, and workflows.
The most useful question is not, can the agent do more? It is, what is the smallest safe set of actions that still produces the business outcome? A customer-service agent may need to summarize a case and draft a reply, but not issue refunds. A finance agent may need to read invoices, but not approve payments. A software engineering agent may need to open a pull request, but not merge to production.
Practitioners should also decide how exceptions work. Some agents will need elevated access for a specific migration, investigation, or operational event. That access should have an owner, an expiry, a reason, and a review path. If nobody can explain why the access exists, it should not exist.
- Define the agent's business purpose before granting any access.
- Map each permission to a task the agent must perform.
- Separate read, write, approval, and administrative actions wherever possible.
- Set review dates or expiry for access that is temporary.
- Require a named sponsor for exceptions and elevated privileges.
Logs make control provable
Prevention is incomplete without evidence. When an agent authenticates, calls a service, reads data, changes a record, or triggers a workflow, the organization needs a record that can be inspected after the fact.
Microsoft notes that agent authentication and actions are logged in Microsoft Entra ID and can be viewed through the Microsoft Entra admin center for audit and compliance purposes. Because each agent acts under its own identity rather than borrowing a person's account, its activity can be attributed to that specific agent.
This closes the governance loop. Least privilege reduces what can go wrong. Time limits reduce how long access can linger. Human accountability tells you who owns the risk. Runtime protections check behavior as it happens. Logs let you prove what occurred, when it occurred, and which agent did it.
Key takeaways
- Least privilege limits an agent to the access its task requires and reduces the blast radius if the agent fails or is abused.
- Microsoft Entra ID enforces important ceilings by blocking many high-privilege roles and permissions for agents and preventing consent to those grants.
- Agent access should be temporary, reviewed, and removed when the work no longer requires it.
- Owners, sponsors, and managers make agent permissions accountable to real people.
- Conditional Access, Identity Protection, and Global Secure Access help evaluate agent activity at the moment of use.
- Logging makes agent behavior attributable, auditable, and suitable for compliance review.
Glossary
- Agent
- A software actor that can use tools, data, or services to perform tasks on behalf of a user or organization.
- Artificial intelligence (AI)
- Computer systems that perform tasks normally associated with human reasoning, language, prediction, or decision support.
- Least privilege
- The security principle of giving an actor only the permissions needed for its task and nothing more.
- Blast radius
- The total scope of damage that could occur if an identity, system, or agent is misused or compromised.
- Microsoft Entra ID
- Microsoft's identity and access service for managing users, applications, agents, authentication, authorization, and related audit records.
- Conditional Access
- A policy system that evaluates the conditions of a request and allows, blocks, or constrains access based on rules and risk.
- Identity Protection
- A risk-detection capability that identifies suspicious identity behavior and can trigger automated responses.
- Global Secure Access
- A network access capability that applies zero-trust controls to connections between identities, devices, agents, and resources.
- Zero trust
- A security model that verifies each request and connection instead of assuming anything is trusted by default.