Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit 8dad9df

Browse files
author
Tracy Boehrer
committed
Updated FIC sample README
1 parent 52ec93e commit 8dad9df

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

samples/csharp_dotnetcore/86.bot-authentication-fic/AuthFederatedCredBot.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
<ItemGroup>
99
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
10-
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.22.8" />
11-
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.22.8" />
10+
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.23.0" />
1211
</ItemGroup>
1312

1413
<ItemGroup>

samples/csharp_dotnetcore/86.bot-authentication-fic/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ This bot uses `FederatedServiceClientCredentialsFactory` which is registered in
2424
- Record the client ID of the managed identity.
2525

2626
- 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
2730
- Create Azure App and Bot
2831
- Create App Registration
2932
- This can be either Single or Multi tenant.
@@ -35,6 +38,7 @@ This bot uses `FederatedServiceClientCredentialsFactory` which is registered in
3538
- Enter name for the credential and click on Add.
3639

3740
- 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
3842

3943
- For an existing bot
4044
- Navigate to the **App Registration** for the **Azure Bot**
@@ -48,9 +52,9 @@ This bot uses `FederatedServiceClientCredentialsFactory` which is registered in
4852

4953
- Set appsettings.json variables
5054

51-
- MicrosoftAppType: {SingTenant | MultiTenant}
55+
- MicrosoftAppType: SingTenant
5256

53-
- MicrosoftAppId: {appId}
57+
- MicrosoftAppId: {bot-appId}
5458

5559
- MicrosoftAppTenantId: {tenantId}
5660

@@ -60,7 +64,12 @@ This bot uses `FederatedServiceClientCredentialsFactory` which is registered in
6064

6165
## Deploy the bot to Azure
6266

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.
6473

6574
## Further reading
6675

@@ -69,5 +78,4 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
6978
- [Activity processing](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-concept-activity-processing?view=azure-bot-service-4.0)
7079
- [Azure Bot Service Introduction](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0)
7180
- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0)
72-
- [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest)
7381
- [Azure Portal](https://portal.azure.com)

0 commit comments

Comments
 (0)