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
{{ message }}
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: samples/csharp_dotnetcore/86.bot-authentication-fic/README.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,9 @@ This bot uses `FederatedServiceClientCredentialsFactory` which is registered in
24
24
- Record the client ID of the managed identity.
25
25
26
26
- For a new bot
27
+
- Create an App Service
28
+
- Add the User managed identity created in previous step to the Azure App Service under Configuration -> Identity -> User Assigned Managed Identity.
29
+
- Record the **Default domain** on the **Overview** tab
27
30
- Create Azure App and Bot
28
31
- Create App Registration
29
32
- This can be either Single or Multi tenant.
@@ -35,6 +38,7 @@ This bot uses `FederatedServiceClientCredentialsFactory` which is registered in
35
38
- Enter name for the credential and click on Add.
36
39
37
40
- Create an **Azure Bot** in the desired resource group and use the App Registration from the previous step.
41
+
- Update the **Messaging endpoint** on the **Configuration** tab to: https://{{default-domain}}/api/messages
38
42
39
43
- For an existing bot
40
44
- Navigate to the **App Registration** for the **Azure Bot**
@@ -48,9 +52,9 @@ This bot uses `FederatedServiceClientCredentialsFactory` which is registered in
48
52
49
53
- Set appsettings.json variables
50
54
51
-
- MicrosoftAppType: {SingTenant | MultiTenant}
55
+
- MicrosoftAppType: SingTenant
52
56
53
-
- MicrosoftAppId: {appId}
57
+
- MicrosoftAppId: {bot-appId}
54
58
55
59
- MicrosoftAppTenantId: {tenantId}
56
60
@@ -60,7 +64,12 @@ This bot uses `FederatedServiceClientCredentialsFactory` which is registered in
60
64
61
65
## Deploy the bot to Azure
62
66
63
-
To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](https://aka.ms/azuredeployment) for a complete list of deployment instructions.
67
+
The easiest way to deploy the bot to the App Service for testing is using the Visual Studio **Publish** tool.
68
+
- Right clin the project and select **Publish**
69
+
- Click **+ New Profile**
70
+
-**Azure** -> **Azure App Service (Windows)**
71
+
- Select the existing App Service, the click **Finish**
72
+
- Click the **Publish** button.
64
73
65
74
## Further reading
66
75
@@ -69,5 +78,4 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
0 commit comments