Forum Discussion
Automatically applying labels to sites/site collections
- Aug 17, 2017
The answer is yes. What you're looking for are classification labels (see https://www.petri.com/office-365-data-governance). You can apply these to a document library in three ways:
1. Make it the default that a label applies to all items in the library (and sub-folders).
2. Select each item and add the appropriate label.
3. Use an auto-label policy to find the documents you want to protect and apply a label. This requires E5 licenses.
I suspect that option 1 is what you need.
To Dean's point, a gap currently exists between Office 365 classification labels and those used by Azure Information Protection (AIP). I suspect, but don't know, that the gap will close and we might hear about this at Ignite.
Auto-label policies are the only automatic method, but you'd have to be able to identify the target documents with a keyword. I think you might have to edit the settings of each library to set the right label as the default for all existing and new documents.
With Auto-apply label, can we use a wildcard "*" with the option of "Apply label to content that contains specific words or phrases"? This is required to blanket SharePoint to have the base retention policy in place.
And if that is possible, would the user able to selectively change the labels on the documents which were auto-applied by the wildcard rule?
- TonyRedmondFeb 12, 2018MVP
"*" is not a valid search keyword. I don't think you can use it to search for everything (at least, I couldn't just now).
And users always have the ability to override auto-applied labels. The logic here is that people know better than computers how important content is.
- Andreas AchterholtAug 23, 2018Former Employee
Hi all,
see the blog about "Configuring default Office 365 Labels using PowerShell"
http://www.myfatblog.co.uk/index.php/2018/05/configuring-default-office-365-labels-using-powershell/
Today is one and the only way you can do this
Andreas