Skip to main content
Connect CivicMarketplace to Microsoft 365 Copilot so your team can ask about contracts and suppliers from inside Copilot. Watch the setup in this short video, or follow the steps below.
Adding an MCP connector to Microsoft 365 Copilot is done through Copilot Studio and typically requires a Microsoft 365 Copilot license plus permission to build or publish agents in your tenant. Check with your Microsoft 365 administrator if you don’t have access.
Government tenants: if your organization uses Microsoft 365 Government (GCC or GCC High), open the government versions of Copilot Studio and the Power Platform admin center. For GCC, they are gcc.powerva.microsoft.us and gcc.admin.powerplatform.microsoft.us. For GCC High, they are high.powerva.microsoft.us and high.admin.powerplatform.microsoft.us. Microsoft lists them in Copilot Studio US Government requirements. Other addresses in this guide, such as the Microsoft Entra admin center and your environment’s Dataverse address, can differ too. If you use DoD, or these addresses don’t apply, ask your Microsoft 365 administrator for the right ones.We tested these steps in a commercial tenant. Features and menu names can differ in government tenants, and Microsoft’s documentation for them doesn’t say whether MCP servers are supported. Ask your Microsoft 365 administrator to confirm that you can add an MCP server in Copilot Studio and that the sharing steps below work in your tenant.
The endpoint you’ll use:

Add the connector in Copilot Studio

1

Open Copilot Studio

Go to copilotstudio.microsoft.com. In a government tenant, go to gcc.powerva.microsoft.us (GCC) or high.powerva.microsoft.us (GCC High) instead. Then open (or create) the agent you want to extend.
2

Add the MCP server as a tool

On the agent’s overview page, find the Tools section (“Connect the agent to external systems and actions”) and select +. In the Add a tool window, select + Add at the top right and choose Model Context Protocol (MCP). The Add MCP server window opens. Menu names vary between tenants and change as Microsoft updates Copilot Studio.
3

Enter the server details

Fill in the required fields:
  • Server name: for example CivicMarketplace.
  • Server description: a short sentence about what the server does, such as “Search CivicMarketplace contracts and suppliers.”
  • Server URL: https://mcp.civicmarketplace.com/mcp/copilot
4

Configure OAuth

Under Authentication, select OAuth 2.0. Under Configuration type, select Dynamic (with discovery). Copilot Studio then uses CivicMarketplace as the identity provider — users sign in with their own CivicMarketplace account and approve the requested permissions the first time they use the connector. Select Add to continue.
5

Create your connection

In the Select a connection window, open the Connection list (it shows Not connected) and choose Create new connection. A “Creating a connection” panel opens. Enter a display name if you want one (it’s optional) and select Create.This opens a sign-in window for CivicMarketplace. Sign in with your CivicMarketplace account and select Allow access. Back in the Select a connection window, select Add.
6

Publish the agent

Save and publish the agent.
7

Test the agent

Under Channels, select Teams + Microsoft 365. In the Microsoft 365 and Microsoft Teams window, under Try your agent, select View in Microsoft Copilot or View in Microsoft Teams. Ask the agent something like “Search CivicMarketplace for HVAC contracts.” People who haven’t connected yet are prompted to sign in on their first request.
8

Share the agent with your organization

In the same window, open Use and share and, under Share your agent, select Submit to org catalog. This submits the agent so your administrators can feature it in your organization’s Agent Store and manage how people discover and install it. Once it’s approved, the button shows the approved version, for example Approved — v1.0.7.People can then find the agent. For them to connect to CivicMarketplace, they also need the access described in Let other people in your organization connect.
Each user authenticates as themselves, so results are always scoped to what that person’s CivicMarketplace account can access — no shared credentials.

Let other people in your organization connect

The person who adds the connector can connect straight away. Everyone else in your organization will most likely need one extra permission first, which an administrator of the environment sets up. If you later remove and re-add the tool, check that the connector your agent uses is the one you shared. When you add the connector, Copilot Studio stores it as a record in your environment’s Dataverse database, owned by whoever created it. Other people can’t read that record, so when they try to create their connection they see Connector information unavailable. This is a Microsoft permission in your tenant. It is not something CivicMarketplace controls. In the commercial tenant we tested, the Connector table isn’t listed in the security role editor, so a security role couldn’t grant this access. Instead, an administrator shares the connector record itself with a team of your users.
1

Create a group for the people who will use the agent

In Microsoft Entra, go to Groups → All groups → New group. Name it something like CivicMarketplace users, add the people who should use the agent as members, and select Create. Or use a group you already have. We tested this with a Microsoft 365 group. A security group should also work.In a government tenant, use the Microsoft Entra address your administrator gives you.
2

