Forum Discussion

JosephNierenberg's avatar
JosephNierenberg
Iron Contributor
Mar 15, 2025
Solved

Downloading or Archiving Channel Chat

How could one archive or download the chat history in a channel, without using eDiscovery tools? 

We have an external collaborator, which is a member of a Teams group. There are several channels, which correspond to projects. When a project closes, it's necessary to retain the related conversations. Those conversations are visible in the channel. We need to export them to a commonly usable format. How could we do that? 

  • You could use the Graph API, there is a specific MS Teams Export API. If you need to beautify / format the data, I would do it programatically.


    https://learn.microsoft.com/en-us/microsoftteams/export-teams-content

3 Replies

  • There are some scripts out there. If I were you, I would look at this site as an example.

    https://github.com/telstrapurple/MSTeamsChatExporter

  • MoritzG's avatar
    MoritzG
    Iron Contributor

    You could use the Graph API, there is a specific MS Teams Export API. If you need to beautify / format the data, I would do it programatically.


    https://learn.microsoft.com/en-us/microsoftteams/export-teams-content

  • Don't know another way. But because I am curious if somebody else does have the answer I am following this thread.

Resources