iamops.dev Search
Argo on X RSS feed
ENEnglish

News Explainer · 5 min Security leaders

Identity and risk owners who decide how AI agents built on Microsoft Copilot Studio may call business tools. Leaders can read the first section and the 30-day plan.

Governing Copilot Studio tool calls: keep the Microsoft token away from the agent

Okta's pattern brokers Microsoft Copilot Studio tool calls so the agent never holds the Entra token, with owners, risk tags, reviews and a kill switch.

Headline card: Okta brokers each Microsoft Copilot Studio tool call, so the agent never holds the Entra token.
TL;DRThe agent asks a broker for one tool call and never receives the…

If an agent holds a Microsoft token, the agent decides which tools that token reaches, and your logs see only the agent. Okta’s pattern moves the token out of the agent, so each tool call goes through a broker that your team can assign an owner to, tag with a risk level, review and switch off. The decision for your team is whether Copilot Studio agents reach MCP servers directly or through a broker you govern.

Why the agent should not hold the token#

A token in the agent is a credential the agent can reuse for anything its scopes allow. A prompt can change what the agent tries to do, but it cannot shrink the token it already carries. Keeping the token with the broker means the agent’s reach is set by policy you can read and change, not by whatever it was handed at setup.

How the broker pattern works#

The agent asks for one tool. The broker checks who owns the agent, what risk level it carries and whether this tool is allowed for it. Only then does the broker obtain a Microsoft token scoped to that tool, make the call and return the result. A tool call that fails a check, or hits the kill switch, is refused before it reaches the MCP server.

One tool call from a Copilot Studio agent through an Okta broker to Microsoft Entra and an MCP server, returning a result without the token.
The token stays in the broker. The agent gets the result of the call, never the Microsoft token.

Five controls that make it governable#

  • Per-tool Microsoft permissions. Each tool gets only the permission it needs, not one broad grant for the whole agent.
  • A named owner. Every agent has one accountable person in the directory, who answers for what the agent may call.
  • A risk attribute. A label on the agent decides which tools it may reach. Ask the vendor which levels exist and who sets them.
  • Access reviews. The owner and the identity team recertify the tool list on a schedule.
  • An automated kill switch. A failed review, a risk change or another trigger you define revokes the agent’s access without waiting for a person.

The controls only work together. An owner without a review date is a name on a form, and a kill switch without a risk attribute has nothing to act on.

What to do in the next 30 days#

  1. List every Copilot Studio agent that calls an MCP server or another tool, and name one owner for each.
  2. Tag each agent with a risk level, starting with agents that write data or trigger payments.
  3. Check which Microsoft permissions those agents hold today, and cut any grant that covers more tools than the agent uses.
  4. Set a review date per agent and write down who recertifies it.
  5. Agree the kill switch conditions with the platform team before the first incident, not during it.

Questions for the team and the vendor#

  • Where does the Microsoft token live, and can any agent code or prompt read it?
  • Which tool permissions does each agent hold, and who approved the last change?
  • Who sets the risk attribute, and how is a change to it logged?
  • How often are access reviews run, and what happens to a tool that fails review?
  • How quickly does the kill switch stop calls that are already in flight?
  • What is logged for each tool call, and who can read that log?

Evidence level#

Announced. The pattern comes from Okta’s blog post in the sources, which I read in full on 25 November 2026. The post is a step-by-step setup guide for Okta Agent Gateway, and the controls above match it. I have not tested the pattern against a Copilot Studio tenant. Treat the controls as a design to check in your own environment, not as proof that they work.

For the token side of this problem, read the Entra on-behalf-of agent middle tier and an MCP server that refuses token passthrough. For the business case, read why identity matters when your company starts using AI agents.

Sources#

Discuss this on X or LinkedIn

Follow on X

New posts by email

One email a week with new posts and labs. Unsubscribe anytime.

Your address is stored with Kit, which sends the emails. Details

Related research and labs

Type to search every page. Use the arrow keys to move through the results.

    Open the full search page