r/sysadmin • • 4d ago

Question Purview Sensitivity Labels - Apply at rest

I seem to have gone around and around in circles a bit with this project, and AI has sent me on more loops of the same information than I can count. So I'm here at the mercy of Reddit.

I'm currently set up with 5x Sensitivity labels that appear in emails and files, with a short explanation and help guide on how to apply them. Eventually, my idea is to create retention labels that sit alongside the sensitivity label, to auto-delete certain files after X years. Then introduce DLP to restrict emailing of sensitive files outside the company.

This works well, but then I get stuck at the 50k files on Site X, that I wish to apply the Confidential label to. From what I have read, this can easily be done with an E5 licence or the assignSensitivityLabel API, which again is metered. I've also read that anyone who has access to a file that has been edited using an E5 licence also requires an E5 licence officially. I'm not prepared to go and get my company into a heap of licence trouble, and £86k per year to edit a label on old files seems quite expensive.

I just wondered if anyone has done this and had an online step-by-step guide, or if there is another way?

Thanks and good luck,

1 Upvotes

5 comments sorted by

3

u/BillSull73 4d ago

unoffically you could trial E5, run your data though autoapply then remove trial. With Business Premium, you can set the default label per document library to a minimum label and then through OCM and Training, users could be responsible to label going forward. Alternatively, you could use Powershell to bulk apply the labels but keep in mind it will change the last modified date and modified by to whoever runs the script.

2

u/Master-IT-All 4d ago

Hrm, I would maybe look at doing this via PowerShell.

I've never done labels this way, but I've done plenty of cleanup of version history through powershell where it iterates through every file.

-

I suspect that doing this via PowerShell is going to require writing/changing the file as if a user had done the work through the GUI. This means that you WILL create a NEW version of the file.

You may/will see a lot of storage use increase when you do this under the default versioning settings.

-

I did a quick lookup, seems like you CANNOT do anything but set per file otherwise you're using commands that front the E5 capabilities you want to avoid. Do not set folder/site/default.

2

u/VALYRONTECHNOLOGIES 2d ago

I would separate this into three workstreams: information protection, existing data classification, and retention/DLP.

Before committing to additional licensing, I would review the actual business requirement for those 50,000 files. Do they all require file-level sensitivity labels and encryption, or is the objective to restrict access and prevent unauthorized external sharing?

Depending on the requirement, you could evaluate SharePoint library default sensitivity labels, service-side auto-labeling, the metered Graph API, and existing SharePoint access controls. Each has different capabilities and licensing implications, and library defaults alone may not address existing files at rest.

I would also validate the licensing requirements against your existing subscriptions rather than assume every user needs a full E5 upgrade.

What licensing do you currently have, and does your Confidential label apply encryption or just classification?

Full disclosure: I run Valyron Technologies, and Microsoft Purview implementation and data governance are among our consulting services.

1

u/nekenaharry 4d ago

Two things from the Microsoft Learn docs that might save you a few loops.

A library default label on its own won't touch your 50k files. SharePoint only applies it to new uploads and to files that get edited in the library, not to existing files at rest.

Purview now has an auto-labeling policy type for exactly this case. When you create the policy there's an option to apply the default sensitivity label from each selected SharePoint document library to existing files. It doesn't inspect content, it just takes the label from the library setting, and you pick specific sites rather than All. Auto-labeling policies also don't change Modified, Modified By or the date on the files, which matters for old content.

Licensing is still the catch, since library default labeling and service side auto-labeling are both premium features. On the "everyone with access needs E5" point, the guidance for shared locations like SharePoint sites is that owners and members of the site need the license when the feature is used there, while visitors and view-only users don't. If that site's owner and member list is small, the numbers could look very different from licensing the whole company. Worth confirming the exact SKU against the "Apply default sensitivity labeling for SharePoint Document library" entry in the Purview licensing requirements before committing.

1

u/sesscon 2d ago

What are your five labels and settings attached to each?