TL;DR
- The agent asks a broker for one tool call and never receives the Microsoft token, so the token stays out of its reach. (How the broker pattern works)
- Each tool gets its own Microsoft permission, a named owner and a risk attribute, with access reviews on a schedule. (Five controls that make it governable)
- Start with owners and risk levels, cut broad permissions next, and agree the kill switch conditions before the first incident. (What to do in the next 30 days)
- The pattern is announced by Okta and not tested here, so put the questions for the vendor to them before you adopt it.
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.
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#
- List every Copilot Studio agent that calls an MCP server or another tool, and name one owner for each.
- Tag each agent with a risk level, starting with agents that write data or trigger payments.
- Check which Microsoft permissions those agents hold today, and cut any grant that covers more tools than the agent uses.
- Set a review date per agent and write down who recertifies it.
- 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#
This post as Markdown · RSS · JSON feed
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