question

JohnMurphy-5480 avatar image
0 Votes"
JohnMurphy-5480 asked JimmyYang-MSFT edited

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

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)


office-teams-windows-itprooffice-teams-app-dev
image.png (49.2 KiB)
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.

JohnMurphy-5480 avatar image
0 Votes"
JohnMurphy-5480 answered

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.

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.

JimmyYang-MSFT avatar image
1 Vote"
JimmyYang-MSFT answered JimmyYang-MSFT edited

Hi @JohnMurphy-5480

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.




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.