03-21-2019 08:02 AM
03-21-2019 08:02 AM
My company (for legal reasons) DOES NOT want persistent chat nor do they want to keep any backups of the chats. This is NON-NEGOTIABLE as legal has already put their foot down. Currently we're using Skype for Business/Lync but as you all know this is clunky, can't easily be integrated into the Azure deployment (Microsoft company Portal), and doesn't offer the quality of life improvements (ie: notifications) that most companies need in this day and age.
Can teams (or a script on our Azure network) be set to auto remove or disable entirely persistant chat in MS Teams. To be clear, we STILL WANT EMAILS TO BE SAVED FOR 7 YEARS. But again, FOR NON-NEGOTIABLE LEGAL REASONS we cannot keep chat history.
03-21-2019 08:23 AM - edited 03-21-2019 08:25 AM
Retention policies in Microsoft Teams could help with this, have you seen those yet?
"Teams conversations are persistent and retained forever by default. With the introduction of retention policies, admins can configure retention policies (both preservation and deletion) in the Security & Compliance Center for Teams chat and channel messages. This helps organizations either retain data for compliance (namely, preservation policy) for a specific period or get rid of data (namely, deletion policy) if it is considered a liability after a specific period."
03-21-2019 09:05 AM
07-10-2019 05:25 AM
These comments are spot on.
For now the lowest option on the retention policies is that of 30 days.
If you need something for shorter periods (ie: every day) - the best option might be via Graph API. You can delete messages that way, but will need to target them 1 by 1... scripting it to grab all the Message Thread ID's from 1 channel and delete them via Graph and have it run every day... "might" work. But this is all very far fetched and would need a lot of testing :)
Logically though, it should work... might need quite a bit of coding and customization though.
Something like this to get the thread list from 1 group:
Then something to delete it:
Of course, you would need it make it very adaptable to an xxx number of threads.
07-10-2019 03:38 PM
08-27-2019 10:07 AM
Note that the Security & Compliance center is being migrated to 2 separate ones: one for Security; one for Compliance.
In the new Compliance center:
Policies -> Retention
You will actually be linked back to the old SCC (Security & Compliance Center), then under "Data Governance"
Finally, you will have the typical screen, like Cian showed above.
10-07-2019 06:39 AM