What's the correct way to manage "production deployment" (i.e. to a customer environment) for a developed Teams Message Extension ?

Serban 11 Reputation points
2021-09-22T07:55:27.217+00:00

I'm working on a custom Teams Message Extension.

My questions are related to the post-development activities.
The final goal would be to deliver this to some customer(s), so this would also include the initial provisioning, during which the custom App & Azure Bot resources are created.
Don't I need the botID and the appSecret, to paste them in the app source files, before I build the app ?
Would I have to make separate builds and maintain them for each customer ?

What's the correct & standard process for this ?

Thanks.

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,886 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prithvi-MSFT 271 Reputation points Microsoft Vendor
    2021-09-22T14:25:57.16+00:00

    Hi @Serban ,
    You can use ARM Templates to automate the creation of resources like bots and app service to publish your code. You can refer below link for more details
    https://azure.microsoft.com/en-in/services/arm-templates/

    Also you can refer deployment guide of below app to get an idea of how apps are deployed in production environment using ARM Templates.

    https://github.com/OfficeDev/microsoft-teams-apps-groupactivities/wiki/Deployment-guide#step-2-deploy-to-your-azure-subscription

    Thanks

    1 person found this answer helpful.
    0 comments No comments