Open pschandekar09 opened 1 year ago
Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.
In Teams Toolkit V5, the default tunnel service is now the dev tunnel. To take advantage of this, you can upgrade your Teams Toolkit extension to V5.
If yo still want to use Teams Tolkit V4:
~/.fx/bin/ngrok/node_modules/ngrok/bin/ngrok authtoken <YOUR AUTHTOKEN>
devtunnel user login
.devtunnel host -p 3978 --protocol http --allow-anonymous
.BOT_DOMAIN
and BOT_ENDPOINT
with your dev tunnel URL.
env/.env.local file
.
BOT_DOMAIN=sample-id-3978.devtunnels.ms
BOT_ENDPOINT=https://sample-id-3978.devtunnels.ms
botMessagingEndpoint
arguments in Set up bot
task.
{
"label": "Set up bot",
"type": "teamsfx",
"command": "debug-set-up-bot",
"args": {
...
// tell Teams Toolkit your message endpoint
"botMessagingEndpoint": "https://sample-id.ngrok.io/api/messages",
}
},
Do I need to follow same above steps for bot framework application as well for unauthorized and 401 error?
One more question which one is best option shall I implement bot framework or bot team toolbox application. My expectation is that implemented application should support multiple channels.
Do I need to follow same above steps for bot framework application as well for unauthorized and 401 error?
The steps mentioned above can resolve the unauthorized error when using Teams Toolkit with ngrok.
One more question which one is best option shall I implement bot framework or bot team toolbox application. My expectation is that implemented application should support multiple channels.
We recommend using the Teams Toolkit to develop the app for Teams. However, for other channels, manual integration is required.
Always getting unauthorized error in ngrok command prompt for team bot which is created using teamtoolbox. If any one facing similar issue and got the solution I appreciate if they help me on this issue as well.