diff --git a/msteams-platform/agents-in-teams/build-first-agent.md b/msteams-platform/agents-in-teams/build-first-agent.md index 61dfa568ade..b015ee7ade1 100644 --- a/msteams-platform/agents-in-teams/build-first-agent.md +++ b/msteams-platform/agents-in-teams/build-first-agent.md @@ -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 --- @@ -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 diff --git a/msteams-platform/apps-in-teams-meetings/build-extensible-conversation-for-meeting-chat.md b/msteams-platform/apps-in-teams-meetings/build-extensible-conversation-for-meeting-chat.md index fc33d6858d4..df0dd6528ea 100644 --- a/msteams-platform/apps-in-teams-meetings/build-extensible-conversation-for-meeting-chat.md +++ b/msteams-platform/apps-in-teams-meetings/build-extensible-conversation-for-meeting-chat.md @@ -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 --- @@ -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 @@ -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) \ No newline at end of file +* [Adaptive Card](../task-modules-and-cards/cards/cards-reference.md#adaptive-card) diff --git a/msteams-platform/apps-in-teams-meetings/meeting-apps-apis.md b/msteams-platform/apps-in-teams-meetings/meeting-apps-apis.md index a948894b0ad..5804bcc8d92 100644 --- a/msteams-platform/apps-in-teams-meetings/meeting-apps-apis.md +++ b/msteams-platform/apps-in-teams-meetings/meeting-apps-apis.md @@ -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 @@ -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. diff --git a/msteams-platform/bots/bot-concepts.md b/msteams-platform/bots/bot-concepts.md index 46d883091d0..96ae09fb953 100644 --- a/msteams-platform/bots/bot-concepts.md +++ b/msteams-platform/bots/bot-concepts.md @@ -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 @@ -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)| diff --git a/msteams-platform/bots/build-a-bot.md b/msteams-platform/bots/build-a-bot.md index e79d46315a8..babbd96012b 100644 --- a/msteams-platform/bots/build-a-bot.md +++ b/msteams-platform/bots/build-a-bot.md @@ -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 --- @@ -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)
- [Bot app with C#](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/csharp)
- [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)
- [Bot app with C#](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation/csharp)
- [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 diff --git a/msteams-platform/bots/build-conversational-capability.md b/msteams-platform/bots/build-conversational-capability.md index a463b6e3e40..755f3918200 100644 --- a/msteams-platform/bots/build-conversational-capability.md +++ b/msteams-platform/bots/build-conversational-capability.md @@ -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 @@ -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 @@ -469,7 +469,7 @@ protected override async Task OnMembersAddedAsync(IList 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 @@ -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. diff --git a/msteams-platform/bots/how-to/authentication/add-authentication.md b/msteams-platform/bots/how-to/authentication/add-authentication.md index 6a4bd2bab3d..a192f3784a0 100644 --- a/msteams-platform/bots/how-to/authentication/add-authentication.md +++ b/msteams-platform/bots/how-to/authentication/add-authentication.md @@ -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 @@ -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 `&`. - [!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. @@ -630,13 +630,13 @@ protected virtual Task OnSigninVerifyStateAsync(ITurnContext 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** @@ -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) diff --git a/msteams-platform/bots/how-to/authentication/bot-sso-code.md b/msteams-platform/bots/how-to/authentication/bot-sso-code.md index e6fe22ee464..2169a53c580 100644 --- a/msteams-platform/bots/how-to/authentication/bot-sso-code.md +++ b/msteams-platform/bots/how-to/authentication/bot-sso-code.md @@ -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 @@ -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 diff --git a/msteams-platform/bots/how-to/bot-messages-ai-generated-content.md b/msteams-platform/bots/how-to/bot-messages-ai-generated-content.md index 0f7a4c254a4..10e5b66dc88 100644 --- a/msteams-platform/bots/how-to/bot-messages-ai-generated-content.md +++ b/msteams-platform/bots/how-to/bot-messages-ai-generated-content.md @@ -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 @@ -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 diff --git a/msteams-platform/bots/how-to/conversations/bot-copilot-handoff.md b/msteams-platform/bots/how-to/conversations/bot-copilot-handoff.md index ede3d45070e..951096ff18d 100644 --- a/msteams-platform/bots/how-to/conversations/bot-copilot-handoff.md +++ b/msteams-platform/bots/how-to/conversations/bot-copilot-handoff.md @@ -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 --- @@ -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) | diff --git a/msteams-platform/bots/how-to/conversations/channel-and-group-conversations.md b/msteams-platform/bots/how-to/conversations/channel-and-group-conversations.md index 49debc74318..ce944a52660 100644 --- a/msteams-platform/bots/how-to/conversations/channel-and-group-conversations.md +++ b/msteams-platform/bots/how-to/conversations/channel-and-group-conversations.md @@ -3,9 +3,9 @@ title: Channel/Group Conversation Chat Bot description: Learn how to create new conversation threads, user and tag mentions, and send message on installation. Explore Teams file upload sample (.NET, JavaScript, Python). ms.topic: article ms.localizationpriority: medium -ms.author: anclear +ms.author: nickwalk ms.owner: angovil -ms.date: 01/23/2025 +ms.date: 06/25/2026 --- # Channel and group chat conversations with a bot @@ -56,7 +56,7 @@ The following code shows an example of retrieving mentions: * [SDK reference](/dotnet/api/microsoft.bot.schema.activity.getmentions?view=botbuilder-dotnet-stable&preserve-view=true) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-archive-groupchat-messages/csharp/FetchGroupChatMessages/Bots/ActivityBot.cs#L182) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-archive-groupchat-messages/csharp/FetchGroupChatMessages/Bots/ActivityBot.cs#L182) ```csharp protected override async Task OnMessageActivityAsync(ITurnContext turnContext, CancellationToken cancellationToken) diff --git a/msteams-platform/bots/how-to/conversations/send-proactive-messages.md b/msteams-platform/bots/how-to/conversations/send-proactive-messages.md index 7120a93cb70..0830cbd0951 100644 --- a/msteams-platform/bots/how-to/conversations/send-proactive-messages.md +++ b/msteams-platform/bots/how-to/conversations/send-proactive-messages.md @@ -4,7 +4,7 @@ description: Learn how to send proactive messages with your Teams bot, install y ms.topic: article ms.owner: angovil ms.localizationpriority: high -ms.date: 04/23/2026 +ms.date: 06/25/2026 --- # Proactive messages @@ -84,7 +84,7 @@ For `serviceUrl`, use the value from an incoming activity triggering the flow or > > * For any reply to messages, use `serviceURL` from the incoming request. For more information, see [Activity.ServiceUrl](/dotnet/api/microsoft.bot.schema.activity.serviceurl?view=botbuilder-dotnet-stable&preserve-view=true) property. -For a code sample, see [`MessageAllMembersAsync`](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L260&preserve-view=true). +For a code sample, see [`MessageAllMembersAsync`](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L260&preserve-view=true). You can get the conversation when the app is installed for the first time. After the conversation is created, [get the conversation ID](#get-the-conversation-id). The `conversationId` is available in the conversation update events. @@ -342,7 +342,7 @@ async SendNotificationToAllUsersAsync(context) { # [Python](#tab/python) * [SDK reference](/python/api/botbuilder-core/botbuilder.core.botframeworkadapter?view=botbuilder-py-latest&preserve-view=true#botbuilder-core-botframeworkadapter-create-conversation) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/python/bots/teams_conversation_bot.py#L200) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/python/bots/teams_conversation_bot.py#L200) ```python # Send message to all members. @@ -424,14 +424,14 @@ The following table provides a simple code sample that incorporates basic conver | **Sample Name** | **Description** | **.NET** | **Node.js** | **Python** | **Manifest** |---------------|--------------|--------|-------------|--------|--------| -| Teams Conversation Basics | This sample app shows how to use different bot conversation events available in bot framework v4 for personal and teams scope.| [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/blob/main/samples/bot-conversation/csharp/demo-manifest/bot-conversation.zip) +| Teams Conversation Basics | This sample app shows how to use different bot conversation events available in bot framework v4 for personal and teams scope.| [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/blob/main/samples/TeamsSDK/Archived/bot-conversation/csharp/demo-manifest/bot-conversation.zip) | Start new thread in a channel | This sample shows how to start a thread in a specific Team's channel using Bot Framework v4. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-initiate-thread-in-channel/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-initiate-thread-in-channel/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-initiate-thread-in-channel/python) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-initiate-thread-in-channel/csharp/demo-manifest/bot-initiate-thread-in-channel.zip) | | Proactive installation of app and sending proactive notifications | This sample shows how you can use proactive installation of app for users and send proactive notifications by calling Microsoft Graph APIs. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/graph-proactive-installation/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/graph-proactive-installation/nodejs) | NA | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/graph-proactive-installation/csharp/demo-manifest/graph-proactive-installation.zip) -| Proactive Messaging | This is a sample that shows how to save user's conversation reference information to send proactive reminder message using Bots. | [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-proactive-messaging-teamsfx) | NA | -| Teams Conversation Bot | This sample shows how to incorporate basic conversational flow into a Teams application. You can also use this sample to learn how to get `serviceURL` from the incoming request. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/csharp/Bots/TeamsConversationBot.cs) | NA | NA | NA | +| Proactive Messaging | This is a sample that shows how to save user's conversation reference information to send proactive reminder message using Bots. | [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/bot-proactive-messaging-teamsfx) | NA | +| Teams Conversation Bot | This sample shows how to incorporate basic conversational flow into a Teams application. You can also use this sample to learn how to get `serviceURL` from the incoming request. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/csharp/Bots/TeamsConversationBot.cs) | NA | NA | NA | > [!div class="nextstepaction"] -> [More code sample of proactive messaging](/samples/officedev/msteams-samples-proactive-messaging/msteams-samples-proactive-messaging/) +> [More code sample of proactive messaging](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-proactive-messaging/csharp) ## Next step diff --git a/msteams-platform/bots/how-to/conversations/subscribe-to-conversation-events.md b/msteams-platform/bots/how-to/conversations/subscribe-to-conversation-events.md index 6f4ac003568..21dd722b476 100644 --- a/msteams-platform/bots/how-to/conversations/subscribe-to-conversation-events.md +++ b/msteams-platform/bots/how-to/conversations/subscribe-to-conversation-events.md @@ -4,9 +4,9 @@ author: WashingtonKayaker description: Learn about conversation update, message reaction, app installation update events, uninstall behavior, and events and error handling for Microsoft Teams bots. ms.topic: article ms.localizationpriority: medium -ms.author: anclear +ms.author: nickwalk ms.owner: angovil -ms.date: 03/16/2026 +ms.date: 06/25/2026 --- # Conversation events in your Teams bot @@ -71,7 +71,7 @@ The following code shows an example of a channel created event: # [C#](#tab/dotnet) * [SDK reference](/dotnet/api/microsoft.bot.builder.teams.teamsactivityhandler.onteamschannelcreatedasync?view=botbuilder-dotnet-stable&preserve-view=true) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L335) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L335) ```csharp protected override async Task OnTeamsChannelCreatedAsync(ChannelInfo channelInfo, TeamInfo teamInfo, ITurnContext turnContext, CancellationToken cancellationToken) @@ -170,7 +170,7 @@ The following code shows an example of a channel renamed event: # [C#](#tab/dotnet) * [SDK reference](/dotnet/api/microsoft.bot.builder.teams.teamsactivityhandler.onteamschannelrenamedasync?view=botbuilder-dotnet-stable&preserve-view=true) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L341) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L341) ```csharp protected override async Task OnTeamsChannelRenamedAsync(ChannelInfo channelInfo, TeamInfo teamInfo, ITurnContext turnContext, CancellationToken cancellationToken) @@ -262,7 +262,7 @@ The following code shows an example of a channel deleted event: # [C#](#tab/dotnet) * [SDK reference](/dotnet/api/microsoft.bot.builder.teams.teamsactivityhandler.onteamschanneldeletedasync?view=botbuilder-dotnet-stable&preserve-view=true) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L347) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L347) ```csharp protected override async Task OnTeamsChannelDeletedAsync(ChannelInfo channelInfo, TeamInfo teamInfo, ITurnContext turnContext, CancellationToken cancellationToken) @@ -762,7 +762,7 @@ The following code shows an example of a team renamed event: # [C#](#tab/dotnet) * [SDK reference](/dotnet/api/microsoft.bot.builder.teams.teamsactivityhandler.onteamsteamrenamedasync?view=botbuilder-dotnet-stable&preserve-view=true#definition) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L370) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L370) ```csharp protected override async Task OnTeamsTeamRenamedAsync(TeamInfo teamInfo, ITurnContext turnContext, CancellationToken cancellationToken) @@ -1239,11 +1239,11 @@ protected override async Task OnReactionsAddedAsync(IList messa # [TypeScript](#tab/typescript) * [SDK reference](/javascript/api/botbuilder-core/activityhandler?view=botbuilder-ts-latest&preserve-view=true#botbuilder-core-activityhandler-onreactionsadded) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/nodejs/bots/teamsConversationBot.js#L55) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/nodejs/bots/teamsConversationBot.js#L55) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/nodejs/bots/teamsConversationBot.js#L55) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/nodejs/bots/teamsConversationBot.js#L55) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/nodejs/bots/teamsConversationBot.js#L55) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/nodejs/bots/teamsConversationBot.js#L55) @@ -1369,11 +1369,11 @@ protected override async Task OnReactionsRemovedAsync(IList mes * [SDK reference](/javascript/api/botbuilder-core/activityhandler?view=botbuilder-ts-latest&preserve-view=true#botbuilder-core-activityhandler-onreactionsremoved) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/nodejs/bots/teamsConversationBot.js#L63) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/nodejs/bots/teamsConversationBot.js#L63) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/nodejs/bots/teamsConversationBot.js#L63) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/nodejs/bots/teamsConversationBot.js#L63) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/nodejs/bots/teamsConversationBot.js#L63) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/nodejs/bots/teamsConversationBot.js#L63) @@ -1494,7 +1494,7 @@ In this example, the `conversation.id` of the `conversationUpdate` and `installa # [C#](#tab/dotnet) * [SDK reference](/dotnet/api/microsoft.bot.builder.activityhandler.oninstallationupdateactivityasync?view=botbuilder-dotnet-stable&preserve-view=true) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L73) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-conversation/csharp/Bots/TeamsConversationBot.cs#L73) ```csharp protected override async Task OnInstallationUpdateActivityAsync(ITurnContext turnContext, CancellationToken cancellationToken) @@ -1523,7 +1523,7 @@ protected override async Task OnInstallationUpdateAddAsync(ITurnContext [!NOTE] > If you remove any commands from your manifest, you must redeploy your app to implement the changes. In general, any changes to the manifest require you to redeploy your app. - ## Next step > [!div class="nextstepaction"] diff --git a/msteams-platform/bots/how-to/includes/conversational-bot-include.md b/msteams-platform/bots/how-to/includes/conversational-bot-include.md index 87d892f0cfb..52ca8da2902 100644 --- a/msteams-platform/bots/how-to/includes/conversational-bot-include.md +++ b/msteams-platform/bots/how-to/includes/conversational-bot-include.md @@ -3,8 +3,8 @@ title: Build an conversational bot description: Learn about creating a conversational bot ms.topic: overview ms.localizationpriority: high -ms-author: surbhigupta -ms.date: 01/29/2023 +ms-author: nickwalk +ms.date: 06/25/2026 --- ## Build a conversational bot @@ -56,7 +56,7 @@ The following code shows an example of retrieving mentions: * [SDK reference](/dotnet/api/microsoft.bot.schema.activity.getmentions?view=botbuilder-dotnet-stable&preserve-view=true) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-archive-groupchat-messages/csharp/FetchGroupChatMessages/Bots/ActivityBot.cs#L182) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/bot-archive-groupchat-messages/csharp/FetchGroupChatMessages/Bots/ActivityBot.cs#L182) ```csharp protected override async Task OnMessageActivityAsync(ITurnContext turnContext, CancellationToken cancellationToken) diff --git a/msteams-platform/includes/bots/teams-bot-samples.md b/msteams-platform/includes/bots/teams-bot-samples.md index 7fe5c805d16..38e6cc69e64 100644 --- a/msteams-platform/includes/bots/teams-bot-samples.md +++ b/msteams-platform/includes/bots/teams-bot-samples.md @@ -3,7 +3,7 @@ title: Teams bot samples description: With this learning module, learn about Teams samples for Bot Framework, which includes working samples demonstrating the functionality. localization_priority: Normal ms.topic: overview -ms.date: 02/26/2025 +ms.date: 06/25/2026 --- ## Code sample @@ -12,8 +12,8 @@ For complete working samples demonstrating the functionality, see the following | **Sample name** | **Description** | **.NET** | **Node.js** | **Python** | **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/csharp/demo-manifest/bot-conversation.zip) | -| Authentication with OAuthPrompt| This sample app demonstrate how an Bot can use Teams authentication. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/csharp)| [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation-sso-quickstart/js)| [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/python) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/csharp/demo-manifest/bot-teams-authentication.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/csharp/demo-manifest/bot-conversation.zip) | +| Authentication with OAuthPrompt| This sample app demonstrate how an Bot can use Teams authentication. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/csharp)| [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation-sso-quickstart/js)| [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/python) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/csharp/demo-manifest/bot-teams-authentication.zip) | |Teams file upload | This bot sample for Teams demonstrates file upload capabilities using Bot Framework v4, enabling users to upload files and view inline images within chats. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-file-upload/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-file-upload/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-file-upload/python) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-file-upload/csharp/demo-manifest/bot-file-upload.zip) | | Dialog (referred as task module in TeamsJS v1.x) | This sample app demonstrate how to use Dialogs (referred as task modules in TeamsJS v1.x) using Bot Framework v4 | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-task-module/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-task-module/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-task-module/python) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-task-module/csharp/demo-manifest/bot-task-module.zip) | | Start a new thread in a channel | This app demonstrates how to start a conversation thread in a specific Teams channel using Bot Framework v4. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-initiate-thread-in-channel/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-initiate-thread-in-channel/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-initiate-thread-in-channel/python) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-initiate-thread-in-channel/csharp/demo-manifest/bot-initiate-thread-in-channel.zip) | diff --git a/msteams-platform/includes/messaging-extensions/msgex-sso-code.md b/msteams-platform/includes/messaging-extensions/msgex-sso-code.md index aab5f4f1d87..814a8f5a19f 100644 --- a/msteams-platform/includes/messaging-extensions/msgex-sso-code.md +++ b/msteams-platform/includes/messaging-extensions/msgex-sso-code.md @@ -221,7 +221,6 @@ To update your app's code: > [!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+Add+code+to+request+a+token&&author=%40surbhigupta&pageUrl=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fbots%2Fhow-to%2Fauthentication%2Fbot-sso-code&contentSourceUrl=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmsteams-docs%2Fblob%2Fmain%2Fmsteams-platform%2Fbots%2Fhow-to%2Fauthentication%2Fbot-sso-code.md&documentVersionIndependentId=039ff5cc-7243-ce4b-527e-c152755eeb72&platformId=915789b2-9617-01bb-fb21-d6789a634ed8&metadata=*%2BID%253A%2Be473e1f3-69f5-bcfa-bcab-54b098b59c80%2B%250A*%2BService%253A%2B%2A%2Amsteams%2A%2A) - ### Consent dialog for getting access token If the app user is using your app for the first time, they're required to consent for SSO authentication. @@ -365,8 +364,10 @@ if(valueObject["authentication"] !=null) if(authenticationObject["token"] !=null) } ``` + > [!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+Add+code+to+receive+the+token&&author=%40surbhigupta&pageUrl=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fbots%2Fhow-to%2Fauthentication%2Fbot-sso-code%3Ftabs%3Dcs1%252Ccs2%252Ccs3%252Ccs4%252Ccs5%26pivots%3Dmex-app%23add-code-to-receive-the-token&contentSourceUrl=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmsteams-docs%2Fblob%2Fmain%2Fmsteams-platform%2Fbots%2Fhow-to%2Fauthentication%2Fbot-sso-code.md&documentVersionIndependentId=039ff5cc-7243-ce4b-527e-c152755eeb72&platformId=915789b2-9617-01bb-fb21-d6789a634ed8&metadata=*%2BID%253A%2Be473e1f3-69f5-bcfa-bcab-54b098b59c80%2B%250A*%2BService%253A%2B%2A%2Amsteams%2A%2A) +> ### Validate the access token Web APIs on your server must decode the access token and verify if it's sent from the client. @@ -597,6 +598,6 @@ This section provides bot authentication v3 SDK sample. | **Sample name** | **Description** | **.NET** | **Node.js** | **Python** | **Manifest** | |---------------|------------|------------|-------------|---------------|---------------| -| Bot authentication | This sample app demonstrate how an Bot can use Teams authentication. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation-sso-quickstart/js) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/python) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/csharp/demo-manifest/bot-teams-authentication.zip)| +| Bot authentication | This sample app demonstrate how an Bot can use Teams authentication. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation-sso-quickstart/js) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/python) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/csharp/demo-manifest/bot-teams-authentication.zip)| | Tab, bot, and Message extension (ME) SSO | This sample app demonstrates Teams SSO integration for Tab, Bot, and Messaging Extension, using C# and Microsoft Entra ID for secure authentication. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsJS/app-sso/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsJS/app-sso/nodejs) | NA |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsJS/app-sso/csharp/demo-manifest/App-SSO.zip)| |Tab, bot, and Message extension | This sample showcases Microsoft Entra ID and Facebook authentication across bots, tabs, and messaging extensions in Microsoft Teams. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-complete-auth/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-complete-auth/nodejs) | NA |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-complete-auth/csharp/demo-manifest/App-Complete-Auth.zip)| diff --git a/msteams-platform/m365-apps/extend-m365-teams-message-extension.md b/msteams-platform/m365-apps/extend-m365-teams-message-extension.md index f185c85f894..30058c1a3a5 100644 --- a/msteams-platform/m365-apps/extend-m365-teams-message-extension.md +++ b/msteams-platform/m365-apps/extend-m365-teams-message-extension.md @@ -1,7 +1,7 @@ --- title: Extend Message Extension to Outlook description: Learn how to update search-based message extension to run in Outlook, add Microsoft 365 channel for bot, and update Microsoft Entra app registration for SSO. -ms.date: 02/06/2025 +ms.date: 06/25/2026 ms.topic: tutorial ms.localizationpriority: high ms.subservice: m365apps @@ -218,7 +218,7 @@ Use the [Teams developer community channels](/microsoftteams/platform/feedback) | **Sample Name** | **Description** | **Node.js** | |---------------|--------------|--------| | NPM Search Connector | Teams Toolkit sample app to build a message extension app. Works in Teams and Outlook. | [View](https://github.com/OfficeDev/TeamsFx-Samples/tree/v2.1.0/NPM-search-connector-M365) | -| Teams Link Unfurling | This sample app showcases a Node.js bot that implements link unfurling within Teams messaging extensions. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-link-unfurling/nodejs) | +| Teams Link Unfurling | This sample app showcases a Node.js bot that implements link unfurling within Teams messaging extensions. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/msgext-link-unfurling/nodejs) | | Tab in Stageview | This sample app demonstrates the use of Teams tab in stage view using Node.js, featuring collaborative elements and interactive capabilities. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/tab-stage-view/nodejs) | | Teams action-based message extension for Microsoft 365| Teams Toolkit sample app to build a message extension app. Works in Teams and Outlook. | [View](https://github.com/OfficeDev/microsoft-365-agents-toolkit/tree/dev/templates/vsc/js) | diff --git a/msteams-platform/messaging-extensions/dev-guidelines-agents.md b/msteams-platform/messaging-extensions/dev-guidelines-agents.md index ffa4d2e5ad9..a333eb5ac35 100644 --- a/msteams-platform/messaging-extensions/dev-guidelines-agents.md +++ b/msteams-platform/messaging-extensions/dev-guidelines-agents.md @@ -2,9 +2,9 @@ title: Development Guidelines for Agents description: Discover the essential guidelines and best practices to create, upgrade, and optimize agents for Microsoft 365 Copilot. ms.topic: article -author: v-preethah +author: nickwalk ms.localizationpriority: high -ms.date: 09/16/2024 +ms.date: 06/25/2026 ms.collection: ce-skilling-ai-copilot --- @@ -700,7 +700,7 @@ Agents customize and extend the Microsoft 365 Copilot experience by bringing mor | Sample name | Description | TypeScript | |----------------|-----------------|--------------| -| Northwind inventory message extension | This sample implements a Teams message extension that can be used as a plugin for Microsoft 365 Copilot. The message extension allows users to query the Northwind Database. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-copilot-handoff/ts) | +| Northwind inventory message extension | This sample implements a Teams message extension that can be used as a plugin for Microsoft 365 Copilot. The message extension allows users to query the Northwind Database. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/msgext-copilot-handoff/ts) | ## See also diff --git a/msteams-platform/messaging-extensions/how-to/search-commands/respond-to-search.md b/msteams-platform/messaging-extensions/how-to/search-commands/respond-to-search.md index 73e7b468f37..c0ecfa38d1d 100644 --- a/msteams-platform/messaging-extensions/how-to/search-commands/respond-to-search.md +++ b/msteams-platform/messaging-extensions/how-to/search-commands/respond-to-search.md @@ -2,8 +2,8 @@ title: Respond to Search Command in Teams description: Learn how to respond to the search command from a message extension in a Microsoft Teams app. Understand how to respond to the user request. ms.topic: article -ms.author: anclear -ms.date: 03/06/2025 +ms.author: nickwalk +ms.date: 06/25/2026 ms.localizationpriority: medium --- # Respond to search command @@ -30,7 +30,7 @@ The request parameters are found in the `value` object in the request, which inc # [C#/.NET](#tab/dotnet1) * [SDK reference](/dotnet/api/microsoft.bot.builder.teams.teamsactivityhandler.onteamsmessagingextensionqueryasync?view=botbuilder-dotnet-stable&preserve-view=true) -* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/msgext-link-unfurling/csharp/Bots/LinkUnfurlingBot.cs#L32) +* [Sample code reference](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/TeamsSDK/Archived/msgext-link-unfurling/csharp/Bots/LinkUnfurlingBot.cs#L32) ```csharp protected override async Task OnTeamsMessagingExtensionQueryAsync(ITurnContext turnContext, MessagingExtensionQuery query, CancellationToken cancellationToken) diff --git a/msteams-platform/messaging-extensions/what-are-messaging-extensions.md b/msteams-platform/messaging-extensions/what-are-messaging-extensions.md index 932f8963546..af6d4967a9d 100644 --- a/msteams-platform/messaging-extensions/what-are-messaging-extensions.md +++ b/msteams-platform/messaging-extensions/what-are-messaging-extensions.md @@ -3,9 +3,9 @@ title: Message extensions description: Learn how to build message extensions and the scenarios where they are used. Explore samples on action and search based message extensions. ms.localizationpriority: medium ms.topic: overview -ms.author: anclear +ms.author: nickwalk ms.owner: slamba -ms.date: 01/23/2025 +ms.date: 06/25/2026 --- # Build message extensions @@ -146,4 +146,4 @@ The following table helps you select a message extension type to get started: | Message extension with search-based commands | This sample demonstrates how to create a Message Extension in Microsoft Teams that allows users to perform searches and retrieve results. | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-search/csharp) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-search/nodejs) | [View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-search/python) |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-search/csharp/demo-manifest/msgext-search.zip) |Message extension action preview| This sample app illustrates how to utilize action previews in Teams Message Extensions, allowing users to create cards from input in a Task Module. It showcases bot interactions that enhance user engagement by attributing messages to users. |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-action-preview/csharp)|[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-action-preview/nodejs) |NA|[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-action-preview/csharp/demo-manifest/msgext-action-preview.zip) | |Message extension action for task scheduling|This sample demonstrates a Message Extension that allows users to schedule tasks and receive reminder cards in Microsoft Teams.|[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-message-reminder/csharp)|[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-message-reminder/nodejs)| NA |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-message-reminder/csharp/demo-manifest/msgext-message-reminder.zip)| -| Northwind inventory message extension| This sample implements a Teams message extension that can be used as a plugin for Microsoft 365 Copilot. The message extension allows users to query the Northwind Database. | NA |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-copilot-handoff/ts) |NA |NA +| Northwind inventory message extension| This sample implements a Teams message extension that can be used as a plugin for Microsoft 365 Copilot. The message extension allows users to query the Northwind Database. | NA |[View](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/msgext-copilot-handoff/ts) |NA |NA diff --git a/msteams-platform/teams-faq.md b/msteams-platform/teams-faq.md index 0e276db251a..a5f4def8c1d 100644 --- a/msteams-platform/teams-faq.md +++ b/msteams-platform/teams-faq.md @@ -2,7 +2,7 @@ title: Teams Developer Documentation - FAQs description: In this article, check FAQS on Adaptive Card Previewer, bots, Live Share, Microsoft 365 Chat, Teams AI library, Teams SDK, Partner Center, and other Teams FAQs. ms.topic: reference -ms.date: 01/23/2025 +ms.date: 06/25/2026 ms.localizationpriority: high ms.owner: angovil --- @@ -1049,7 +1049,7 @@ Configure the application you're using to only execute HTML encoding of the scop If you use Agents Toolkit to build your app, see [Add single sign-on to Teams app](toolkit/add-single-sign-on.md) for more information. -For more information about Node js code sample, see [Bot SSO quick-start](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation-sso-quickstart/js). +For more information about Node js code sample, see [Bot SSO quick-start](https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/TeamsSDK/Archived/bot-conversation-sso-quickstart/js).