Skip to content

Start blog posts for 2.1 preview#2829

Draft
rido-min wants to merge 1 commit into
mainfrom
rido/blog-21preview
Draft

Start blog posts for 2.1 preview#2829
rido-min wants to merge 1 commit into
mainfrom
rido/blog-21preview

Conversation

@rido-min
Copy link
Copy Markdown
Member

This pull request adds two new blog posts announcing and explaining major new features in the Teams SDK for .NET 2.1 preview. The first post introduces the overall SDK update, highlighting its native ASP.NET Core integration, typed activity routing, layered architecture, and agentic identity support. The second post provides a deep dive into agentic identities, showing how bots can act on behalf of users using user-delegated tokens with minimal manual setup. Together, these posts serve as both an announcement and practical guide for developers adopting the new SDK.

New blog posts and documentation:

  • Teams SDK for .NET 2.1 Preview Announcement:

    • Introduces the 2.1 preview with native ASP.NET Core integration, standard DI/logging/configuration, and MSAL-based authentication.
    • Explains typed activity routing, three-layer SDK architecture, performance improvements, OAuth/SSO flows, and migration from Bot Framework v4.
    • Provides code samples, configuration guidance, and a roadmap for future releases.
  • Agentic Identity Support Overview:

    • Details how the SDK enables bots to act on behalf of users using agentic identities, with automatic identity extraction and token acquisition via MSAL.
    • Walks through a tutorial for building bots that use agentic identity, including code samples and configuration.
    • Explains the SDK's transparent handling of agentic identity, token management, and integration with Teams APIs.

description: Build bots that act on behalf of users with agentic identities in Teams SDK for .NET 2.1 preview — user-delegated tokens with zero manual plumbing.
---

Your bot can now act on behalf of users, not just as itself. [Teams SDK for .NET 2.1 preview](/blog/announcing-teams-sdk-dotnet-2-1-preview) has built-in support for agentic identities, enabling bots to acquire user-delegated tokens and perform actions with the user's permissions. The SDK handles identity extraction and token acquisition transparently — you focus on what your bot does, not on token plumbing.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"can now act on" -> "can today act on"


Your bot can now act on behalf of users, not just as itself. [Teams SDK for .NET 2.1 preview](/blog/announcing-teams-sdk-dotnet-2-1-preview) has built-in support for agentic identities, enabling bots to acquire user-delegated tokens and perform actions with the user's permissions. The SDK handles identity extraction and token acquisition transparently — you focus on what your bot does, not on token plumbing.

For the full conceptual background on agentic identities and Agents 365, see the [Agents 365 documentation](https://learn.microsoft.com/agents-365).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comes in abstract, right after the OBO intro. Not rightly placed

## What Is an Agentic Identity?

Traditional bots authenticate as themselves using app-only tokens. They can send messages and call APIs, but only with the permissions granted to the app registration. An agentic identity changes this: the bot acts **on behalf of a specific user**, using that user's permissions and identity.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does the agentic identity uses the user's permissions and identity? I am a little confused here


For a deeper explanation of how agentic identities work in the Agents 365 ecosystem, see the [Agents 365 identity documentation](https://learn.microsoft.com/agents-365/identity).

## How It Works in the SDK
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lead the paragraphs prior to this with outcomes. Inviting people to read further about it in the SDK. The starting sections are not clear enough and we jump too soon into the SDK details


Every API client in the SDK — `ActivityClient`, `ReactionClient`, `MemberClient`, `MeetingClient`, `TeamClient` — accepts an `AgenticIdentity` and threads it through to MSAL for token acquisition. When you use `context.Api` in a handler, this happens automatically.

## Tutorial: Build a Bot That Acts on Behalf of an Agentic User
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This title is very confusing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants