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 Apps / Unable to read Microso...
Power Apps
Unanswered

Unable to read Microsoft Teams Chat replies within Power Apps

(0) ShareShare
ReportReport
Posted on by 2

Within Powerapps, I am able to use MicrosoftTeams.GetMessagesFromChannel(Teams groupid, channelid) and thereafter read many of chats (messages) within the GetMessagesFromChannel().value such as from.user.displayname, body.content, etc. What I do is set the items property to the MicrosoftTeam.GetMessagesFromChannel(groupid, channelid).value to a gallery and reference the chat details within the gallery using ThisItem.from.user.displayname and ThisItem.body.content. This works fine. However, I need to access the replies to the message. I understand the replies are contained within the "mentions" which I don't know how to access it or its subcomponents (it seems to be a table of somekind). For example, when I use ThisItem.mentions I can see that the type is Table but how to access this table (see second attachment). Similarly there is also another table named reactions.

 

I tried to use a drop box to list the mentions but then I get a message "Warning:The columns produced by this rule are all nested tables and/or records, however the property expects at least some columns of simple values (such as text, or numbers). See first attachment.

 

I tried to also use the mentions as data source for a gallery, but did not see anything.

 

How can I access the mentions and reactions within the MicrosoftTeams channel messages. 

 

Thank you for your help.

Screen Shot 2020-05-20 at 3.47.46 PM.png
Screen Shot 2020-05-20 at 3.52.31 PM.png
Categories:
I have the same question (0)
  • alrezac Profile Picture
    Microsoft Employee on at

    Hi,

     

    I am not certain about this, I would have through that the Thisitem.mentions would have worked but it looks like for some reason it is not allowing you to do that. I am not 100% sure what is going on here. This might be a better question for Microsoft Support. I'll include a link below; if you would like to go down that route. Otherwise if any other communities member might know feel free to chime in.

     

    If you would like to create a ticket with Microsoft Customer Support here is a link on how to do so: https://docs.microsoft.com/en-us/power-platform/admin/get-help-support

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • aahb Profile Picture
    2 on at

    Thank you Alex for your reply. I've now created a ticket with Microsoft Customer Support and will await their reply.

     

    Incidently, have you tried to access the Microsoft Teams Chat replies within Power Apps before. It does not seem to be included in the Chat themselves (body.content). If you were able to access the Chat Replies, please let me know how.

     

    Thanks again.

  • Mx81 Profile Picture
    860 on at

    @aahb : I have the same problem. Did you get an answer from Microsoft?

     

    What is interesting: if you use the monitor, the reaction information is there. But it gets not available in the Power Apps 😞

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard