{"id":19421,"date":"2024-03-14T05:25:33","date_gmt":"2024-03-14T05:25:33","guid":{"rendered":"https:\/\/viewmyprojects.com\/winwirewp\/?p=19421"},"modified":"2024-05-21T07:57:48","modified_gmt":"2024-05-21T07:57:48","slug":"power-automate-export-microsoft-teams-chat","status":"publish","type":"post","link":"https:\/\/viewmyprojects.com\/winwirewp\/blog\/power-automate-export-microsoft-teams-chat\/","title":{"rendered":"Power Automate: The Key to Exporting Microsoft Teams Conversations"},"content":{"rendered":"\n<p>Ever felt lost trying to preserve those critical Microsoft Teams chats? Say goodbye to the hassle of copy-pasting or screenshotting conversations. In this blog post, <strong>we will learn how to extract and export MS Teams Chat\/Channel conversations using Power Automate<\/strong>.<\/p>\n\n\n\n<p>MS Teams has no out-of-the-box (OOB) feature to save chats systematically. There are specific workarounds like copy-paste or taking screenshots of the chat. However, they do not provide easy and convenient ways of reading the outputs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why do we need to save the Chat\/Conversations?<\/strong><\/h2>\n\n\n\n<p>There may be use cases like the Legal team wanting to have the capability to save team chats\/conversations as records to produce them as evidence.<\/p>\n\n\n\n<p>Another user case may be that the chats will get deleted in x number of days due to the retention policy. Hence, a periodic chat history backup must be maintained for x number of years. Saving important business conversations for future reference also could be an important use case.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Business Benefits<\/strong><\/h2>\n\n\n\n<ul class=\"blog-detail-list wp-block-list\">\n<li>Avoid auto deletion of chats due to retention policies and retain message backup for future reference. Using <strong>Microsoft Power Automate<\/strong>, you can set up flows to <strong>export teams&#8217; chat<\/strong> periodically, ensuring that you have a consistent backup of all your important conversations.<\/li>\n\n\n\n<li>Store chat\/conversations as evidence records, which the Legal Team might require. With <strong>Microsoft Teams Chat export<\/strong>, you can systematically archive conversations in a format that is easy to access and read. This feature is invaluable for legal compliance and can serve as evidence in legal disputes.<\/li>\n\n\n\n<li>Applying governance structure in storing messages. <strong>Power Automate<\/strong> allows for the customization of storage rules and governance policies, ensuring that chats are archived in a manner consistent with company policies and regulatory requirements.<\/li>\n\n\n\n<li>Home-grown solution, which can be fully customized and configured per business requirements. Leveraging <strong>Microsoft Power Automate for exporting teams chat<\/strong>, businesses can develop a tailored solution that fits their specific needs, without relying on external tools.<\/li>\n\n\n\n<li>Intuitive UI design for ease of use and better adaptability. The use of <strong>Microsoft Power Automate for exporting teams&#8217; chats<\/strong> is not just about the powerful automation it brings. It&#8217;s also about providing an intuitive and user-friendly interface that requires minimal training for end-users, enhancing the overall adaptability and effectiveness of the solution.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>High-level Requirements<\/strong><\/h2>\n\n\n\n<ul class=\"blog-detail-list wp-block-list\">\n<li>User-friendly interface to select chat or channel conversation.<\/li>\n\n\n\n<li>The extracted file should be in PDF format and stored in OneDrive or SharePoint.<\/li>\n\n\n\n<li>The @mention within the chats should be displayed in blue color.<\/li>\n\n\n\n<li>Every message header should contain the name, email, date &amp; time. If the user is inactive, then display the name only.<\/li>\n\n\n\n<li>Extract messages should contain the relevant images\/file links.<\/li>\n\n\n\n<li><strong>Export teams chat<\/strong> (1:1 or Group chat)<ul><li>There should be a start and end date option to specify the extracted content range.<\/li><\/ul>\n<ul class=\"wp-block-list\">\n<li>The exported file should contain the start date, end date, and the list of chat members, along with their email IDs.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Export conversation (Channel Post)<ul><li>The header should display.<ul><li>Team name<\/li><\/ul><ul><li>Channel Name<\/li><\/ul><ul><li>All the team members in the format of Name &amp; Email.<\/li><\/ul><\/li><\/ul><ul><li>The system should extract the whole conversation thread.<\/li><\/ul>\n<ul class=\"wp-block-list\">\n<li>&nbsp;The main heading and conversation should be displayed on the top, followed by all the replies underneath.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Solution Architecture<\/strong><\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"420\" src=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-1024x420.png\" alt=\"Power Automate\" class=\"wp-image-19422\" style=\"width:898px;height:auto\" srcset=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-1024x420.png 1024w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-300x123.png 300w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-768x315.png 768w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image.png 1027w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p>With <strong>Microsoft Teams chat export<\/strong>, users gain a powerful tool to secure their conversations, making it easier to comply with legal and policy requirements or keep a record of critical discussions.<\/p>\n\n\n\n<ul class=\"blog-detail-list wp-block-list\">\n<li>Users submit details via adaptive card.<\/li>\n\n\n\n<li><strong>Microsoft Power Automate<\/strong> fetches the messages using MS Graph API.<\/li>\n\n\n\n<li>Message includes Content, Attachments, Images and @mention details.<\/li>\n\n\n\n<li>After processing the messages, the output is converted to PDF.<\/li>\n\n\n\n<li>The PDF file is stored in OneDrive, SharePoint, or Both.<\/li>\n\n\n\n<li>Email notification is sent to the user.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Process Flow<\/strong><\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"510\" height=\"1024\" src=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-1-510x1024.png\" alt=\"Export teams Chat\" class=\"wp-image-19423\" srcset=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-1-510x1024.png 510w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-1-149x300.png 149w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-1.png 646w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"891\" height=\"588\" src=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-2.png\" alt=\"microsoft teams chat export\" class=\"wp-image-19424\" srcset=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-2.png 891w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-2-300x198.png 300w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-2-768x507.png 768w\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" \/><\/figure><\/div>\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"428\" height=\"561\" src=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-3.png\" alt=\"microsoft power automate\n\" class=\"wp-image-19425\" style=\"width:270px;height:auto\" srcset=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-3.png 428w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-3-229x300.png 229w\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"897\" height=\"531\" src=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-4.png\" alt=\"export teams chat\n\" class=\"wp-image-19426\" srcset=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-4.png 897w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-4-300x178.png 300w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-4-768x455.png 768w\" sizes=\"auto, (max-width: 897px) 100vw, 897px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"412\" height=\"473\" src=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-5.png\" alt=\"microsoft teams chat export\n\" class=\"wp-image-19427\" style=\"width:324px;height:auto\" srcset=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-5.png 412w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/image-5-261x300.png 261w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>The <strong>Microsoft Teams chat export<\/strong> functionality is not available out of the box; hence, the solution helps to save the messages systematically. The solution uniquely stores the messages as records in a configured repository. It&#8217;s a comprehensive homegrown solution that can be fully customized per business requirements.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever felt lost trying to preserve those critical Microsoft Teams chats? Say goodbye to the hassle of copy-pasting or screenshotting conversations. In this blog post, we will learn how to extract and export MS Teams Chat\/Channel conversations using Power Automate. MS Teams has no out-of-the-box (OOB) feature to save chats systematically. There are specific workarounds&hellip; <a class=\"more-link\" href=\"https:\/\/viewmyprojects.com\/winwirewp\/blog\/power-automate-export-microsoft-teams-chat\/\">Continue reading <span class=\"screen-reader-text\">Power Automate: The Key to Exporting Microsoft Teams Conversations<\/span><\/a><\/p>\n","protected":false},"author":138,"featured_media":19437,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_eb_attr":"","_uag_custom_page_level_css":"","footnotes":""},"categories":[61,59],"tags":[],"class_list":["post-19421","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-app-modernization-blogs","category-blogs","entry"],"acf":[],"featured_image_src":"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/Power-Automate-1.png","author_info":{"display_name":"Pranab","author_link":"https:\/\/viewmyprojects.com\/winwirewp\/author\/pranab\/"},"views":2782,"uagb_featured_image_src":{"full":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/Power-Automate-1.png",800,440,false],"thumbnail":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/Power-Automate-1-150x150.png",150,150,true],"medium":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/Power-Automate-1-300x165.png",300,165,true],"medium_large":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/Power-Automate-1-768x422.png",750,412,true],"large":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/Power-Automate-1.png",750,413,false],"1536x1536":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/Power-Automate-1.png",800,440,false],"2048x2048":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/Power-Automate-1.png",800,440,false],"post-thumbnail":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2024\/03\/Power-Automate-1.png",800,440,false]},"uagb_author_info":{"display_name":"Pranab","author_link":"https:\/\/viewmyprojects.com\/winwirewp\/author\/pranab\/"},"uagb_comment_info":0,"uagb_excerpt":"Ever felt lost trying to preserve those critical Microsoft Teams chats? Say goodbye to the hassle of copy-pasting or screenshotting conversations. In this blog post, we will learn how to extract and export MS Teams Chat\/Channel conversations using Power Automate. MS Teams has no out-of-the-box (OOB) feature to save chats systematically. There are specific workarounds&hellip;&hellip;","_links":{"self":[{"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/posts\/19421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/users\/138"}],"replies":[{"embeddable":true,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/comments?post=19421"}],"version-history":[{"count":4,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/posts\/19421\/revisions"}],"predecessor-version":[{"id":19434,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/posts\/19421\/revisions\/19434"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/media\/19437"}],"wp:attachment":[{"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/media?parent=19421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/categories?post=19421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/tags?post=19421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}