Home Power PlatformsCopilot and AI Running Your Custom Agent Inside Microsoft 365 Copilot

Running Your Custom Agent Inside Microsoft 365 Copilot

by Mo Faheem
Running Your Custom Agent Inside Microsoft 365 Copilot

⚙️ Lab note (added September 2026): every agent in this series was built and run in the new Copilot Studio experience. What Microsoft now calls the GitHub Copilot harness (GA August 2026). The classic “standard harness” is a different build experience with different behaviour. My standard-harness rebuild and full harness comparison are scheduled on this blog for late October 2026.

When I published Blog Lab Agent to the “Teams + Microsoft 365” channel, it felt like shipping. And in the last post of the original series I proved the Dynamics 365 half of that promise. Today I went looking for the other half: the agent living inside Microsoft 365 Copilot, next to Researcher and Analyst, where people who never open Dynamics actually work.

It was there. But finding it taught me something the Publish button never mentioned.

The food truck nobody can find

My first instinct was the obvious one: open the Copilot app, go to the Agent Store, search for the agent by name. Result:

Agent Store search showing no matches for Blog Lab because the agent was not submitted to the org catalog
The Agent Store search came up empty, publishing an agent does not list it in the store.

Nothing. My freshly published agent was a food truck with no parking spot, cooking, licensed, and invisible. The reason is right there in Copilot Studio once you know where to look: publishing makes the agent available, but the Agent Store only lists agents that have been submitted to your organisation’s catalog and approved by an admin.

The real front door: Use and share

Back in Copilot Studio, click the Teams + Microsoft 365 channel chip and open the Use and share tab. This little dialog is the distribution hub the Publish button hides:

Use and share tab of the Teams + Microsoft 365 channel dialog with View in Teams, View in Copilot and Submit to org catalog options
Use and share: View in Teams and View in Copilot for you, Submit to org catalog for everyone else.

View in Teams and View in Copilot open the agent directly. That is the maker’s side door. Submit to org catalog is the path that eventually puts it in the Agent Store for your colleagues, with an admin deciding how it is featured and installed. If your users say “I searched and it is not there,” this is why.

Installing it like a user would

View in Copilot lands on a proper install card. The same treatment a store agent gets: who built it, where it works (Teams and Copilot), what it costs (free), and a permissions overview, before anyone clicks Add:

Agent Store install card for Blog Lab Agent showing Add button, works in Teams and Copilot, free, and permissions overview
The install card: your custom agent gets the full store treatment, permissions summary included.

One click on Add and Blog Lab Agent appeared in the left rail of Microsoft 365 Copilot, sitting between Planner Agent and Surveys like it had always lived there.

The consent cards follow the agent

Then I asked it the closing question from the lab: “How many accounts do we have in Dataverse, and how long is the Café A-100 warranty?”, a question that needs both the Dataverse MCP tool and the SharePoint documents.

Blog Lab Agent in Microsoft 365 Copilot requesting permission to run the Dataverse MCP read_query action with Allow and Deny buttons
Same agent, new surface, same rules: Dataverse MCP read_query asks permission inside Microsoft 365 Copilot too.

Everything I wrote in Agents That Ask Permission carries over to this surface, in fact it is stricter here. In the Copilot Studio test pane, allowing an action type once covered the rest of the chat. In Microsoft 365 Copilot, every single MCP call raised its own card: read_query, findSite, getDefaultDocumentLibraryInSite, getFolderChildren, readSmallBinaryFile. One quirk to know: if a card sits too long before you answer, it can expire, the agent told me “your card response didn’t come through”, and the fix is simply to type your approval as a message. The agent picked up exactly where it left off.

The answer, where your users live

Final answer in Microsoft 365 Copilot: returns, warranty and service levels from the SharePoint policy plus the Dataverse account count of three
Returns policy, warranty terms, service levels, and “Dataverse currently has 3 accounts.” Both tools, one chat, zero Dynamics windows open.

Full returns policy, the Café A-100’s 24-month warranty, Gold-tier service levels, and the Dataverse account count, all in a chat surface where the user never opens Dynamics 365 at all. That is the real payoff of the “Teams + Microsoft 365” channel: the agent goes to where people already are, and brings its tools with it.

What to remember

Three things. First, publishing is not listing, use View in Copilot / View in Teams to reach your own agent, and Submit to org catalog when it is time for everyone else. Second, the availability choice (Copilot and Teams, Copilot only, Teams only) is locked at first publish, so pick deliberately. Third, this surface needs a Microsoft 365 Copilot seat per user. The licensing arithmetic from The Copilot Credits Wall applies, trial or not.

One more stop left in this follow-up series, and it is my favourite kind of plot twist: the model-driven app that has been hosting my agent can now become a tool itself.

Related Articles

Leave a Comment