Teams bot update process.

yaroslav timaiv 0 Reputation points
2024-08-08T17:21:01.8733333+00:00

Hello,

We have deployed our Teams bot to the Teams Bot Store and are planning to implement significant changes, such as updating the application from version 1.0.0 to 2.0.0. The changes include:

  • Updating the Teams bot connector endpoint domain (also known as 'api/messages')
  • Publishing a new manifest with additional commands and features (e.g., SSO).

Our goal is to minimize user downtime, as the version review and update process takes some time. One possible solution is to support both versions (e.g., v1.0.0 and v2.0.0) using different backends (different Azure App Services).

As a result, we have the following questions:

  1. When will the Teams app (and bot, e.g., command list) be updated after the Microsoft Store review? For example, after a PC reboot, app restart, one week, etc.
  2. How can we check from which version (de facto - manifest version) a user message/activity originates, whether from v1.0.0 or v2.0.0, considering:
    • It is possible that the user does not restart the app or browser for a while (refer to question 1).
    • The Microsoft review takes some time.
  3. When can we be sure that all users have upgraded their Teams bot to the latest version
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.
3,694 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prasad-MSFT 8,716 Reputation points Microsoft External Staff
    2024-08-09T05:10:14.8166667+00:00
    • After the Microsoft Store review, the Teams app (including the bot) will be updated automatically in the contexts where the user is a member and where the previous version of the app was added. https://learn.microsoft.com/en-us/microsoftteams/apps-update-experience
    • The update process typically takes 1-2 business days based on your app's capabilities. Users might need to restart their Teams client or browser to see the updates immediately, but the app will eventually update even without a restart.
    • To determine which version a user message/activity originates from, you can include version-specific identifiers in the bot's responses or metadata. For example, you can add a custom property in the bot's activity payload that indicates the version of the bot.
    • To ensure that all users have upgraded to the latest version of the Teams bot, you can monitor the usage and adoption metrics through the Teams admin center or your backend analytics.

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.