The short answer
Microsoft stopped servicing Bot Framework SDK support tickets on 31 December 2025 and points Teams bot developers to the Microsoft 365 Agents SDK (C#, JavaScript, Python). Existing bots keep running, but new multi-tenant Azure Bot registrations have not been possible since 31 July 2025.
Last verified: 25 October 2026 against the Bot Framework SDK repository, Microsoft Learn's Agents SDK overview and migration guides, and the Azure Bot Service quickstart.
The Bot Framework SDK repository now says: "The Bot Framework SDK is being retired with final long term support ending December 2025" and "Support tickets for the Bot Framework SDK will no longer be serviced as of December 31, 2025." The repository was archived on 5 January 2026. Microsoft Learn's SDK landing page adds that the SDK "is no longer updated or maintained" and recommends the Microsoft 365 Agents SDK.
| Component | Status (October 2026) | Replacement |
|---|---|---|
| Bot Framework SDK (C#, JS, Python, Java) | Retired; repo archived 5 Jan 2026; no support tickets since 31 Dec 2025 | Microsoft 365 Agents SDK |
| Bot Framework Emulator | Archived 5 Jan 2026 | Agents Playground |
| Bot Framework Composer | Archived 9 Jul 2025 | Copilot Studio (Microsoft's pointer) |
| Teams Toolkit | Renamed | Microsoft 365 Agents Toolkit |
| Teams AI library | Renamed; v1 deprecated | Teams SDK |
| Azure Bot resource | Continues; existing registrations unchanged | Same resource, single-tenant or managed identity for new bots |
| Multi-tenant bot creation | Not possible after 31 Jul 2025 | Single tenant or user-assigned managed identity |
What keeps working, and what does not
A retired SDK is not a switched-off service. Your bot's code is a web app you host; it keeps answering Teams as long as the Azure Bot resource, your credentials and your host keep working. Microsoft's migration guides say the same about Azure: "Your existing Azure resources remain unchanged during this migration. Continue using your current Azure Bot registration."
What you lose is the safety net:
- No fixes. Security patches and dependency updates for the
botbuilderpackages have stopped. Your vulnerability scanner will eventually flag transitive dependencies you cannot upgrade without leaving the SDK. - No support tickets. Microsoft will not service SDK issues raised after 31 December 2025.
- No new multi-tenant bots. The Azure Bot Service quickstart states: "Multi-tenant bot creation will be deprecated after July 31, 2025." and "Existing multi-tenant bots will continue to function, but new multi-tenant bot creation will no longer be supported after that date." New bots must be single tenant or use a user-assigned managed identity.
The multi-tenant change matters even if you never migrate code. If you delete and recreate a multi-tenant bot registration, for example while moving subscriptions, you cannot get it back as multi-tenant. And the new bot type changes how tokens are validated: a single-tenant bot with code still configured for multi-tenant authentication fails with a 401. Our reference page for the single-tenant vs multi-tenant 401 covers the exact symptom and fix.
Two tooling traps: the archived Composer and Emulator "currently only support multi-tenant bots", and the Java Bot Framework SDK "only supports multi-tenant bots". The Agents SDK has no Java version, so a Java bot that needs a new registration is a port, not a migration.
What the Microsoft 365 Agents SDK is
Microsoft's migration guidance calls it "the evolution of the Azure Bot Framework SDK." It keeps the activity protocol, the Azure Bot resource and the channel model (Teams, Microsoft 365 Copilot, web chat and others) and replaces the programming model on top. The overview lists three languages:
| Language | Runtime per the Agents SDK overview | Main package |
|---|---|---|
| C# | ".NET 8.0 SDK" | Microsoft.Agents.Builder |
| JavaScript | "Node.js version 18 and later" (the Node migration guide lists 20 or higher) | @microsoft/agents-hosting |
| Python | "version 3.9 to 3.11" (the Python migration guide says 3.10 or higher) | microsoft-agents-hosting-core |
The runtime figures disagree between Microsoft's own pages, so use the newest runtime your host supports within both ranges: Node 20 or 22, Python 3.10 or 3.11. All three languages ship stable 1.x packages.
Agents SDK or Teams SDK?
Microsoft now has two SDKs that can build a Teams bot. The Teams AI library has been renamed Teams SDK (Microsoft's bots overview says it is generally available for JavaScript and C#), and Teams AI library v1 is deprecated. The Agents SDK is the direct successor to Bot Framework and is the documented migration path, with guides per language. If you are migrating an existing Bot Framework bot, the Agents SDK is the shorter road, because Microsoft wrote the mapping for you.
The mapping: packages, classes and settings
JavaScript / TypeScript
| Bot Framework SDK | Agents SDK |
|---|---|
botbuilder | @microsoft/agents-hosting |
botframework-schema | @microsoft/agents-activity |
botbuilder-dialogs | @microsoft/agents-hosting-dialogs |
botbuilder-azure (Cosmos DB) | @microsoft/agents-hosting-storage-cosmos |
| Teams helpers | @microsoft/agents-hosting-extensions-teams |
| Manual Express setup | startServer() in @microsoft/agents-hosting-express |
ConfigurationBotFrameworkAuthentication | loadAuthConfigFromEnv() / AuthConfiguration |
MicrosoftAppId / MicrosoftAppPassword / MicrosoftAppTenantId | clientId / clientSecret / tenantId |
C# / .NET
| Bot Framework SDK | Agents SDK |
|---|---|
Microsoft.Bot.Builder | Microsoft.Agents.Builder |
| ASP.NET Core integration | Microsoft.Agents.Hosting.AspNetCore + Microsoft.Agents.Authentication.Msal |
| Schema types | Microsoft.Agents.Core |
| Teams extensions | Microsoft.Agents.Extensions.Teams |
IBotFrameworkHttpAdapter | IAgentHttpAdapter |
Python
botbuilder-core becomes microsoft-agents-hosting-core, imported as microsoft_agents (underscores, not dots), and BotFrameworkAdapter maps to CloudAdapter. See the Python migration guide for the full list.
Classes
Microsoft's Node.js guide is explicit: "The ActivityHandler is deprecated in favor of the new AgentApplication class." A compatible ActivityHandler exists in the Agents SDK so you can migrate in two steps, first imports, then the programming model. BotFrameworkAdapter is gone ("Replaced by CloudAdapter in Bot Framework, and removed from the Agents SDK").
Before and after: the echo bot
This is Microsoft's own example, condensed. Before, with the Bot Framework SDK:
const { ActivityHandler } = require("botbuilder");class EchoBot extends ActivityHandler {constructor() {super();this.onMessage(async (context, next) => {await context.sendActivity(`You said: ${context.activity.text}`);await next();});}}After, with AgentApplication and the Express helper:
import { AgentApplication, MemoryStorage, MessageFactory } from "@microsoft/agents-hosting";import { startServer } from "@microsoft/agents-hosting-express";const agent = new AgentApplication({ storage: new MemoryStorage() });agent.onConversationUpdate("membersAdded", async (context) => {await context.sendActivity("Welcome!");});agent.onMessage(async (context) => {await context.sendActivity(MessageFactory.text(`Echo: ${context.activity.text}`));});startServer(agent);Three differences to notice: handlers no longer call next(); state is built in (state.conversation is passed to handlers) instead of wired by hand; and routes can be registered for specific text, such as agent.onMessage("/reset", ...).
If you keep a manual Express server instead of startServer, add JWT validation yourself. Microsoft's guide warns that the Bot Framework SDK validated incoming tokens in the stack and the Agents SDK does not: use server.use(authorizeJWT(loadAuthConfigFromEnv())), and never disable it outside local development. Forgetting this is the most dangerous migration bug, because the bot still works, just for anyone who can reach the endpoint.
The changes that are easy to miss
The package swap is mechanical. These are the differences that compile fine and then fail at runtime:
Conversation references moved to the Activity
Proactive messaging (notifications, reminders, approval follow-ups) depends on storing a conversation reference and replaying it later. In the Bot Framework SDK those helpers were static methods on TurnContext. In the Agents SDK, per Microsoft's Node guide, they "now operate over the current activity instance": TurnContext.getConversationReference(activity) becomes activity.getConversationReference(), and the same applies to applyConversationReference, getMentions, removeRecipientMention and removeMentionText. Search your code for TurnContext. and fix every static call, or proactive sends will throw.
Some ActivityHandler methods are gone
The compatible ActivityHandler in the Agents SDK drops onCommand, onCommandResult, onEvent and onTokenResponseEvent. If your bot relied on generic event handling, for example for custom events from a web chat client, that code stops firing. Microsoft notes that specific event types are still supported; register handlers for the exact activities you need.
Activities are validated
The new @microsoft/agents-activity package parses activities with schema validation (Activity.fromJson(), Activity.fromObject()). Hand-built activity objects that the old SDK passed through untouched may fail that validation. If you construct cards or custom activities as plain objects, run them through the parser in a unit test.
Settings names, not values
The Azure values stay the same, but the old setting names "are no longer used and can be deleted later." The new code reads clientId, clientSecret and tenantId, so an environment that still sets only MicrosoftAppId and friends leaves the migrated bot without credentials. Set both names during the cutover if you deploy the same environment to old and new builds.
Migration steps, in order
- Inventory features. List what the bot uses: dialogs, Adaptive Cards, OAuth sign-in, proactive messages, Teams-specific events, storage. Then check the unsupported list: Microsoft's guidance says Adaptive Dialogs, Composer artifacts, LUIS and QnA Maker, Language Generation and the
bfCLI are not carried over. A bot built in Composer needs a rewrite, not a migration. - Swap packages and imports using the mapping tables. In JavaScript this is mostly find-and-replace on
requirestatements. - Rename settings.
MicrosoftAppIdbecomesclientId, and so on. Keep the same values; your Azure Bot registration does not change. - Restore JWT validation if you host your own server.
- Run on the compatible
ActivityHandlerfirst and test in Teams. This isolates packaging problems from logic changes. - Move to
AgentApplicationhandler by handler. - Replace your tooling. Emulator becomes Agents Playground; Teams Toolkit is now Microsoft 365 Agents Toolkit.
- Check the bot type. In the Azure portal, confirm whether your Azure Bot is Multi Tenant, Single Tenant or User-Assigned Managed Identity, and that your auth configuration matches. Do not delete a multi-tenant registration you still need.
- Regression-test in Teams: personal chat, channel @mentions, cards, sign-in and proactive messages.
Errors you will see during the move
| Symptom | Usual cause after migration | Reference |
|---|---|---|
| 401 Unauthorized on every message | Renamed settings not loaded, or tenant type mismatch | 401 invalid app ID or password, 401 tenant mismatch |
| 401 after a few months | Client secret expired on the Entra app registration | 401 expired client secret |
| Bot silent in Teams, works in Playground | Messaging endpoint path or manifest bot ID differs | bot not registered |
| 403 in some tenants | Org policy blocks custom apps | 403 bot disabled by admin |
| 502 on some messages only | Your handler throws, often on an unported dialog or a removed handler such as onEvent | 502 bot error |
The full list is in the Microsoft Teams bot error reference, and rate limits for proactive messaging are on the Teams limits page. For the wider "bot does nothing" checklist, from manifest IDs to sideloading policy, see Teams bot not responding.
If you would rather not own a Teams bot codebase
For internal helpdesk, HR and IT bots, a full Agents SDK project can be more machinery than the job needs. Teams also supports Outgoing Webhooks, which Microsoft describes as a way to "skip the process of creating bots through the Microsoft Bot Framework": a team owner creates the webhook, users @mention it in a channel, and your service has five seconds to reply. The limits are real (team scope only, public channels only, no personal chat, only openURL card actions), but there is no SDK to migrate.
That is the route Conferbot's Microsoft Teams chatbot uses: you build the bot in the no-code chatbot builder, create an Outgoing Webhook in your team with Conferbot's callback URL, and save the security token Teams shows back in Conferbot. No Azure subscription is needed. The same bot can answer on Slack, your website and other channels, and the Free plan covers 600 conversations a month.
If you need personal chat, proactive messages or rich Adaptive Card actions, the Agents SDK route above is the right one.
Was this article helpful?
Build and deploy in 10 minutes. No coding needed.
Bot Framework SDK to Microsoft 365 Agents SDK FAQ
Everything you need to know about chatbots for bot framework sdk to microsoft 365 agents sdk.
About the Author
The Conferbot team writes about building, deploying, and improving AI chatbots.
View all articlesRelated Articles
From the reference shelf
Fact-checked reference pages and free tools for the platform this article covers.