Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions msteams-platform/agents-in-teams/build-first-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Create your first agent
description: Learn how to build your agent in Microsoft Teams with the help of GitHub codespaces that opens Toolkit extension and step-by-step guides.
ms.localizationpriority: high
ms.date: 12/11/2024
ms.date: 06/25/2026
ms.topic: reference
---

Expand Down Expand Up @@ -145,7 +145,7 @@ Teams SDK is available for JavaScript, C#, and Python (dev preview). It provides

| Sample name | Description | .NET | Node.js | Python |
|--- |--- | --- | --- | --- |
| Contoso knowledge hub | An intelligent agent built on the Teams SDK that is designed to empower students in their academic and career journeys. The agent offers personalized support for course selection, study strategies, career development planning, and academic roadmap creation. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/agent-knowledge-hub/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/agent-knowledge-hub/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/agent-knowledge-hub/python) |
| Contoso knowledge hub | An intelligent agent built on the Teams SDK that is designed to empower students in their academic and career journeys. The agent offers personalized support for course selection, study strategies, career development planning, and academic roadmap creation. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/agent-knowledge-hub/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/agent-knowledge-hub/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/agent-knowledge-hub/python) |

## See also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Build Extensible Conversations
description: In this article, learn how to build extensible conversation for Microsoft Teams meeting chat with bots, cards, and message extensions.
ms.topic: article
ms.localizationpriority: medium
ms.date: 01/11/2023
ms.date: 06/25/2026
ms.owner: ginobuzz
---

Expand All @@ -23,7 +23,7 @@ The [Bot Framework](https://dev.botframework.com/) is a rich SDK used to create

| Sample name | Description | .NETCore | Node.js | Python | Java | Manifest |
|----------------|-----------------|--------------|----------------|----------------|----------------|----------------|
| Teams conversation bot | This app demonstrates bot conversation events, supporting Adaptive Cards, read receipts, and message update events. It includes immersive reader support for accessibility. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/python) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/java) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/csharp/demo-manifest/bot-conversation.zip) |
| Teams conversation bot | This app demonstrates bot conversation events, supporting Adaptive Cards, read receipts, and message update events. It includes immersive reader support for accessibility. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation/python) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation/java) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation/csharp/demo-manifest/bot-conversation.zip) |
| Bot samples | Set of bot framework v4 samples | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples#bots-samples-using-the-v4-sdk) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples#bots-samples-using-the-v4-sdk) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples#bots-samples-using-the-v4-sdk) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples#bots-samples-using-the-v4-sdk) |

