Search code examples
botframework

Microsoft BotBuilder Azure OAuth Authentication ConnectionSettingName value


I am following microsoft's dotnet core sample, and under the try this sample section it says:

  • Update ConnectionSettingName in GraphAuthenticationBot.cs so the bot can perform OAuth calls through Azure Bot Service

What should the value of ConnectionSettingName be?


Solution

  • in GraphAuthenticationBot.cs file, you need update below string to the name you have given while creating a connection in Azure Portal.

        private const string ConnectionSettingName = "";
    

    enter image description here

    enter image description here