Forum Discussion
XDeveloper29
Mar 27, 2024Copper Contributor
How to deploy a Bot/Message extn app developed with Teams Toolkit (5.6) to a self-managed server?
I'm developing a Bot/Message Extension App for use in our organization. Using Teams Toolkit, I have created a project and using Typescript for it. Local testing is automatically supported from app re...
John_Miller
Microsoft
Jul 23, 2024You can host your application logic where you want. However, for bots, you still need two things and that is a registration with Bot Framework and the Bot ID is an Entra App ID, all of these things are cloud resources. They are required to run on the platform.
You don't have to use Azure Bot Service right now, although it is recommended.
The way the local hosting works in Teams Toolkit is to use dev.botframework.com/bots/new to create a bot registration instead of Azure Bot Service.
If your scenario, self-hosting your application logic means you still need to register with Bot Framework, via either dev.botframework.com or Azure Bot Service. Either way, a "bot" is an Entra ID App registration which happens in Azure (free). Your self-hosted application will need to be accessible to Bot Framework/Azure Bot Service via the "messaging endpoint" that is configured. For local hosting, we create a developer tunnel to expose localhost to Bot Framework.
You don't have to use Azure Bot Service right now, although it is recommended.
The way the local hosting works in Teams Toolkit is to use dev.botframework.com/bots/new to create a bot registration instead of Azure Bot Service.
If your scenario, self-hosting your application logic means you still need to register with Bot Framework, via either dev.botframework.com or Azure Bot Service. Either way, a "bot" is an Entra ID App registration which happens in Azure (free). Your self-hosted application will need to be accessible to Bot Framework/Azure Bot Service via the "messaging endpoint" that is configured. For local hosting, we create a developer tunnel to expose localhost to Bot Framework.