Microsoft Security Tech Accelerator
Dec 06 2023, 07:00 AM - 12:00 PM (PST)
Microsoft Tech Community

Classify all data in a sharepoint folder without scanning content

Brass Contributor

Hey guys

Is it possible to tell purview to set a classification for all files in a sharepoint folder?
From what i see its asking for scanning patterns such as cc numbers?

I have a folder in the HR library and i just want it to encrypt all existing files with a sensivity labels. For new files SP will do it automatically but i cant figure out a way to do it for data at rest but per foler and not file content.


1 Reply


Check out Configure a default sensitivity label for a SharePoint document library


This was announced last March and may help. Unfortunately, it doesn't appear to cover existing files in a library, but those can likely be handled in another way.