web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to reply on a mess...
Power Automate
Answered

How to reply on a message in a group chat

(0) ShareShare
ReportReport
Posted on by 16

I am trying to send a message as a reply and would like to quote the original message. I use native action "Post a message in a chat or channel'.

I see there is a property: Hosted content but I cannot find and documentation how to use it.

 

Could you please advise how to send "reply to.." message on a group chat?

 

SlavaS2_0-1703524995917.pngSlavaS2_1-1703525057647.png

 

Categories:
I have the same question (1)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @SlavaS2 ,

     

    I'm afraid that the out of box connector cannot meet your needs.

    I think you need to call the graph api in flow.

    vxiaochenmsft_0-1703557869385.png

    vxiaochenmsft_1-1703557905780.png

    https://graph.microsoft.com/v1.0/chats/<chat id>/messages
    
    
    {
     "body": {
     "contentType": "html",
     "content": "<p></p>\n<attachment id=\"<message id>\"></attachment>\n<messaage body>\n<p></p>"
     },
     "attachments": [
     {
     "id": "<message id>",
     "contentType": "messageReference",
     "contentUrl": null,
     "content": "{\"messageId\":\"<message id>\",\"messagePreview\":\"<message body>\",\"messageSender\":{\"application\":null,\"device\":null,\"user\":{\"userIdentityType\":\"aadUser\",\"tenantId\":null,\"id\":\"<user id>\",\"displayName\":\"<user name>\"}}}",
     "name": null,
     "thumbnailUrl": null,
     "teamsAppId": null
     }
     ],
     "mentions": [],
     "reactions": []
    }

     

    Best Regards,

    Wearsky

  • SlavaS2 Profile Picture
    16 on at

    HI @v-xiaochen-msft , thank you. Yes, I believe this is the only option for now. It works for me.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 482

#2
11manish Profile Picture

11manish 280

#3
David_MA Profile Picture

David_MA 268 Super User 2026 Season 1

Last 30 days Overall leaderboard