Microsoft is treating AI agents like insider-risk identities

An AI agent may be useful, compromised or simply wrong while using legitimate access. Microsoft argues that every enterprise agent needs its own identity, limited permissions and controls that can change while it works.
Microsoft logo on a smartphone beside an illuminated artificial intelligence chip

An AI agent may be useful, compromised or simply wrong while using legitimate access. Microsoft argues that every enterprise agent needs its own identity, limited permissions and controls that can change while it works.

An AI agent does not need to be malicious to behave like a dangerous insider.

It may have access to email, files, databases and internal tools. It may make a mistake, follow a hidden instruction or continue working after its context changes.

Because the agent is using approved credentials, conventional security tools may see valid access rather than an attack.

Microsoft calls this problem the agentic insider.

Its proposed response is to treat every agent as a distinct identity whose permissions, risk and runtime can be monitored and changed continuously.

Why agents create insider risk

Traditional software usually follows paths written by developers.

An agent can select tools, plan several steps and adapt its behaviour while working. That flexibility makes it useful. It also makes its future actions harder to predict.

The risk comes from capability plus access.

An expense agent may be allowed to read claims and approve routine payments. If it encounters a malicious instruction hidden in a document, it could attempt an unrelated action with the same permissions.

The agent has not necessarily been fully compromised. Its behaviour has drifted away from the user’s intent.

The first rule: give the agent its own identity

An agent should not simply inherit the complete identity of the employee using it.

When people and agents share one identity, administrators cannot clearly answer:

  • who performed an action;
  • which permissions the agent actually needed;
  • whether access should end when the task ends;
  • which agent must be disabled after an incident; or
  • whether a human directly approved a consequential step.

A separate, verifiable identity creates a place to attach permissions, policies, ownership and audit records.

It also prevents an agent from silently receiving every privilege its sponsoring employee has accumulated.

Start with no permissions

Microsoft’s strongest recommendation is familiar: least privilege.

An agent should begin with no authority. It should receive only the access needed for the approved task and only for the time required.

The organisation’s policies should also prevent an agent from gaining authority that its user does not possess.

For higher-impact actions, the system can require verified human approval.

This is safer than giving a general agent permanent access to a user’s inbox, cloud account and internal tools.

Control the action space

Permissions are not only about files and applications.

An agent may connect to APIs, Model Context Protocol servers, other agents and local tools. Every connection expands what it can observe or change.

Security teams need to control:

  • which tools the agent can call;
  • which network destinations it can reach;
  • which data can enter or leave;
  • whether external content is trusted;
  • which other agents it can contact; and
  • which actions require approval.

Allowing an agent to discover and call any available tool is convenient during a demo and dangerous in production.

Put the runtime inside a boundary

Microsoft recommends running the model and its harness in a controlled environment rather than giving them unrestricted access to a device.

A sandbox or execution container can limit resources and give monitoring systems an enforcement point outside the agent’s control.

That last detail matters.

The model should not be able to disable the system that watches it. Security decisions must remain outside the intelligence being supervised.

Risk can change during one task

Static approval at the beginning is not enough.

An agent may start with a valid task and later encounter untrusted data. Its configuration has not changed, but its current risk has.

Microsoft calls its approach Dynamic Agent Risk. It combines signals from identity, data, endpoints, cloud systems, networks, runtime behaviour and the agent’s own activity.

The goal is to decide what the agent should be allowed to do at that moment.

Response should be graduated

A security system does not always need to stop the agent completely.

Depending on the risk, it may:

  • preserve read access but block writes;
  • reduce the set of available tools;
  • restrict sensitive data;
  • narrow network paths;
  • shorten or revoke temporary access;
  • require human approval;
  • isolate the runtime; or
  • stop execution.

This graduated response may preserve useful work while preventing a risky action.

Microsoft describes Dynamic Conditional Access for agents as the enforcement layer that applies these changes.

What Guardian Agents are supposed to do

Large companies may eventually operate thousands of agents.

Human security teams cannot manually review every action in real time. Microsoft therefore proposes Guardian Agents that investigate changing risk, coordinate containment and help update policy.

People still define objectives, approval boundaries and delegation rules.

The security agents perform the continuous work that would not scale manually.

This idea creates its own governance question: the agents supervising other agents also need constrained authority, transparent actions and human oversight.

A practical checklist for organisations

Before connecting an agent to business systems, record:

  1. Owner: Which person or team is accountable for it?
  2. Purpose: What exact task is it allowed to perform?
  3. Identity: Does it have a unique, revocable identity?
  4. Permissions: What can it read, change, send or approve?
  5. Duration: When does access expire?
  6. Tools: Which APIs, MCP servers and agents can it call?
  7. Data: Which information can enter or leave the workflow?
  8. Runtime: Is it isolated from the user’s full device and credentials?
  9. Approvals: Which actions always require a person?
  10. Logs: Can investigators reconstruct every important action?
  11. Kill path: Can the organisation quickly restrict or stop it?
  12. Evaluation: Has it been tested against prompt injection and unexpected inputs?

If these questions cannot be answered, the agent is not ready for broad access.

What smaller teams can do now

You do not need Microsoft’s complete security stack to apply the main principles.

Smaller organisations can:

  • create separate service identities for agents;
  • avoid sharing personal API tokens;
  • issue short-lived credentials;
  • allowlist tools and destinations;
  • require approval for payments, deletion and external communication;
  • run agents in isolated environments;
  • log tool calls and important decisions; and
  • review access when the workflow changes.

The most important change is conceptual. An agent is not only a feature inside an application. It is an actor with access that must be governed.

The limitation in Microsoft’s argument

Microsoft is describing a security model while also selling products that support it.

Dynamic Permissions, Dynamic Agent Risk, Dynamic Conditional Access, Guardian Agents and Project Perception are part of Microsoft’s commercial security direction.

The architectural advice can still be useful. Buyers should separate the general principles from product claims and confirm availability, interoperability and effectiveness in their own environment.

They should also ask whether third-party agents receive the same protection as Microsoft-built agents.

The bottom line

AI agents combine legitimate access with behaviour that can change at machine speed.

That makes them closer to insider-risk identities than ordinary software features.

The practical response is clear: give every agent a separate identity, start with no permissions, limit its tools, isolate its runtime and change its authority when risk changes.

Trusting the model is not a security boundary.

 

Evidence note: Official Microsoft security architecture and research. No hands-on product testing.

Sources

  1. Microsoft Security: Agents are your newest insiders
  2. Microsoft: Securing the agentic insider
  3. Microsoft Security: Least privilege for AI agents
Previous Article

Oracle wants AI rules enforced in the database, not left to every agent

Next Article

BYOG 2026 produced 265 games in 72 hours. India's next challenge starts after the jam