Web API Plugin for Declarative Agents in Microsoft 365 Copilot


The article guides users through building an Account Assistant that integrates Microsoft 365 Copilot with an existing ASP.NET Core REST API to access CRM information efficiently. The REST API taps into Microsoft Dataverse's Account table and allows account searches via an OpenAPI definition. The process involves reusing the existing API, testing it locally, and exposing it via HTTPS using ngrok. An OpenAPI file aids in creating an API plugin through Microsoft 365 Agents Toolkit. Users must ensure prerequisites like Visual Studio Code, an ASP.NET Core Web API project, and appropriate Microsoft environments are in place. The setup continues with implementing the toolkit's capabilities to generate and test the API plugin. Finally, users can test the integration within Microsoft 365 Copilot, experiencing real CRM operations seamlessly facilitated by the custom agent.


Article 1m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time