Forum Discussion
Teamsfx bot deployment
Hello,
I developped a notification bot for teams using Pernille-Eskebo/teamsfx package, Azure AD and the dev bot framework following that guide: https://learn.microsoft.com/en-us/microsoftteams/platform/sbs-gs-notificationbot?tabs=vscode.
When starting the node app locally and tunneling localhost with ngrok the bot works perfectly fine (I set the messaging endpoint of the bot on the bot framework https://dev.botframework.com/bots). But when changing the messaging endpoint to my company deployed API, the bot no longer sends a request to the messaging endpoint. To clarify, when trying to use the bot with my company's node app in prod environment the bot no longer works. I believe it's because the bot is not officially deployed on Azure and is still in a development status hence works only with ngrok urls, though I might be wrong.
I tried migrating it using the bot framework but it is asking for an Azure subscription even though the Azure Bot Service is free for standard channels (which is what I believe I'm using) https://azure.microsoft.com/en-us/pricing/details/bot-services/.
What should I do ? Is the problem where I think it is ?
Thank you
- Sayali-MSFTMicrosoft
BarneyGood - Thanks for reporting your issue.
To get support for Teams Toolkit is to file an issue at https://github.com/OfficeDev/teamsfx - John_MillerMicrosoftThere's nothing in the Bot Framework dev portal that limits the messaging API to be for ngrok only. However, when you change it to point to your production node application, it needs to be able to receive (publicly available, etc.)
I believe the account thing is because Azure Bot Service requires an Azure account which requires a subscription - even if that's the Pay as you go option for something that's free. However, you don't need to use Azure Bot Service for this. I suspect something about the production infrastructure is blocking the request.