Create a team backed by the group

In the Power Platform admin center, open your environment and go to Settings → Users + permissions → Teams → Create team. Enter a team name, leave Business unit as the default, and set yourself as Administrator. Set Team type to Microsoft Entra ID Office Group for a Microsoft 365 group (or Microsoft Entra ID Security Group for a security group), search for your group under Group name, and select Next. Labels can differ slightly between tenants.In a government tenant, use gcc.admin.powerplatform.microsoft.us (GCC) or high.admin.powerplatform.microsoft.us (GCC High) instead of the address above.The Manage security roles panel requires a role. Choose the least-privileged one your organization is comfortable with, such as Basic User, and save. Which role you pick is not what gives access to the connector. The next step does.
3

Share the connector with the team

Sharing a record needs share rights on it. The person who created the connector has them, and so should a System Administrator of the environment. Read access lets members see the connector’s definition, so share only your CivicMarketplace connector.
  1. Open the list of connectors in your environment, signed in with that account. Take your environment’s URL (you can copy it from the environment’s details in the Power Platform admin center), remove any / at its end, and add /main.aspx?etn=connector&pagetype=entitylist. For example: https://<your-org>.crm.dynamics.com/main.aspx?etn=connector&pagetype=entitylist. The domain depends on your region and cloud, so use your own environment’s URL rather than copying this example.
  2. Open your connector. Look for the row whose Logical Name of the Connector ends with your tool name in lowercase, with spaces shown as -20. For a tool named “My MCP Server”, look for a name ending in my-20mcp-20server. The start of the name varies, depending on how the connector was created. Created On is when you added the tool, so take the newest matching row.
  3. In the toolbar, select Share, then Add User/Team, and choose the team.
  4. For the team, tick only Read, then select Share.
To check who the connector is shared with, select Share again. The team should be listed with only Read ticked.
4

Ask each person to connect

Each person creates their own connection and signs in with their own CivicMarketplace account, either with Create new connection in the Select a connection window (as in the steps above) or when they are prompted to sign in on their first request. Without the access above, this is where they see Connector information unavailable.
When someone new joins: add them to the group, then ask them to sign in to the environment once before they connect, for example by opening Power Apps or Copilot Studio. Members of the group only appear in the team after they have signed in to the environment at least once, so until then they will still see Connector information unavailable. To give someone access before that, select Share on the connector, use Add User/Team to add the person directly, and tick Read.
Call the Dataverse web API from any tool that can send REST requests, with an access token for your environment URL (for example https://<your-org>.crm.dynamics.com). One way to get a token is the Azure CLI: run az login, then az account get-access-token --resource https://<your-org>.crm.dynamics.com, and send the accessToken value in an Authorization: Bearer header. If your tool doesn’t encode URLs for you, replace spaces and quotes in the examples below with their percent-encoded forms (%20 and %27).Replace https://<your-org>.crm.dynamics.com throughout with your own environment URL, as in the step above. In a government cloud the sign-in and token steps can differ too, so ask your Microsoft 365 administrator.First find the two IDs. For the connector, open it from the Active Connectors list as described above: its ID is the id= value in the address bar. You can also look it up by displayname, the name shown for the tool in Copilot Studio, and take the most recent createdon if more than one row matches. The team is the one you created above:
Before sharing, confirm the connector ID is the right one:
Then share the connector with the team, read access only:
A successful call returns 204 No Content. To check who the connector is shared with, open Share on the record as described above. To undo the share, call the RevokeAccess action for the same connector and team.

Troubleshooting

MCP support and the exact menu names roll out gradually across tenants and may require specific licensing. Make sure your tenant has Copilot Studio enabled and you have rights to add tools to agents. In a government tenant, see the note at the top of this guide.
Confirm the tool’s authentication is set to OAuth 2.0 (not None) with Dynamic (with discovery) as the configuration type. Re-publish the agent after changing authentication settings.
The person doesn’t have read access to the connector record in your environment. Follow Let other people in your organization connect so an administrator can grant it to a group.
The person signed in to CivicMarketplace with a personal email address. Creating an agency account, or adding agency access to an existing account, needs a government or organizational email, so they should go back and sign in with their work account. People who already have agency access are not affected.
The connector only returns data a user’s CivicMarketplace account can access. If a user expects more, their CivicMarketplace access may need to be updated — contact your account manager.

Next steps

Example prompts

See what you can ask once you’re connected.

Tools and permissions

Review the MCP tools and required permissions.