Send HTTP POST action from MS-teams

PL, Sangeetha 1 Reputation point
2022-04-27T08:52:52.563+00:00
  • We have a webhook connector configured to post messages on ms-teams
  • The message is an adaptive card.
  • But Action.Submit is not supported in the teams platform. I'm getting error as
    this card action is disabled because it is not supported for Connectors.
  • Is there any other way to send an HTTP post request to my api, when the user clicks the action button.
Microsoft Teams | Development
Microsoft Teams | Microsoft Teams for business | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Nivedipa-MSFT 3,646 Reputation points Microsoft External Staff Moderator
    2022-05-02T12:48:05.207+00:00

    Action.Submit is not supported for connector.

    It works if we send card via bot action only.

    Ref Doc: https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using?tabs=cURL#send-adaptive-cards-using-an-incoming-webhook

    Thanks,

    Nivedipa


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


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.