question

Serban avatar image
0 Votes"
Serban asked PrithviKamble-MSFT-9239 answered

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

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.





office-teams-app-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PrithviKamble-MSFT-9239 avatar image
1 Vote"
PrithviKamble-MSFT-9239 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.