What problem does it solve?
Provides a clear, production-oriented template and patterns to host, route, authenticate, and integrate Microsoft 365 agents using .NET so teams avoid reinventing boilerplate when building Teams, M365, or Copilot Studio integrations.
Core Features & Use Cases
- ASP.NET Core hosting and endpoint wiring: patterns for registering agents, wiring /api/messages with IAgentHttpAdapter, and configuring HTTP clients.
- AgentApplication routing and error handling: recommended AgentApplication subclass usage, conversation and activity handlers, and turn-level error recovery.
- Authentication and Copilot integration: MSAL-based token acquisition, token validation guidance, and Copilot Studio client setup with IHttpClientFactory.
- Use Case: Implement a Teams-facing agent that handles messages, validates tokens, routes intents via AgentApplication, and forwards queries to Copilot Studio for LLM-driven responses.
Quick Start
Host an ASP.NET Core agent with MSAL authentication and a Copilot Studio client using the described patterns to process incoming /api/messages.