Skip to content

Ability to Retrieve and Update Existing Teams Messages in Bot Framework Composer #6695

@NeethithevanR

Description

@NeethithevanR

I am currently developing a bot using Bot Framework Composer integrated with Microsoft Teams. While Composer provides the UpdateActivity method to modify messages, there is a critical limitation:

UpdateActivity only works if the bot already has the original Adaptive Card payload stored.

There is no API to fetch the existing message (by activityId) from Teams using the Bot Framework.

Microsoft Graph API supports GET /chats/{chat-id}/messages/{message-id}, but:

The Bot Framework conversation.id (a:...) does not directly map to Graph chat.id (19:...).

Graph does not return the original Adaptive Card JSON that can be reused for updates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA request for new functionality or an enhancement to an existing one.needs-triageThe issue has just been created and it has not been reviewed by the team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions