Teams Messaging extension commands not working

Kailey Lee 1 Reputation point
2022-03-24T21:06:00.083+00:00

Hello,

I am having a problem that my Teams app's bot is properly talking to the user, but messaging extension commands don't work.
186545-screen-shot-2022-03-24-at-40327-pm.png
186653-screen-shot-2022-03-24-at-40413-pm.png

When I click on a messaging extension command this is the error I get:
186634-screen-shot-2022-03-24-at-35946-pm.png

I can see that my TeamsActivityHandler -> handleTeamsMessagingExtensionFetchTask method is properly returning a task module.

Also, is there a way for developers to see a log of the service?

Please let me know if I need to provide more context.
Thank you very much for your help ahead! :)

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,627 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,065 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prasad-MSFT 6,111 Reputation points Microsoft Vendor
    2022-03-25T06:01:03.607+00:00

    Can you make sure Teams channel is added on Azure portal for your bots?
    186841-image.png

    If not, please add it and let us know if the issue still persists.

    Thanks,

    Prasad Das


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.