Can I host my JavaScript bot on xyz.com without registering it in Azure Bot, and which environment file should I modify with my bot ID and Teams app ID?

Sneha 0 Reputation points
2024-10-11T09:51:12.83+00:00

I’ve been using the Teams Toolkit to develop a JavaScript teams bot, and while I can run it locally, I want to host it on xyz.com domain(AWS-cloud). I've completed the Azure app registration and obtained the bot ID and Teams app ID, which seem to be the same.

Which environment file should I modify and what changes should I do in tasks.json, launch.json, teamsapp.yml?.

Is it possible to host the teams bot without registering on Azure Bot Service, by only doing the App registration service of azure?

Additionally, while my Node.js backend runs fine locally, using the free version of ngrok, I'm unable to get responses on the xyz.com platform. Can anyone kindly give me complete steps for this problem?

Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
Microsoft Teams | Development
Microsoft Teams | Microsoft Teams for business | Other
{count} votes

1 answer

Sort by: Most helpful
  1. John Miller 0 Reputation points Microsoft Employee
    2024-10-16T12:25:45.17+00:00

    You will still need to use an Azure Bot Service registration and Entra ID, which are both free. But if you want to host on AWS instead of an Azure App Service, you can do that.

    We do not have any support for hosting in AWS - all of the provisioning (Bicep) files are setup for Azure.

    The teamsapp.yml has actions in it that call the Bicep CLI which you could comment out or remove. Or you could replace with calling something like terraform and replace the infra/ files with terraform files.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.