diff --git a/dotnet/agent-framework/sample-agent/appsettings.json b/dotnet/agent-framework/sample-agent/appsettings.json index ea668f2d..289dea53 100644 --- a/dotnet/agent-framework/sample-agent/appsettings.json +++ b/dotnet/agent-framework/sample-agent/appsettings.json @@ -52,12 +52,14 @@ "Connections": { "ServiceConnection": { "Settings": { - "AuthType": "UserManagedIdentity", // this is the AuthType for the connection, valid values can be found in Microsoft.Agents.Authentication.Msal.Model.AuthTypes. - "AuthorityEndpoint": "https://login.microsoftonline.com/{{BOT_TENANT_ID}}", - "ClientId": "{{BOT_ID}}", // this is the BluePrint Client ID used for the connection. + "AuthType": "ClientSecret", // this is the AuthType for the connection, valid values can be found in Microsoft.Agents.Authentication.Msal.Model.AuthTypes. + "AuthorityEndpoint": "https://login.microsoftonline.com/{{TenantId}}", + "ClientId": "{{ClientId}}", // this is the BluePrint Client ID used for the connection. "Scopes": [ "5a807f24-c9de-44ee-a3a7-329e88a00ffc/.default" - ] + ], + "ClientSecret": "", + "AgentId": "{{ClientId}}" } } },