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
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/chat/quickstart-botframework-integration.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,11 +42,11 @@ To use Azure Communication Services chat as a channel in Azure Bot Service, firs
42
42
43
43
### Create an Azure Bot Service resource
44
44
45
-
First, [create an Azure Bot Service resource in the Azure portal](/azure/bot-service/abs-quickstart?tabs=userassigned). Communication Services Chat channel supports managed identity bots and single-tenant bots. This example uses a *managed identity* bot, [add the managed identity to your app service](/azure/bot-service/abs-quickstart?view=azure-bot-service-4.0&tabs=userassigned#to-update-your-app-service)
45
+
First, [create an Azure Bot Service resource in the Azure portal](/azure/bot-service/abs-quickstart?tabs=userassigned). Communication Services Chat channel supports managed identity bots and single-tenant bots.
46
46
47
-
To set up a single-tenant bot, review [Bot identity information](/azure/bot-service/bot-builder-authentication?tabs=userassigned%2Caadv2%2Ccsharp#bot-identity-information).
47
+
This example demonstrates how to use a *[managed identity](/azure/bot-service/abs-quickstart?tabs=userassigned#bot-identity-information)* with your bot. If you're instead using single-tenant bot, refer to the instruction for setting up [single-tenant Bot identity](azure/bot-service/abs-quickstart?tabs=singletenant#bot-identity-information).
48
48
49
-
For a managed identity bot, you might have to [update the bot service identity](/azure/bot-service/bot-builder-authentication?tabs=userassigned%2Caadv2%2Ccsharp#to-update-your-app-service).
49
+
For managed identity bots, make sure to also [update your app with Bot Service identity](/azure/bot-service/abs-quickstart?view=azure-bot-service-4.0&tabs=userassigned#to-update-your-app-service) to ensure proper configuration.
50
50
51
51
### Get the bot's app ID and app password
52
52
@@ -101,14 +101,14 @@ The final step to create a bot is to deploy the web app. For this quickstart, us
101
101
102
102
1. In Visual Studio, open the [Echo Bot project](https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/csharp_dotnetcore/02.echo-bot).
103
103
104
-
1. In the Visual Studio project, open the *Appsettings.json* file. Paste the [Microsoft app ID and app password](#get-the-bots-app-id-and-app-password) you copied earlier:
104
+
1. In the Visual Studio project, open the *Appsettings.json* file. Populate the following with the [Microsoft app ID](#create-a-messaging-endpoint-for-the-bot) and tenant ID:
105
105
106
106
```json
107
107
{
108
108
"MicrosoftAppType": "UserAssignedMSI"
109
109
"MicrosoftAppId": "<Client ID of the user-assigned managed identity>",
110
110
"MicrosoftAppPassword": "", // Not applicable. Leave this blank for a user-assigned managed identity bot.
111
-
"MicrosoftAppTenantId": "The tenant ID of the user-assigned managed identity"
111
+
"MicrosoftAppTenantId": "<The tenant ID of the user-assigned managed identity>"
0 commit comments