--- title: "Microsoft Copilot Studio" slug: "microsoft-copilot-studio-ap" updated: 2026-12-02T17:15:29Z published: 2026-12-02T17:15:29Z canonical: "docs.plainid.io/microsoft-copilot-studio-ap" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.plainid.io/llms.txt > Use this file to discover all available pages before exploring further. # Microsoft Copilot Studio PlainID integrates with Microsoft Copilot Studio to authorize every tool call that your Copilot Studio agents make, including Model Context Protocol (MCP) tools, connector actions, and knowledge search. Copilot Studio asks PlainID before each tool runs, so your Policies decide what each agent may do for each user. You don't change your agents or their tools, and the same integration discovers the agents, users, and tools in use. ## How the Integration Works The integration uses Copilot Studio's external threat detection. Before an agent runs a tool, Copilot Studio asks an external endpoint whether the call may proceed. The PlainID Authorizer is that endpoint. It runs as a single container in your own Azure subscription, and it connects to PlainID through a Gateway Integration POP, like the PlainID gateway Authorizers. 1. A user asks a Copilot Studio agent to do something that needs a tool, such as an MCP tool, a connector action, or knowledge search. 2. Before it runs the tool, Copilot Studio sends the tool call to the PlainID Authorizer, with a Microsoft Entra token issued for your app registration. 3. The Authorizer verifies the token, then sends the user, the agent, and the tool to the PlainID Policy Decision Point (PDP). 4. The PDP evaluates your Policies and returns a decision. On Permit, Copilot Studio runs the tool. On Deny, Copilot Studio skips the tool and shows the user a block message in the chat. When the Authorizer can't reach the PDP, it denies the call by default. Copilot Studio waits about one second for each decision. If no decision arrives in time, Copilot Studio applies the environment's **Error behavior**, so keep it set to **Block** to make sure a slow decision never lets a tool run. ## User and Agent Identity For every tool call, PlainID receives two identities in the same request: - **The user:** the Microsoft Entra object ID of the person chatting with the agent. - **The agent:** the agent's Microsoft Entra Agent ID, sent as an additional identity. Your Policies evaluate the user and the agent together, so the decision reflects what this user may do through this agent. See [Identities and Agents](/v1/docs/identities-and-agents-in-the-policy-builder). ## Discovery The same integration reports each agent, user, and tool it sees to the Gateway Integration POP, so they appear in the Platform as soon as they start making requests: - **Agents** appear in the [AI Agent Registry](/v1/docs/agent-registry). - **Tools** appear as agents call them, ready to use in the MCP Controls of the Policy Canvas. This is an activity-based Discovery. See [Activity Discovery](/v1/docs/activity-discovery) for more information. ## Rolling Out in Stages You don't need your Policies ready on day one. The integration moves through three modes, so you confirm the connection and build your inventory before PlainID starts deciding: | Stage | What happens | Use it to | | --- | --- | --- | | Observe | Every tool call is permitted and recorded. | Confirm that Copilot Studio reaches PlainID. | | Discover | Every tool call is permitted, and each agent, user, and tool is reported to PlainID. | Build your inventory, and get the exact agent and tool names for your Policies. | | Enforce | PlainID decides every tool call. | Apply your Policies in production. | ## Requirements - Copilot Studio agents that use generative orchestration. Copilot Studio calls PlainID only for these agents. - An Azure subscription in the same Microsoft Entra tenant as your Copilot Studio agents, to run the Authorizer. - A domain you own, verified in Microsoft Entra ID, for the Authorizer's endpoint. - A Power Platform administrator for each environment you want to protect. - A PlainID Environment and a Scope with a Client ID and Client Secret. - A Gateway Integration POP with **Other Gateway** as the Gateway Vendor, to receive discovery reports. ## Set Up the Integration You deploy one Authorizer per Microsoft Entra tenant, register it in Microsoft Entra ID, and turn it on for each Power Platform environment in the Power Platform admin center. To report discovered agents and tools, you also create a Gateway Integration POP and give the Authorizer the POP's Collector URL and client certificate. See [Configuring Microsoft Copilot Studio](/v1/docs/configuring-microsoft-copilot-studio) for the full steps, and [Gateway Integration POP Setup](/v1/docs/gateway-integration-pop-setup) for the POP. ## Related Articles - [Integration via Agentic Platforms](/v1/docs/integration-via-agentic-platforms) - [Configuring Microsoft Copilot Studio](/v1/docs/configuring-microsoft-copilot-studio) - [Gateway Integration POP Setup](/v1/docs/gateway-integration-pop-setup) - [MCP and Tools](/v1/docs/mcp-policy-builder-controls) - [Activity Discovery](/v1/docs/activity-discovery)