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 / Teams Chat in power apps
Power Apps
Unanswered

Teams Chat in power apps

(1) ShareShare
ReportReport
Posted on by 642

Hello Community Experts,

There is an urgent requirement where I have to fetch the recent Microsoft teams chat in a gallery in power app, just like how the users are listed in teams and when we click on those users we can check the chat history, the same way I would like to display it in power apps.

How do I achieve this requirement?

Please guide

Best Regards!

Categories:
I have the same question (0)
  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Sumaira ,

     

    This can be achieved by Get messages action of Microsoft Teams connector. It is used to get messages from a channel in a specific Team.

    MicrosoftTeams.GetMessagesFromChannel("groupID", "channelID").value

    Note: the groupID and channelID can be found in Link to channel.

    Snipaste_2020-10-20_13-45-35.png

    Hope this helps.

    Sik

  • Sumaira Profile Picture
    642 on at

    @v-siky-msft Thanks a lot for the response 

    Please check below image i have highlighted Chat

    I actually want to fetch my recent chats which comes from chat section not from the group

    teams1.png

    how to do this?

    Is this possible?

     

    @v-siky-msft please advise

    Best Regards!

     

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Sumaira ,

     

    I'm afraid it's not supported to get content from personal chat for now since Microsoft Teams connector only enable you to get content from Teams workspace.

    The only solution is to create Custom Connectors based on Get chatMessage Graph API.

    For more details about custom connector: Custom Connectors 

    Hope this helps.
    Sik

  • Sumaira Profile Picture
    642 on at

    @v-siky-msft Thanks a lot for the information

    Will Get chatMessage Graph API, fetch personal chats specifically from teams or it is for normal chats?

    @v-siky-msft Please advise

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Sumaira ,

     

    Yes, personal chat. It is explicitly declaimed in the API document.

    chat resource  


    Sik

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 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard