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 / Export teams message t...
Power Automate
Unanswered

Export teams message to excel

(0) ShareShare
ReportReport
Posted on by 4

Can someone help me with flow generation for exporting message from teams group to an excel. I want to export entire teams chat with message details in an Excel.

Categories:
I have the same question (0)
  • RobotRising Profile Picture
    402 on at

    Someting like this would work, you would need to create the excel file with a table in it. Then populate the columns with the message content from the dynamic content from the get messages action

     

    RobotRising_0-1701206979280.png

     

  • VishalChawla Profile Picture
    4 on at

    Thank you this was really helpful, but it is not exporting replied messages. Can you help me in how I can export the entire thread to a message and it's details. 

  • RobotRising Profile Picture
    402 on at

    You would need to then loop through the messages that it returns to get the replies: 

     

    Solved: Get Teams messages and its replies - Power Platform Community (microsoft.com)

     



    --------------------------------------------------------------------
    🌟 If I have helped give me a thumbs up! 👍
    If I have answered your question, please mark it as solved ✅

  • VishalChawla Profile Picture
    4 on at

    Can you help me with a screenshot of the loop, how do I create that. It would be great if you merge that with the earlier image.

  • RobotRising Profile Picture
    402 on at

    Hi Vishal, 


    I recommend you take some of the Power Automate learning on how to loop using apply to each from an array as well as how to make calls to graph api using http (this is a premium connector) but this is generally how it could work: 

     

    RobotRising_0-1701364149597.png

     



    --------------------------------------------------------------------
    🌟 If I have helped give me a thumbs up! 👍
    If I have answered your question, please mark it as solved ✅

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 607

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard