After using the Azure templates for Basic and Echo bot (Node.js SDK v4) the resources are created and testing the bots via the online WebChat in the Azure portal works fine.
In the application settings, however, the botFilePath and botFileSecret are not visible (only MicrosoftAppId and MicrosoftAppPassWord). After downloading the source code, I noticed that the .env file is created with MicrosoftAppId and MicrosoftAppPassWord.
Any thoughts anyone?
botFilePath
and botFileSecret
aren't included because the newer Echo and Basic bots don't have .bot
files. We're moving away from using them in all BotBuilder SDKs. It will take some time for all of the samples, documentation, and emulator to reflect this. All secrets and settings should be stored in .env
(Node) or appsettings.json
(C#).
If you need to test your downloaded bot with the Emulator (for now):
Note: Leave App ID and App password blank and remove it from your .env
file for local testing. Be sure it's in your App Settings when deploying (it should stay there, by default, when you re-deploy/publish).