{"id":16319,"date":"2020-10-15T12:54:13","date_gmt":"2020-10-15T10:54:13","guid":{"rendered":"http:\/\/159.69.82.204\/win\/?p=16319"},"modified":"2021-08-31T23:54:55","modified_gmt":"2021-08-31T21:54:55","slug":"teams-speicherort-fr-compliance-aufzeichnungen-gendert-brickt-scripte","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2020\/10\/15\/teams-speicherort-fr-compliance-aufzeichnungen-gendert-brickt-scripte\/","title":{"rendered":"Teams storage location for compliance records changed, bricks scripts"},"content":{"rendered":"<p>[<a href=\"https:\/\/www.borncity.com\/blog\/2020\/10\/15\/teams-speicherort-fr-compliance-aufzeichnungen-gendert-brickt-scripte\/\" target=\"_blank\" rel=\"noopener noreferrer\">German<\/a>]Another short information for administrators in corporate environments. Microsoft has changed the location for compliance records in its Team Application without much notice. As a result, PowerShell scripts that generate certain reports in this area no longer work.<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vg04.met.vgwort.de\/na\/eeb81a249bf0405baa88e85b2560d2d5\" alt=\"\" width=\"1\" height=\"1\" \/><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vg04.met.vgwort.de\/na\/94fdcde5c9734119b2f55fe62038e406\" alt=\"\" width=\"1\" height=\"1\" \/>I came across this issue raised by an MVP colleague via the following <a href=\"https:\/\/twitter.com\/12Knocksinna\/status\/1316309444230361089\" target=\"_blank\" rel=\"noopener noreferrer\">tweet<\/a>. It's about a change of the locations in Microsoft teams. <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vg07.met.vgwort.de\/na\/18b8a3e2bb6a4789b93e7bf26ba78af7\" alt=\"\" width=\"1\" height=\"1\" \/><\/p>\n<p><a href=\"https:\/\/twitter.com\/12Knocksinna\/status\/1316309444230361089\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" title=\"Changing Storage for Teams Compliance Records\" src=\"https:\/\/i.imgur.com\/tBnVyPB.jpg\" alt=\"Changing Storage for Teams Compliance Records\" \/><\/a><\/p>\n<p>Microsoft has changed the location of Microsoft Team Compliance records in Exchange Online mailboxes. This makes PowerShell scripts that analyzes these records and backup products that pretend to process team data useless.<\/p>\n<h2>The Teams Compliance Records<\/h2>\n<p>The Compliance Records teams were originally introduced in April 2017. The teams' compliance records are collected from the Microsoft 365 substrate and used for the following:<\/p>\n<ul>\n<li>Retention processing: Retention policies work against the compliance records to allow tenants to determine how long team messages are retained.<\/li>\n<li>eDiscovery and content search: Because content records are indexed along with other mailbox data, they are searchable and discoverable when tenants need to search for information for investigation.<\/li>\n<li>Communication compliance guidelines. Compliance records are scanned by agents to detect potential violations of corporate communications policies, such as threatening or abusive behavior.<\/li>\n<\/ul>\n<p>There is <a href=\"https:\/\/web.archive.org\/web\/20210221153125\/https:\/\/petri.com\/teams-compliance-story\" target=\"_blank\" rel=\"noopener noreferrer\">this article<\/a> by Tony Redmond on this topic.<\/p>\n<h2>Location for Teams Compliance Records changed<\/h2>\n<p>The Compliance Records for Teams are parts of messages that are stored (according to Tony Redmond) in the following locations:<\/p>\n<ul>\n<li>User mailboxes for personal and group chats and channel conversations in private channels.<\/li>\n<li>Group mailboxes for conversations in standard channels.<\/li>\n<li>Cloud-only (shard) mailboxes for messages sent by federated, hybrid and guest users.<\/li>\n<\/ul>\n<p>If Microsoft has enabled compliance recording for teams, the recordings are stored in the <em>TeamChat<\/em> subfolder of the <em>Conversation History <\/em>folder. The folder name varies according to user language, but the folder type is always <em>TeamChat<\/em>, making the folder easy to find.<\/p>\n<p>Tony wrote, that the choice of the location was logical at that time, as Skype for Business Online stored its conversation logs in the <em>Conversation History <\/em>folder. However, unlike the conversation history, the <em>TeamChat<\/em> folder was never accessible to users of Outlook or OWA.<\/p>\n<p>What has changed is that Microsoft moved the location to a folder called <em>TeamsMessagesData<\/em> in the non-IPMRoot part of the mailboxes (IPM = Inter Person Messages, messages between people, <a href=\"https:\/\/docs.microsoft.com\/en-us\/office\/client-developer\/outlook\/mapi\/mapi-special-folders\" target=\"_blank\" rel=\"noopener noreferrer\">see<\/a>). This is a more logical part of the mailbox (in the eyes of Tony Redmond)\u00a0 where the folder will be located, as this is where the system data is stored. Exchange Online and Microsoft 365 applications store a lot of information in mailboxes that email clients cannot see.<\/p>\n<p>Unfortunately, Microsoft has not announced this relocation of the storage location. As a result, PowerShell scripts that use the old locations to access the Teams Compliance Records no longer work. Tony Redmond goes into the <a href=\"https:\/\/twitter.com\/12Knocksinna\/status\/1316350919567704064\" target=\"_blank\" rel=\"noopener noreferrer\">details here<\/a> and announced in <a href=\"https:\/\/twitter.com\/12Knocksinna\/status\/1316350919567704064\" target=\"_blank\" rel=\"noopener noreferrer\">this tweet a modified script<\/a> for the Teams and Groups Activity Report.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[German]Another short information for administrators in corporate environments. Microsoft has changed the location for compliance records in its Team Application without much notice. As a result, PowerShell scripts that generate certain reports in this area no longer work.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[463,1547],"tags":[47,1413],"class_list":["post-16319","post","type-post","status-publish","format-standard","hentry","category-issue","category-software","tag-issue","tag-teams"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/16319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=16319"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/16319\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=16319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=16319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=16319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}