Microsoft Copilot Studio (Default builder)
Liongard MCP for Microsoft Copilot Studio (Default builder)
Connect the Liongard MCP server to an agent built with Copilot Studio's default builder, then publish it to Microsoft Teams and Microsoft 365 Copilot.
Which page do I need?
- You have Copilot Studio capacity or pay-as-you-go billing: use this page.
- You only have Microsoft 365 Copilot licenses: use Microsoft Copilot Studio (Standard builder). The default builder uses Copilot Credits, which a Microsoft 365 Copilot license doesn't include.
Liongard provides guidance for integrating with Microsoft Copilot Studio and Teams. For platform-specific support, contact Microsoft.
Why use Liongard with Microsoft Copilot?
Liongard turns the systems, configurations and changes across your managed environments into structured, queryable data. Copilot Studio turns that data into a conversational agent your team can use in Microsoft Teams and Microsoft 365 Copilot. Common uses:
- Technicians troubleshooting customer issues
- Account managers preparing for QBRs
- Security analysts investigating risks
- Leadership teams looking for operational insights
Licensing requirements
The default builder runs on Microsoft's GitHub Copilot harness, which Microsoft bills in Copilot Credits. Credits are used while you build and preview the agent, not only after you publish. A Microsoft 365 Copilot license does not include them.
You need one of:
- A Copilot Studio license with Copilot Credit capacity
- Copilot Studio pay-as-you-go billing
Without credits, Copilot Studio shows EnforcementUsageCredits or This environment is out of credits. Microsoft changes licensing often, so check the Copilot Studio licensing guide.
Prerequisites
In Liongard
- An active LiongardIQ and Liongard MCP subscription.
- One way to sign in:
- OAuth 2.0 (recommended): OAuth 2.0 enabled for your tenant, and a Liongard login. With end user credentials, every person who uses the agent needs their own Liongard login. See Liongard MCP OAuth 2.0 Sign-In.
- Bearer token: an active access key (Access ID and Secret) from Admin → AI Preferences.
- AI Usage turned on under Admin → Environments for every environment the agent should see.
- Your Liongard MCP URL, including
https://:https://[server].app.liongard.com/api/mcp. Replace[server]with your instance, for exampleus1.
In Microsoft
- A Microsoft 365 tenant with Copilot Studio access and the licensing above.
- Permission to create connections in your Power Platform environment.
- Data loss prevention (DLP) policies that allow the MCP connector.
Access and security
Anyone who can use the published agent can query the Liongard data its connection can reach. Treat the agent like any other access path into customer data. Step 9 covers how to choose whose Liongard access the agent uses and who can chat with it.
If your agent uses SharePoint knowledge sources, access follows your existing Microsoft permissions.
Integration steps
Step 1: Create a new agent
- Go to copilotstudio.microsoft.com.
- Click Create to start a new agent.

Step 2: Name the agent
- Enter a name for the agent, for example Liongard Assistant.
- Enter the Instructions for your agent.

Step 3: Configure agent options
- Select your preferred model. We recommend Open AI 6 Sol or Claude Opus 5.5 for best results.
- Select or upload skills, such as Liongard's recipes.
- Upload shared knowledge, allow web access, or add connected agents if you need them.

Then click + next to Tools to open Add a tool, and select Model Context Protocol (MCP).

Step 4: Add the Liongard MCP tool
| Field | Value |
|---|---|
| Server name | A unique display name with no symbols, for example Liongard MCP |
| Server description | For example, Liongard MCP Gateway |
| Server URL | https://[server].app.liongard.com/api/mcp |
Step 5: Set authentication and create the connection
Follow the tab for the sign-in method you chose.
- Under Authentication, select OAuth 2.0.
- Set Configuration type to Dynamic discovery. Copilot Studio registers itself with Liongard, so you don't need a Microsoft Entra app registration.
- Click Add. Copilot Studio opens Select a connection.
- Click the Not connected dropdown and select Create new connection.

- Enter an optional Display name, for example Liongard, and click Create.
- A Liongard window opens. It says Credential Manager is requesting access to your Liongard account; that's how Copilot Studio appears to Liongard. Sign in if asked, review the access, and click Approve.

- Back in Copilot Studio, the connection shows green with your display name.
- Click Add to continue.

