Reputation: 11
I am trying to test the sample application listed in BOT builder for .NET - Getting Started
I have created web app luis bot using arm template in Azure. My website works fine but when I start to chat, it gives error message 'could not send..retry' in channel blade.
There was an error sending this message to your bot: HTTP status code InternalServerError:
I have updated MSAppId and password in web.config file that also not working
Anybody please suggest me if i need to add any steps
Upvotes: 1
Views: 5849
Reputation: 21
I followed the document to download the sample and create the bot but when I run the program and ngrok
in local environment and test in the webchat, it reported 500 Internal Server Errors
.
I found the console information:
'Application with identifier 'cxxxx5' was not found in the directory 'botframework.com'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.'
So I tried to manage the Azure AD application as a Multitenant app. And it worked.
Upvotes: 2