Forum Discussion

JimmyStewart's avatar
JimmyStewart
Brass Contributor
Apr 17, 2020

Retention Policy Specific Folder

I'm creating a retention policy for OneDrive that does not retain and deletes files older than 30 days.  The goal is to target only files in the "Microsoft Teams Chat Files" folder.  The only option might be using the advanced targeting feature and entering a search term, but not sure how that could look. 

 

Has anyone been successful at doing this and might share their method?

  • You cannot target policies to specific folder, and since this is a simple "delete" action, just run a flow or script it in CSOM instead.

Resources