Manage your exact data match schema
Tip
If you're not an E5 customer, use the 90-day Microsoft Purview solutions trial to explore how additional Purview capabilities can help your organization manage data security and compliance needs. Start now at the Microsoft Purview trials hub. Learn details about signing up and trial terms.
Editing the schema for EDM-based classification manually
If you want to make changes to your EDM schema, for example the edm.xml file, such as changing which fields are used for EDM-based classification, follow these steps:
Tip
You can change your EDM schema and sensitive information table source file to take advantage of configurable match. When configured, EDM will ignore case differences and some delimiters when it evaluates an item. This makes defining your xml schema and your sensitive data files easier. To learn more see, Using the caseInsensitive and ignoredDelimiters fields.
Edit your edm.xml file (this file is discussed in the Create the schema for exact data match based sensitive information types.
To update your database schema, run the following command:
Set-DlpEdmSchema -FileData ([System.IO.File]::ReadAllBytes('.\\edm.xml')) -Confirm:$true
You're prompted to confirm as follows:
Confirm
Are you sure you want to perform this action?
EDM Schema for the data store 'patientrecords' will be updated.
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"):
Tip
If you want your changes to occur without confirmation, don't use
-Confirm:$true
in Step 3.Note
It can take between 10-60 minutes to update the EDMSchema with additions. The update must complete before you execute steps that use the additions.
Removing the schema for EDM-based classification manually
If you want to remove the schema you're using for EDM-based classification, follow these steps:
Run the following command, substituting the data store name of "patient records" with the one you want to remove (using the patientrecords store as an example):
Remove-DlpEdmSchema -Identity 'patientrecords'
You're prompted to confirm the following message:
Confirm
Are you sure you want to perform this action?
EDM Schema for the data store 'patientrecords' will be removed.
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"):
Tip
If you want your changes to occur without confirmation, don't use
-Confirm:$true
in Step 2.
Edit or delete the EDM schema with the wizard
Open Compliance center > Data classification > Classifiers.
Choose EDM classifiers.
Double-click on the EDM SIT you want to edit.
Choose Edit EDM sensitive info type or Delete EDM sensitive info type from the flyout.
Follow the steps in the wizard to complete your edits or to delete the classifier.
Important
If you want to remove a schema, and it is already associated with an EDM sensitive info type, you must first delete the EDM sensitive info type, then you can delete the schema.