Can you edit messages sent using a Microsoft Teams Connector?

Colin 20 Reputation points
2023-11-28T22:26:43.28+00:00

I'm trying to develop a notification integration with Microsoft Teams where the messages could be updated and some messages could be sent as replies to existing ones. Can you do this using a connector or do you have to create a bot?

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

Accepted answer
  1. Prasad-MSFT 6,076 Reputation points Microsoft Vendor
    2023-11-30T05:25:45.89+00:00

    While connectors in Microsoft Teams can deliver content and service updates directly from third-party services into a Teams channel, they primarily post these updates directly into the chat stream. They do not have the capability to update messages or send messages as replies to existing ones.

    To develop a notification integration with Microsoft Teams where messages can be updated and some messages can be sent as replies to existing ones, you would need to create a bot.
    Document Ref: https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/update-and-delete-bot-messages?tabs=dotnet
    Sample Ref: https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation

    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. LiweiTian-MSFT 16,690 Reputation points Microsoft Vendor
    2023-11-29T01:51:12.5166667+00:00

    Hi @Colin Flueck

    Teams tag is mainly focused on the general issue of Microsoft Teams troubleshooting. According to your description, your question is related to Teams Development, which is not in our support scope. To better help you solve the problem, please add Teams Development tag to your post.The following suggestion is just for your reference:

    Does the connector you are referring to refer to the connector in Power Automate? If so, the current Teams connector in Power Automate provides an action to reply to existing messages but does not provide an action to edit sent messages.

    If you are referring to the Incoming Webhook connector, as far as I know, the Incoming Webhook connector can be used to send notifications to a Teams channel, they do not support updating messages or sending messages as replies to existing ones.


    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.