In Purview, how can you auto-apply sensitivity labels based on a defined text string in file names?

Paul Chasnoff 20 Reputation points
2024-12-12T20:12:31.6233333+00:00

With Purview we are using sensitivity labels. In the past (pre-sensitivity labeling for us) we used a project code as part of the file name that would indicate the file's sensitivity. Now that we are using Purview, we would like to automate the process and take advantage of sensitivity labeling benefits. I have tried (and failed) to create a Sensitive Information Type (SIT) as a Classifier to identify the files based on the project code in the file name:

Pattern #1

Primary element

Keyword list:VRS

Character proximity

Detect primary AND supporting elements​ within 300 characters

Our users are very accustomed to adding the code as part of the file name and wish to continue doing that.

I appreciate any help.

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,298 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.