Teams Bot - Task Modules not opening for some users on web or desktop

John Murphy 21 Reputation points
2022-05-04T17:03:30.25+00:00

We have some users who are not able to open task modules from the bot chat using either the Teams web app or desktop app. They can open these Task Modules from the Teams mobile app however from the same exact Adaptive card and bot chat.

Other users have no issues viewing these same Task Modules.

The button to show the task modules is in the form of an Adapative card and the button is unresponsive and freezes the Teams client after clicking on it, forcing them to refresh. There is no expected "invoke" request that normally happens thus it's not reaching our server.

198934-image.png

On the web app, the following error is thrown in the console for these users:
?agent=web&version=22040111409:69 CID[main] useTaskModuleHook: error launching task module for entry point 0. Error: Error: Extension already rendered, only one extension command request can be processed at a time. Request in flight: taskmodule; Extension requested: taskmodule.
at l (https://statics.teams.cdn.office.net/teams-modular-packages/hashed-assets/main-3c6d70141b8ceb57.js:28:933503)
at It.processRequest (https://statics.teams.cdn.office.net/teams-modular-packages/hashed-assets/main-3c6d70141b8ceb57.js:23:140805)
at It.executeCommand (https://statics.teams.cdn.office.net/teams-modular-packages/hashed-assets/main-3c6d70141b8ceb57.js:23:139732)
at Xt.launchTaskModule (https://statics.teams.cdn.office.net/teams-modular-packages/hashed-assets/main-3c6d70141b8ceb57.js:23:155669)
at https://statics.teams.cdn.office.net/teams-modular-packages/hashed-assets/51442-bcd9f36275c9dd08.js:1:135605
at Generator.next (<anonymous>)
at a (https://statics.teams.cdn.office.net/teams-modular-packages/hashed-assets/68447-9d79e9d8a90c1cdb.js:1:1032748)

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,604 questions
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,060 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JimmyYang-MSFT 50,446 Reputation points Microsoft Vendor
    2022-05-05T08:07:18.007+00:00

    Hi @John Murphy

    Great to know that the issue has already been resolved and thanks for the share!

    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.", and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:

    [Task Modules not opening for some users on web or desktop]

    Issue Symptom:
    Some users who are not able to open task modules from the bot chat using either the Teams web app or desktop app.

    Current status:
    There were two conflicting versions of the app: 1) From the marketplace and 2) Published to the Org

    Uninstalling #2 and installing #1 has fixed the issue.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.
    0 comments No comments

  2. John Murphy 21 Reputation points
    2022-05-04T20:31:06.537+00:00

    I believe I've found the issue. There were two conflicting versions of the app: 1) From the marketplace and 2) Published to the Org

    Uninstalling #2 and installing #1 has fixed the issue.

    0 comments No comments