m365-agents-dotnet

Build Teams and Copilot Studio agents with the .NET SDK.

2.9k|323|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/microsoft/skills --skill m365-agents-dotnet-microsoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: m365-agents-dotnet
Source: https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-dotnet/skills/m365-agents-dotnet
Command: npx skills add https://github.com/microsoft/skills --skill m365-agents-dotnet-microsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Microsoft 365 Agents SDK for .NET enables developers to build multichannel agents for Teams, M365, and Copilot Studio with ASP.NET Core hosting, AgentApplication routing, and MSAL-based authentication.

Core Features & Use Cases

  • ASP.NET Core hosting for enterprise agents
  • AgentApplication routing and MSAL-based authentication
  • Copilot Studio client integration for direct-to-engine interactions
  • Production-ready configuration and deployment guidance across Microsoft 365 ecosystems

Quick Start

Install the Microsoft.Agents packages and bootstrap a sample ASP.NET Core host using the provided code samples to run a minimal agent.

Frequently Asked Questions about m365-agents-dotnet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build multichannel Teams agents using the .NET SDK?

Build multichannel Teams agents using the .NET SDK by installing Microsoft.Agents packages, configuring appsettings, and bootstrapping an ASP.NET Core host with AgentApplication routing for enterprise deployment.

How does MSAL-based authentication work for ASP.NET Core agents?

MSAL-based authentication for ASP.NET Core agents is configured via appsettings to secure access across Microsoft 365 ecosystems, ensuring authorized routing and Copilot Studio integration.

Can I integrate Copilot Studio with my ASP.NET Core agent?

Yes, you can integrate Copilot Studio with your ASP.NET Core agent using the Microsoft 365 Agents SDK to enable direct-to-engine interactions and extend agent workflows across Microsoft 365.

What is the best way to configure Microsoft 365 Agents SDK packages in .NET?

Configure Microsoft 365 Agents SDK packages in .NET by defining settings in appsettings and using the provided sample hosting code to bootstrap a minimal ASP.NET Core agent.

Does the Microsoft 365 Agents SDK support production-ready deployment across Microsoft 365 ecosystems?

Yes, the Microsoft 365 Agents SDK supports production-ready deployment across Microsoft 365 ecosystems by providing ASP.NET Core hosting, MSAL authentication, and deployment guidance for agents.