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 example us1.

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

  1. Go to copilotstudio.microsoft.com.
  2. Click Create to start a new agent.

Step 2: Name the agent

  1. Enter a name for the agent, for example Liongard Assistant.
  2. 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

FieldValue
Server nameA unique display name with no symbols, for example Liongard MCP
Server descriptionFor example, Liongard MCP Gateway
Server URLhttps://[server].app.liongard.com/api/mcp

Step 5: Set authentication and create the connection

Follow the tab for the sign-in method you chose.

  1. Under Authentication, select OAuth 2.0.
  2. Set Configuration type to Dynamic discovery. Copilot Studio registers itself with Liongard, so you don't need a Microsoft Entra app registration.
  3. Click Add. Copilot Studio opens Select a connection.
  4. Click the Not connected dropdown and select Create new connection.
  1. Enter an optional Display name, for example Liongard, and click Create.
  2. 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.
  1. Back in Copilot Studio, the connection shows green with your display name.
  2. Click Add to continue.

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 scope

Liongard 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.

  1. 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.
  2. Click Save.
  3. 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 authentication

No 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

  1. Click Publish.
  2. 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

  1. Click Save and Publish. This may take some time.
  2. Update the description and logo with Edit details in the tray dialog.
  3. Click Availability Options and scroll to the bottom.
  4. Click Submit to the org catalog so users can find the agent in Teams.
  5. 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

ErrorLikely causeWhat to do
EnforcementUsageCredits or This environment is out of creditsNo Copilot Credits for the default builder. This is a Microsoft billing limit, not a Liongard errorUse the Standard builder, or add Copilot Studio capacity or pay-as-you-go billing
Connector request failed: 405 Not AllowedUnder investigationCheck 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 errorContact Liongard Support with the ID shown in the error
Unauthorized, or the connection won't turn greenBearer token format, or a revoked keyUse Bearer <AccessID>:<Secret> in the Authorization header and confirm the key is active
Agent asks you to verify or reconnect the connectionBearer token connections can need re-authorizingOpen 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 tenantContact your Account Manager, or use a bearer token
Fewer environments than expectedAI Usage is off, or the environment isn't in your access scopeTurn 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.


Did this page help you?