You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
4
4
ms.topic: how-to
5
5
ms.localizationpriority: high
6
-
ms.date: 03/16/2026
6
+
ms.date: 04/09/2026
7
7
---
8
8
9
9
# Add authentication to your Teams bot
@@ -16,7 +16,7 @@ See [OAuth 2 Simplified](https://aka.ms/oauth2-simplified) for a basic understan
16
16
17
17
In this article you'll learn:
18
18
19
-
-**How to create an authentication-enabled bot**. Use [cs-auth-sample][teams-auth-bot-cs] to handle user sign-in credentials and the generating the authentication token.
19
+
-**How to create an authentication-enabled bot**. Use [cs-auth-sample][teams-bot-auth-quickstart-cs] to handle user sign-in credentials and the generating the authentication token.
20
20
-**How to deploy the bot to Azure and associate it with an identity provider**. The provider issues a token based on user sign-in credentials. The bot can use the token to access resources, such as a mail service, which require authentication.
21
21
-**How to integrate the bot within Microsoft Teams**. Once the bot is integrated, you can sign in and exchange messages with it in a chat.
22
22
@@ -30,9 +30,9 @@ In this article you'll learn:
30
30
31
31
| Sample |
32
32
|:---|
33
-
|**Bot authentication** in [cs-auth-sample][teams-auth-bot-cs]|
34
-
|**Bot authentication** in [js-auth-sample][teams-auth-bot-js]|
35
-
|**Bot authentication** in [py-auth-sample][teams-auth-bot-py]|
33
+
|**Bot Auth Quickstart** in [cs-auth-sample][teams-bot-auth-quickstart-cs]|
34
+
|**Bot Auth Quickstart** in [js-auth-sample][teams-bot-auth-quickstart-js]|
35
+
|**Bot Auth Quickstart** in [py-auth-sample][teams-bot-auth-quickstart-py]|
36
36
37
37
## Create the resource group
38
38
@@ -283,7 +283,7 @@ With the preliminary settings done, let's focus on the creation of the bot to us
@@ -338,7 +338,7 @@ With the preliminary settings done, let's focus on the creation of the bot to us
338
338
339
339
# [Python](#tab/python)
340
340
341
-
1. Clone [py-auth-sample][teams-auth-bot-py] from the GitHub repository.
341
+
1. Clone [py-auth-sample][teams-bot-auth-quickstart-py] from the GitHub repository.
342
342
1. Update **config.py**:
343
343
344
344
- Set `CONNECTION_NAME` to the name of the OAuth connection setting you added to your bot.
@@ -393,7 +393,7 @@ Alternatively, while in Visual Studio, you can follow these steps:
393
393
## Test locally using Microsoft 365 Agents Playground
394
394
395
395
To test your bot locally, use the **Microsoft 365 Agents Playground**, which supports both agents and bots.
396
-
For setup and testing instructions, see [Test your agent locally with the Microsoft 365 Agents Toolkit](/microsoft-365/agents-sdk/test-with-toolkit-project?tabs=windows).
396
+
For setup and testing instructions, see [Test your agent locally with the Microsoft 365 Agents Playground](/microsoft-365/agents-sdk/test-with-toolkit-project?tabs=windows).
397
397
398
398
## Test the deployed bot
399
399
@@ -615,8 +615,8 @@ This sample demonstrates how to implement Single Sign-On (SSO) authentication fo
0 commit comments