Bot Builder SDK returning Unauthorized error RRS feed

  • Question

  • Hi,

    We have created a bot using c# sdk and tried to access the bot, it throws "invalid status code - Unauthorized" error.

    Even,we are passing the "MicrosoftAppId" and "MicrosoftPassword" while accessing the bot, but still getting the "unauthorized" error.

    We are using the azure storage to store the conversation data, for that also we are passing the respective bot azure storage connection strings properly.

    Below listed dlls using in our c# application to access the bot.

    i)Microsoft.Bot.Builder -Version or greater

    ii)Microsoft.Bot.Connector -Version or greater

    iii) Microsoft.Bot.Connector.Directline -Version

    Please guide us to proceed further.



    Wednesday, September 26, 2018 1:13 PM

All replies

  • Hi KM2018,

    Thank you for posting here.

    Since your question is more related to bot, you could post a new thread in StackOverFlow.


    The Visual C# forum discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, September 27, 2018 8:37 AM