Forum Discussion
Gurdev Singh
Aug 25, 2022Iron Contributor
Automatic retention label policy based on file modified date
We have a requirement to apply a retention label if document is older than 10 years. Is there a way to achieve that using the automatic label policy?
Jason E. Heiser
Oct 16, 2023Iron Contributor
Auto-labeling can certainly apply labels based on a date (e.g. created, modified, sent, received) but remember an E5 license of some sort is needed any time you want to automatically do something in Purview. You'll first, of course, have to create your label. Then in the Label policies section of Data lifecycle management, you'll need to choose "Auto-apply a label". You'll essentially be creating a content query.
For instance, if you wanted to do this for mailbox items, you'd build a content query to search for items older than 10 years... something like size>0(received<2013-10-01 OR sent<2013-10-01)