Bot Info
- SDK Platform: Node.js
- SDK Version: 3.13.1
- Active Channels: MS Teams
- Deployment Environment: Azure Bot Service
Issue Description
Using the example code at https://docs.microsoft.com/en-us/bot-framework/nodejs/bot-builder-nodejs-quickstart#edit-your-bot , the webchat/emulator fails when deployed to Azure Bot service. The example lines:-
var connector = new builder.ChatConnector({
appId: process.env.MICROSOFT_APP_ID,
appPassword: process.env.MICROSOFT_APP_PASSWORD
});
use environment variable names that are different from an Azure Bot deployment. The environment variables generate for an Azure deployment are MicrosoftAppId and MicrosoftAppPassword.
Actual Results
When deploying the example, it will not respond in WebChat or via ngrok (authentication issues possibly) until these lines are fixed.