Forum Discussion

vannyconoza's avatar
vannyconoza
Copper Contributor
Nov 02, 2022

Message Extension won't load properly in Teams Mobile

We have a message extension that uses Task Module and Adaptive Cards which allows users to select from a ChoiceSet or enter input text. We implement chained adaptive cards, which means there are multiple steps. It works well on desktop but when we try it out on mobile, the cards won't load up after the initial step.


We are handling the inputs using TeamsActivityHandler.handleTeamsMessagingExtensionSubmitAction and TeamsActivityHandler.handleTeamsMessagingExtensionFetchTask.

On some occasions, the desktop app also won't load up the Msg Extension Modal and we had to sign in/out and turn on/off Developer Preview - this experience seem to happen only on our dev organization and custom apps so we might have missed a setting but behavior still is weird.

Kindly advise. 

16 Replies

  • vannyconoza -
    For Desktop app issue I suggest clearing your Teams desktop app cache:
    1. Sign out on Teams > Quit Microsoft Teams by right clicking the icon and select Quit.
    2. On your keyboard, Hold Windows key and Press R
    3. Cut and paste %appdata%\Microsoft\Teams in the RUN then OK.
    4. Delete the contents of the entire folder.
    5. Restart Microsoft Teams > Sign In.

    For mobile app issue can you please clarify below points.
    1. Are you trying to open adaptive card on Taskmodule via messaging extension action?

    2. Can you please share your adaptive card json to try at our end? Because you have mentioned you are trying multiple steps or we just need to try with choiceset?
    3. Are you facing issue in android or IOS mobile?

    • vannyconoza's avatar
      vannyconoza
      Copper Contributor

      Nivedipa-MSFT 

      Can you share steps for Mac?

      For the mobile app issue,
      1. Yes. We use adaptive card on task module as msg extension action. Something like this:

      task: {
          type: "continue",
          value: {
              card: cardAttachment,
              height: height,
              title: "Make Collaboration Happen",
              url: null,
              width: width
          }
      }

        
      2. Yup, our card have TextBlock, ColumnSet, ChoiceSet, Input, Action.Submit, etc. We have tried checking our card in Adaptive Card Designer and seems to work so I guess can just try any simple card.

      3. Currently, we are facing the issue in IOS. But again, this seem to only happen on our dev organization.


Resources