Microsoft 365 Agents SDK for .NET. Build multichannel agents for Teams/M365/Copilot Studio with ASP.NET Core hosting, AgentApplication routing, and MSAL-based auth.
SkillScore96Maintained
Automatic
◆AI Engineer pack
Last verified 9/2/2026
What it changes
Passed 23 of 24 test cases with the skill, and 7 of 24 without it.
Without skill29%
With skill96%
Checks it passed that the model alone missed
Program.cs calls AddAgentAspNetAuthentication.
The TokenValidation section includes TenantId.
The TokenValidation section includes Audiences.
and 20 more in the full report
16 fixed7 passed either way1 still failing0 broke
Pass-rate lift
+67 pp
Tokens
+57%
Agent turns
0%
Response time
-31%
Model gemini-3.6-flashMeasured 9/2/2026v223 of 24 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 16 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 16
Prompt
In an agent turn error delegate, what method should be called on the conversation state object to ensure corrupted turn state is purged before notifying the user of the error?
What was checked, without and with the skill
Checked
Without skill
With skill
The error handler calls turnState.Conversation.DeleteStateAsync.
Missed
Passed
case-19 · gemini-3.6-flash · 9/2/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md283 linessingle file
Microsoft 365 Agents SDK (.NET)
Overview
Build enterprise agents for Microsoft 365, Teams, and Copilot Studio using the Microsoft.Agents SDK with ASP.NET Core hosting, agent routing, and MSAL-based authentication.
Before implementation
Use the microsoft-docs MCP to verify the latest APIs for AddAgent, AgentApplication, and authentication options.
Confirm package versions in NuGet for the Microsoft.Agents.* packages you plan to use.