- Under Authentication, select API key.
- Set the Header name to
Authorization. - Set the Key value to
Bearer <AccessID>:<Secret>. Use the word Bearer, a space, then your Access ID and Secret separated by a colon, with no brackets. Find these under Admin → AI Preferences.

- Click Add. Copilot Studio opens Select a connection.
- Click the Not connected dropdown and select Create new connection.

- Enter an optional Display name, and enter your full bearer token again, including the Bearer prefix:
Bearer <AccessID>:<Secret>. - Click Create. The connection shows green with your display name.
- Click Add to continue.

Bearer token connections can look complete but need reconnecting later. To reconnect, open Manage your connections, select the Liongard MCP connection, reconnect it, and click Submit.
Step 6: Review the tool
In the right pane, Tools should now show a chip for the Liongard MCP connection.

Step 7: Verify the MCP tool
In the top menu bar, switch to Preview and ask What tools do you have for Liongard?


Step 8: Test the agent further
Ask How many environments are in Liongard? to confirm the agent returns live data.
Environment scopeLiongard MCP only returns data for environments that have AI Usage turned on and are included in your bearer token or OAuth access.

Step 9: Set credentials and confirm authentication
Two settings control access. Credentials to use decides whose Liongard access the agent uses. Authentication decides who can chat with the agent. Set both.
- Open the Liongard MCP tool, expand Additional details, and set Credentials to use:
- End user credentials (recommended): each user signs in to Liongard (OAuth 2.0) or enters their own bearer token the first time they use the agent.
- Maker-provided credentials: everyone uses your Liongard access. Users don't need Liongard credentials.
- Click Save.
- Open Settings from the menu next to the Publish button, go to Safety & Access → Authentication, and confirm Authenticate with Microsoft is selected.

Don't use No authenticationNo authentication makes the agent publicly available. With maker-provided credentials, anyone who reaches the agent could query Liongard with your access. End user credentials also need the agent to know who the user is. This applies to both OAuth 2.0 and bearer tokens.
Step 10: Publish the agent
- Click Publish.
- Select Teams + Microsoft 365 to deploy to Teams, and Turn on Microsoft 365 to use the agent in Microsoft 365 Copilot.

Step 11: Deploy to Microsoft Teams
- Click Save and Publish. This may take some time.
- Update the description and logo with Edit details in the tray dialog.
- Click Availability Options and scroll to the bottom.
- Click Submit to the org catalog so users can find the agent in Teams.
- If you made changes, click Save and Publish again. Otherwise, close the dialog.

You can use our logo for your agent:
You can then:
- Click See agent in Teams to install the agent in Teams
- Share a direct link with users
- Add the agent to a Teams channel
- Use it in Microsoft 365 Copilot
Troubleshooting
| Error | Likely cause | What to do |
|---|---|---|
EnforcementUsageCredits or This environment is out of credits | No Copilot Credits for the default builder. This is a Microsoft billing limit, not a Liongard error | Use the Standard builder, or add Copilot Studio capacity or pay-as-you-go billing |
Connector request failed: 405 Not Allowed | Under investigation | Check the Server URL is exactly https://[server].app.liongard.com/api/mcp. If you use a bearer token, try OAuth 2.0. If it continues, contact Liongard Support |
Couldn't load MCP tools (HTTP 500) | Server-side error | Contact Liongard Support with the ID shown in the error |
| Unauthorized, or the connection won't turn green | Bearer token format, or a revoked key | Use Bearer <AccessID>:<Secret> in the Authorization header and confirm the key is active |
| Agent asks you to verify or reconnect the connection | Bearer token connections can need re-authorizing | Open Manage your connections, reconnect the Liongard MCP connection, and click Submit. Or switch to OAuth 2.0 |
| No Liongard approval window (OAuth 2.0) | OAuth 2.0 isn't enabled for your tenant | Contact your Account Manager, or use a bearer token |
| Fewer environments than expected | AI Usage is off, or the environment isn't in your access scope | Turn on AI Usage under Admin → Environments |
Before you contact Support, test the same URL and credentials in another MCP client, such as Claude Desktop. When you contact Support, include your Liongard instance, which builder you used, your sign-in method, your Microsoft license type, the exact error and any ID it shows, and the time it happened with your time zone.
Updated 6 days ago