## Message extensions
Expand Down Expand Up @@ -57,4 +57,4 @@ The following table provides the user types and lists the features that each use
* [Design dialogs for your Microsoft Teams app](../task-modules-and-cards/task-modules/design-teams-task-modules.md)
* [Receive all conversation messages with RSC](../bots/how-to/conversations/channel-messages-for-bots-and-agents.md)
* [Conversation basics](../bots/how-to/conversations/conversation-basics.md)
* [Adaptive Card](../task-modules-and-cards/cards/cards-reference.md#adaptive-card)
* [Adaptive Card](../task-modules-and-cards/cards/cards-reference.md#adaptive-card)
6 changes: 3 additions & 3 deletions msteams-platform/apps-in-teams-meetings/meeting-apps-apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ title: Enhance Meeting Experience with APIs
description: Learn meeting apps API references that are available for Teams client and Bot Framework SDKs with examples, code samples, and response codes.
ms.topic: article
ms.localizationpriority: medium
ms.author: vikasalmal
ms.author: nickwalk
ms.owner: kanchankaur
ms.date: 03/16/2026
ms.date: 06/25/2026
---

# Meeting apps APIs
Expand Down Expand Up @@ -765,7 +765,7 @@ await turnContext.SendActivityAsync(activity).ConfigureAwait(false);
# [JavaScript](#tab/javascript2)

* [SDK reference](/javascript/api/botbuilder-core/turncontext?view=botbuilder-ts-latest&preserve-view=true#botbuilder-core-turncontext-sendactivity)
* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/nodejs/bots/teamsConversationBot.js#L74)
* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/nodejs/bots/teamsConversationBot.js#L74)

```javascript
// MessageFactory.text(): Specifies the type of text data in a message attachment.
Expand Down
4 changes: 2 additions & 2 deletions msteams-platform/bots/bot-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Learn about bot events and activity handlers for messages, channels
ms.topic: article
ms.localizationpriority: medium
ms.owner: angovil
ms.date: 10/03/2024
ms.date: 06/25/2026
---

# Understand bot concepts
Expand Down Expand Up @@ -587,5 +587,5 @@ In addition to conventional bot features, you can also explore advanced features

| Sample name | Description | .NET | Node.js | Python |
|--- |--- | --- | --- | --- |
| Teams conversation bot | This app demonstrates bot conversation events, supporting Adaptive Cards, read receipts, and message update events. It includes immersive reader support for accessibility. |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/csharp)|[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/nodejs)|[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/python)|
| Teams conversation bot | This app demonstrates bot conversation events, supporting Adaptive Cards, read receipts, and message update events. It includes immersive reader support for accessibility. |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation/csharp)|[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation/nodejs)|[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation/python)|
| Bot samples | Set of Bot Framework v4 samples. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples#bots-samples-using-the-v4-sdk) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples#bots-samples-using-the-v4-sdk)|[View](https://github.com/OfficeDev/Microsoft-Teams-Samples#bots-samples-using-the-v4-sdk)|
4 changes: 2 additions & 2 deletions msteams-platform/bots/build-a-bot.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Bots in Teams
description: Learn to build a basic chatbot. Additionally, learn to migrate build an agent.
ms.localizationpriority: high
ms.date: 09/25/2024
ms.date: 06/25/2026
ms.topic: article
---

Expand Down Expand Up @@ -36,7 +36,7 @@ Let's start by building a bot. You can use Agents Toolkit, Bot Framework SDK, or

| # | I want to build ... | Here's a sample |
| --- | --- | --- |
| 1. | Conversational bot using Bot Framework SDK | - [Bot app with Node.js](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/nodejs) <br> - [Bot app with C#](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/csharp) <br> - [Bot app with Python](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/python) |
| 1. | Conversational bot using Bot Framework SDK | - [Bot app with Node.js](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation/nodejs) <br> - [Bot app with C#](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation/csharp) <br> - [Bot app with Python](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation/python) |
| 2. | Conversational bot using Agents Toolkit | [Create Teams conversation bot](how-to/conversations/channel-and-group-conversations.md) |

### Build an AI-powered Teams bot app
Expand Down
10 changes: 5 additions & 5 deletions msteams-platform/bots/build-conversational-capability.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ title: Conversations with a Bot
description: Learn about sending and receiving messages using a bot app
ms.topic: article
ms.localizationpriority: medium
ms.author: vikasalmal
ms.author: nickwalk
ms.owner: angovil
ms.date: 03/16/2025
ms.date: 06/25/2026
---

# Send and receive messages
Expand Down Expand Up @@ -161,7 +161,7 @@ export class MyBot extends TeamsActivityHandler {
# [Python](#tab/python1)

- [SDK reference](/python/api/botbuilder-core/botbuilder.core.activityhandler?view=botbuilder-py-latest&preserve-view=true#botbuilder-core-activityhandler-on-message-activity)
- [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/python/bots/teams_conversation_bot.py#L103)
- [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/python/bots/teams_conversation_bot.py#L103)

```python

Expand Down Expand Up @@ -469,7 +469,7 @@ protected override async Task OnMembersAddedAsync(IList<ChannelAccount> membersA
# [TypeScript](#tab/typescript2)

- [SDK reference](/javascript/api/botbuilder-core/turncontext?view=botbuilder-ts-latest&preserve-view=true#botbuilder-core-turncontext-sendactivity)
- [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/nodejs/bots/teamsConversationBot.js#L46)
- [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/nodejs/bots/teamsConversationBot.js#L46)

```typescript

Expand Down Expand Up @@ -781,7 +781,7 @@ It is not necessary for the new message to match the original in type. For examp
# [C#](#tab/csharp2)

- [SDK reference](/dotnet/api/microsoft.bot.builder.turncontext.updateactivityasync)
- [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L266)
- [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L266)

To update an existing message, pass a new `Activity` object with the existing activity ID to the `UpdateActivityAsync` method of the `TurnContext` class.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: OAuth 2.0 Bot Authentication with Azure
description: Learn how to enable authentication using third-party provider to a bot app in Teams using Entra ID. Learn to create and register bot resource group and service plan.
ms.topic: how-to
ms.localizationpriority: high
ms.date: 03/16/2026
ms.date: 06/25/2026
---

# Add authentication to your Teams bot
Expand Down Expand Up @@ -317,7 +317,7 @@ With the preliminary settings done, let's focus on the creation of the bot to us
- Set the `connectionName` to the name of the identity provider connection.
Depending on the characters in your bot secret, you might need to XML escape the password. For example, any ampersands (&) must be encoded as `&amp;`.

[!code-javascript[settings](~/../Microsoft-Teams-Samples/samples/bot-conversation-sso-quickstart/js/.env)]
[!code-javascript[settings](~/../Microsoft-Teams-Samples/samples/TeamsSDK/Archived/bot-conversation-sso-quickstart/js/.env)]

1. In the `teamsAppManifest` folder, open `manifest.json` and set `id` to your **Microsoft App ID** and `botId` to the **bot App ID** you saved at the time of the bot registration.

Expand Down Expand Up @@ -630,13 +630,13 @@ protected virtual Task OnSigninVerifyStateAsync(ITurnContext<IInvokeActivity> tu

**bots/dialogBot.js**

[!code-javascript[ActivityHandler](~/../Microsoft-Teams-Samples/samples/bot-conversation-sso-quickstart/js/bots/dialogBot.js?range=4-46)]
[!code-javascript[ActivityHandler](~/../Microsoft-Teams-Samples/samples/TeamsSDK/Archived/bot-conversation-sso-quickstart/js/bots/dialogBot.js?range=4-46)]

**bots/teamsBot.js**

The *Invoke Activity* must be forwarded to the dialog if the **OAuthPrompt** is used.

[!code-javascript[ActivityHandler](~/../Microsoft-Teams-Samples/samples/bot-conversation-sso-quickstart/js/bots/teamsBot.js?range=4-33)]
[!code-javascript[ActivityHandler](~/../Microsoft-Teams-Samples/samples/TeamsSDK/Archived/bot-conversation-sso-quickstart/js/bots/teamsBot.js?range=4-33)]

**dialogs/mainDialog.js**

Expand All @@ -645,15 +645,15 @@ Within a dialog step, use `beginDialog` to start the OAuth prompt, which asks th
- If the user is already signed in, it generates a token response event, without prompting the user.
- Otherwise, it prompts the user to sign in. The Azure Bot Service sends the token response event after the user attempts to sign in.

[!code-javascript[AddOAuthPrompt](~/../Microsoft-Teams-Samples/samples/bot-conversation-sso-quickstart/js/dialogs/mainDialog.js?range=50-52)]
[!code-javascript[AddOAuthPrompt](~/../Microsoft-Teams-Samples/samples/TeamsSDK/Archived/bot-conversation-sso-quickstart/js/dialogs/mainDialog.js?range=50-52)]

Within the following dialog step, check for the presence of a token in the result from the previous step. If it isn't null, then the user successfully signed in.

[!code-javascript[AddOAuthPrompt](~/../Microsoft-Teams-Samples/samples/bot-conversation-sso-quickstart/js/dialogs/mainDialog.js?range=50-64)]
[!code-javascript[AddOAuthPrompt](~/../Microsoft-Teams-Samples/samples/TeamsSDK/Archived/bot-conversation-sso-quickstart/js/dialogs/mainDialog.js?range=50-64)]

**dialogs/logoutDialog.js**

[!code-javascript[allow-logout](~/../Microsoft-Teams-Samples/samples/bot-conversation-sso-quickstart/js/dialogs/logoutDialog.js?range=31-42&highlight=7)]
[!code-javascript[allow-logout](~/../Microsoft-Teams-Samples/samples/TeamsSDK/Archived/bot-conversation-sso-quickstart/js/dialogs/logoutDialog.js?range=31-42&highlight=7)]

> [!div class="nextstepaction"]
> [I ran into an issue](https://github.com/MicrosoftDocs/msteams-docs/issues/new?template=Doc-Feedback.yaml&title=%5BI+ran+into+an+issue%5D+Handling+Invoke+Activity+using+JavaScript&&author=%40surbhigupta&pageUrl=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fbots%2Fhow-to%2Fauthentication%2Fadd-authentication%3Ftabs%3Ddotnet%252Cnode-js-dialog-sample%23handling-invoke-activity&contentSourceUrl=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmsteams-docs%2Fblob%2Fmain%2Fmsteams-platform%2Fbots%2Fhow-to%2Fauthentication%2Fadd-authentication.md&documentVersionIndependentId=70952f91-56e9-ff08-59f6-e237d4aaeca9&platformId=cc53b20b-69e0-cb70-1ca7-9b939c969c92&metadata=*%2BID%253A%2Be473e1f3-69f5-bcfa-bcab-54b098b59c80%2B%250A*%2BService%253A%2B%2A%2Amsteams%2A%2A)
Expand Down
4 changes: 2 additions & 2 deletions msteams-platform/bots/how-to/authentication/bot-sso-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Learn how to add code configuration, handle an access token, receiv
ms.topic: how-to
ms.localizationpriority: high
zone_pivot_groups: enable-sso
ms.date: 11/13/2024
ms.date: 06/25/2026
---
# Add code to enable SSO in your bot app

Expand Down Expand Up @@ -543,7 +543,7 @@ Use the following code snippet to handle the access token in case the app user s

| **Sample name** | **Description** | **C#** | **Node.js** |
| --- | --- | --- | --- |
| Bot conversation SSO quick start | Quickly set up Teams bot with SSO for seamless user authentication for one-on-one and group chats. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation-sso-quickstart/csharp_dotnetcore/BotConversationSsoQuickstart) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation-sso-quickstart/js) |
| Bot conversation SSO quick start | Quickly set up Teams bot with SSO for seamless user authentication for one-on-one and group chats. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation-sso-quickstart/csharp_dotnetcore/BotConversationSsoQuickstart) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation-sso-quickstart/js) |

::: zone-end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Bot Messages with AI-generated Content
description: Learn how to add an AI label, sensitivity labels, citations, and feedback buttons for bots built using Teams SDK or Bot Framework SDK.
ms.topic: article
ms.localizationpriority: medium
ms.date: 06/12/2026
ms.date: 06/25/2026
---

# Enhance AI-generated bot messages
Expand Down Expand Up @@ -562,7 +562,7 @@ For more information about `PredictedSayCommand`, see [PredictedSayCommand inter

| Sample name | Description | Node.js | .NET |
|:--|--|--|
| Teams conversation bot | This sample app displays the AI label, citation, feedback buttons, and sensitivity label in messages. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/nodejs) | NA |
| Teams conversation bot | This sample app displays the AI label, citation, feedback buttons, and sensitivity label in messages. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation/nodejs) | NA |
| Azure OpenAI on your data | This conversational bot uses Teams SDK and contains the AI label, feedback buttons, sensitivity label, and citation in its generated messages. | NA | [View](https://github.com/microsoft/teams-ai/tree/main/dotnet/samples/08.datasource.azureopenai) |

## See also
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Copilot Handoffs for Bots
description: Learn how to allow users to continue their conversation with custom engine agent from Microsoft 365 Copilot to your bot service.
ms.date: 09/16/2024
ms.date: 06/25/2026
ms.topic: article
ms.owner: ginobuzz
---
Expand Down Expand Up @@ -151,4 +151,4 @@ To enable copilot handoff in Teams, follow these steps:

|Sample name | Description | Node.js|
| ----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| Northwind inventory message extension | This sample is a Teams message extension that works as an agent for Microsoft 365 Copilot. It features copilot handoff and enables users to transition their chat from Microsoft 365 Copilot to Northwind Database. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-copilot-handoff/ts) |
| Northwind inventory message extension | This sample is a Teams message extension that works as an agent for Microsoft 365 Copilot. It features copilot handoff and enables users to transition their chat from Microsoft 365 Copilot to Northwind Database. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/msgext-copilot-handoff/ts) |
Loading