Forum Discussion
Purview retention policy question
I am looking for assistance with a request from the business that involves Purview Retention Policies. The ask is that all Teams meetings recordings are deleted from all users OneDrive accounts after 20 days of recording. These recordings live the Recordings at the root of the OneDrive account. Based off my findings, a retention policy in Purview can’t target specific folders. It can do the entire OneDrive account… but a retention policy can’t be created to target a specific folder within the OneDrive account.
I am just looking for a second opinion to make sure I’m not missing something obvious. If there is away to do this with a retention policy or anything else in the Purview stack would love to hear it.
Lastly, I’m aware that there is the Meeting Recording Expiration toggle in Teams admin center. Apparently, that is not a sufficient enough solution. The reason being is that notification emails are sent to the user before and after the expiration date and users could use this as a trigger point/opportunity to move them somewhere else to avoid the meeting being deleted.
Thanks
1 Reply
Microsoft recommends using the ProgiID keyword for this scneario, as detailed in this article: https://learn.microsoft.com/en-us/purview/apply-retention-labels-automatically#microsoft-teams-meeting-recordings-and-transcripts
TL;DR, you need a retention policy of the auto-apply variety, with the following KQL query as criteria: ProgID:Media AND ProgID:Meeting
You should also be able to target specific folders via a documentlink:<path to the folder> query.