Microsoft Copilot Studio
Connect the ISOPlanner MCP server to Microsoft Copilot Studio
An agent you build in Microsoft Copilot Studio can use ISOPlanner as a tool: it reads your risks, controls, tasks, documents and KPIs, and changes them after you confirm, exactly as the ISOPlanner MCP server does for Claude, ChatGPT or Visual Studio Code. What the agent can do, how confirmation works and who may do what is explained in Work with ISOPlanner from your AI assistant (MCP server). This article covers the one thing that is different in Copilot Studio: the sign-in. Copilot Studio cannot register itself with ISOPlanner the way Claude and ChatGPT do, so your organization registers one application of its own in Microsoft Entra and hands its details to the Copilot Studio wizard. An Entra administrator does the first part once; a Copilot Studio maker does the second part per agent.
In short: your Entra administrator makes ISOPlanner's connector known to your directory, registers a small confidential application in your own tenant, gives it the ISOPlanner permission
access_as_userand a client secret, and grants admin consent. The Copilot Studio maker adds the ISOPlanner MCP server as a tool with OAuth 2.0 > Manual, enters the application's id, secret, Microsoft sign-in addresses and the scope, and copies the callback URL Copilot Studio shows back into the application as a redirect URI. Every user of the agent then signs in with their own ISOPlanner account, and ISOPlanner applies that user's permissions.
Two ways into Microsoft Copilot
Copilot Studio is one of two ways to use ISOPlanner with Microsoft Copilot today; pick the one that fits. The ISOPlanner connector makes ISOPlanner a source of Microsoft 365 Copilot itself, in Copilot Chat, Word, Excel, PowerPoint and Outlook, for users with a Microsoft 365 Copilot licence; an administrator adds it once and needs no application of your own (see Use ISOPlanner in Microsoft 365 Copilot (connector)). Copilot Studio, this article, is for makers who build an agent of their own with ISOPlanner as one of its tools, and needs the application your organization registers below. If all you want is ISOPlanner data in Copilot Chat, use the connector.
Before you start
- An ISOPlanner account with a licence, per user. Every person who uses the agent signs in with the Microsoft account they use for ISOPlanner. A person who is not registered in ISOPlanner, or who has no licence, is refused at sign-in. The agent never sees more than that person sees in the web app.
- Microsoft Entra: an administrator. Registering the application needs at least the Application Developer role; granting admin consent needs the Cloud Application Administrator or Application Administrator role (a Global Administrator has both). One person with the administrator role can do all of section 1.
- Copilot Studio: a maker. A Copilot Studio licence and an environment in which custom connectors are allowed. Tools of an agent are Power Platform connectors, so a data policy that blocks custom connectors in an environment blocks this tool too. The default environment is often restricted; ask your Power Platform administrator for a Developer or Sandbox environment if the wizard refuses.
- Your own tenant only. The application you register is for the users of your directory. A guest from another directory cannot use it; that organization registers its own.
- Two values from this article. The ISOPlanner connector's application id
bb06ca68-eccc-4cd8-9c9f-4c30f5205dd7and the server addresshttps://mcp.isoplanner.app/. They are the same for every customer and every region.
1. Register an application in Microsoft Entra (administrator)
Copilot Studio signs users in through an application of your own. The steps below create it. Keep the Application (client) ID, the Directory (tenant) ID and the secret's Value for the maker in section 2; never send the secret by e-mail or chat.
Make ISOPlanner's connector known to your directory
Your application asks for a permission on ISOPlanner's connector. That connector must exist in your directory before Entra can list it, and it does only after someone in your organization has consented to it once. If a colleague has already connected Claude, ChatGPT or another assistant to ISOPlanner, this step is done. Otherwise:
In ISOPlanner, go to Administration > Settings > Integration, open the tab Microsoft 365 Copilot and switch on Make ISOPlanner known to your directory. Microsoft asks you to sign in as an administrator of your directory and to accept; you then return to ISOPlanner and the switch stays on.
The page says that the application needs permission to sign users in and read their basic profile; nothing in ISOPlanner changes. You can check it under Entra ID > Enterprise apps, where ISOPlanner is now listed.
Create the application
- Sign in to the Microsoft Entra admin center and go to Entra ID > App registrations > New registration.
- Fill in the fields of the table below and select Register.
- On the application's Overview page, note the Application (client) ID and the Directory (tenant) ID.
| Field | What to enter |
|---|---|
| Name | A name your colleagues recognize, for example ISOPlanner for Copilot Studio. Users see it on the sign-in page. |
| Supported account types | Single tenant only - <your tenant>: only users of your directory sign in through it. |
| Redirect URI | Leave empty now. Copilot Studio gives you the address in section 2 and you add it in section 3. |
Add the ISOPlanner permission and grant consent
- In the application, select API permissions > Add a permission and open the tab APIs my organization uses.
- Search for
ISOPlannerand select the ISOPlanner connector. If the search shows nothing, paste the application idbb06ca68-eccc-4cd8-9c9f-4c30f5205dd7into the search box; if it is still not listed, the previous subsection was skipped. - Keep Delegated permissions selected, tick access_as_user and select Add permissions. A delegated permission means the agent acts as the signed-in user, never on its own.
- Select Add a permission again, choose Microsoft Graph > Delegated permissions, tick offline_access and select Add permissions. This permission lets Copilot Studio renew a user's sign-in in the background, so people are not asked to sign in every hour.
- Select Grant admin consent for <your tenant> and confirm with Yes. The Status column shows Granted for <your tenant> for every row. Without this step every user gets a consent page or the message Need admin approval.
Create the client secret
- Select Certificates & secrets > Client secrets > New client secret.
- Enter a description (for example the date and
Copilot Studio) and an expiry. Entra allows at most 24 months; Microsoft recommends less than 12. Put the expiry date in your calendar: the agent stops signing users in the day the secret expires (section 6 tells how to renew it without downtime). - Select Add and copy the Value at once. It is shown only on this page and never again; the Secret ID next to it is not the secret.
2. Add the ISOPlanner MCP server to the agent (maker)
- In Copilot Studio, pick the environment in which custom connectors are allowed (the environment picker at the top right), open the agent and go to its Tools page.
- Select Add a tool > New tool, and under Create new select Model Context Protocol. The MCP onboarding wizard opens.
- Fill in the fields of the table below; under authentication choose OAuth 2.0 and the type Manual.
- Select Create. Copilot Studio creates a connector for the server and shows a callback URL (some screens call it the redirect URL), an address under
global.consent.azure-apim.net. Copy it: section 3 needs it exactly as shown. Leave the wizard open at this point.
| Field | What to enter |
|---|---|
| Server name | ISOPlanner |
| Server description | One or two sentences the agent uses to decide when to call ISOPlanner, for example: Reads and updates the organization's ISO management system in ISOPlanner: risks, controls, requirements, tasks, assets, processes, documents, KPIs and audits. |
| Server URL | https://mcp.isoplanner.app/ |
| Authentication | OAuth 2.0, type Manual |
| Client ID | The Application (client) ID of the application from section 1. |
| Client secret | The secret's Value from section 1. |
| Authorization URL | https://login.microsoftonline.com/<Directory (tenant) ID>/oauth2/v2.0/authorize |
| Token URL template | https://login.microsoftonline.com/<Directory (tenant) ID>/oauth2/v2.0/token |
| Refresh URL | The same address as the token URL. |
| Scopes | bb06ca68-eccc-4cd8-9c9f-4c30f5205dd7/access_as_user offline_access (two values, separated by one space) |
Replace <Directory (tenant) ID> in the two addresses with the id from section 1, so that only your directory's users can sign in through this application.
3. Register the callback URL in the application (administrator)
- Back in the Microsoft Entra admin center, open the application from section 1 and select Authentication.
- Select Add Redirect URI, then Web. Do not choose a mobile or desktop platform: Copilot Studio is a confidential client.
- Paste the callback URL from section 2 exactly as Copilot Studio showed it and select Configure (or Save).
Every tool you create in the wizard gets its own callback URL. If you add the ISOPlanner server to a second agent, or create the tool again, add the new address here as well; the old one may stay.
4. Test the connection and the first sign-in (maker)
- Return to the wizard and select Next. The Add tool dialog appears.
- Select Create a new connection. A Microsoft sign-in page opens: sign in with your own ISOPlanner account. If the administrator granted consent in section 1, no permission page follows.
- Select Add to agent. The ISOPlanner tools now appear under the tool.
- Open the agent's test pane and ask something small, for example Which tasks are assigned to me? The agent calls ISOPlanner and answers with your data. Ask for a change (Create a task ...) to see the confirmation step described in the general article.
Every other user of the agent signs in the same way the first time the agent uses an ISOPlanner tool, with their own account. Keep it that way and do not share your own connection with all users: ISOPlanner applies the permissions of the account that signed in, and a shared connection would let everyone act as you.
A person who works in several organizations or organizational units starts in their own. The agent can list them and switch, as section 3 of the general article describes.
5. Questions and troubleshooting
Microsoft's sign-in errors start with AADSTS and a number; the number tells what to fix. ISOPlanner's own refusals are plain sentences.
AADSTS50011: the reply address is missing or does not match
The callback URL of the tool is not registered in the application, or it differs by one character. Repeat section 3 with the address exactly as Copilot Studio shows it on the tool. A tool created a second time has a new address.
AADSTS65001, "Need admin approval", or every user sees a permission page
Admin consent was not granted for the application's permissions. In the application, open API permissions and select Grant admin consent for <your tenant>; every row must show Granted for <your tenant>.
AADSTS500011: the resource principal was not found in the tenant
ISOPlanner's connector is not yet known in your directory. Do the first subsection of section 1 (the admin consent address) and try again.
AADSTS70011: the scope requested by the app is invalid
The Scopes value in the tool is not exactly bb06ca68-eccc-4cd8-9c9f-4c30f5205dd7/access_as_user offline_access. Check for a missing space, a line break or a changed id, and that access_as_user is among the application's granted permissions.
AADSTS700016: the application was not found in the directory
The Client ID in the tool is wrong, or the two sign-in addresses name another directory than the one the application was registered in. Compare them with the Overview page of the application.
AADSTS7000215 or AADSTS7000222: the client secret is invalid or expired
The secret in the tool is not the secret's Value (the Secret ID was pasted instead), or the secret has expired. Section 6 tells how to create a new one and put it in the tool.
AADSTS50020: the user account does not exist in the tenant
The person signed in with an account of another directory. The application is single tenant: only users of your directory can use the agent. A guest user needs an account in your directory, and an ISOPlanner licence on that account.
The sign-in says that I am not registered or have no licence
Microsoft accepted the account, ISOPlanner did not: the account is not an ISOPlanner user with a licence, or not the account the person uses for ISOPlanner. Sign in again with the right account, or ask an ISOPlanner administrator to invite the person or assign a licence. Copilot Studio shows this as a failed connection.
The agent answers with data of the wrong organization
The connection started in the user's own organization. Ask the agent to list the organizations and to switch; a new conversation starts in the user's own organization again.
Copilot Studio says the connector is blocked by a data policy
A data loss prevention policy of your Power Platform environment forbids custom connectors. Create the tool in an environment where they are allowed (a Developer or Sandbox environment), or ask your Power Platform administrator to allow the connector in this one.
The tool worked and now says it is unauthorized
Either the secret expired (section 6), or the user's connection is stale. Ask the user to remove the connection in the agent and sign in again. If the administrator changed the application's permissions, grant admin consent again.
Can several agents share one application?
Yes. Register every agent's callback URL in the application (section 3) and use the same client id and secret in every tool. One secret to renew, one place to revoke access.
6. Renew the client secret
A secret expires on the date chosen in section 1. Renew it before that day, in this order, and nobody notices:
- In the Microsoft Entra admin center, open the application, select Certificates & secrets > New client secret, and copy the new Value. The old secret keeps working until it expires.
- In the Power Apps portal, in the same environment as the agent, open Custom connectors, find the ISOPlanner connector (its name is the server name from section 2) and select Edit. On the Security tab, enter the new Client secret and select Update connector. The portal never shows the stored secret; it must be entered again whenever the connector is edited.
- Test the agent once. Then delete the old secret in the application. Users keep their connections; nobody signs in again.
To revoke the agent's access to ISOPlanner for everyone at once, delete the secret or the application; the tool then fails at sign-in until a new secret is configured.