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

Commit b19dc0a

Browse files
author
Tracy Boehrer
committed
Bit more of FIC README
1 parent 8dad9df commit b19dc0a

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

  • samples/csharp_dotnetcore/86.bot-authentication-fic

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ This bot has been created using [Bot Framework](https://dev.botframework.com/),
66

77
This bot uses `FederatedServiceClientCredentialsFactory` which is registered in Startup.cs.
88

9+
```csharp
10+
// Create the Federated Service Client Credentials to be used as the ServiceClientCredentials for the Bot Framework SDK.
11+
services.AddSingleton<ServiceClientCredentialsFactory>(
12+
new FederatedServiceClientCredentialsFactory(
13+
Configuration["MicrosoftAppId"],
14+
Configuration["MicrosoftAppClientId"],
15+
Configuration["MicrosoftAppTenantId"]));
16+
```
17+
918
## Prerequisites
1019

1120
- [.NET SDK](https://dotnet.microsoft.com/download) version 8.0
@@ -68,7 +77,7 @@ The easiest way to deploy the bot to the App Service for testing is using the Vi
6877
- Right clin the project and select **Publish**
6978
- Click **+ New Profile**
7079
- **Azure** -> **Azure App Service (Windows)**
71-
- Select the existing App Service, the click **Finish**
80+
- Select the existing App Service, then click **Finish**
7281
- Click the **Publish** button.
7382

7483
## Further reading

0 commit comments

Comments
 (0)