Has anyone ever managed to save an entire chat from Microsoft Teams in any file format (including chat images e.g. screenshots, user avatars etc.)?
I've tried it in all browsers and in all thinkable ways.
The problem seems to be that Teams removes all text not contained in the current viewport, and even more so the images, from memory.
This looks like lazy loading, but apparently isn't, as it can't be prevented by disabling the lazy loading options in the browser (tried in Chrome and Firefox, with the browser-based version of Teams).
Only the content of the current viewport is displayed and loaded. All other content further up as well as further down is immediately unloaded when scrolling. Therefore, the entire chat cannot be selected and saved or exported, respectively, in any way, and not even be copied to the clipboard:
Contents outside the viewport are unloaded immediately when scrolling
You can get teams chat using graph API along with the images but it is limited only for 20 days data. You can fetch the teams chat up to 20 days. Also There is an feature request to export the teams chat externally. Currently you cannot export teams chat. Could you please upvote Teams chat history export feature to available this in future. You can reach out to Product support channels for more info