FREE STUDY NOTES · SC-401

Exact data match (EDM) sensitive information types in Microsoft Purview

How EDM SITs match your own records: schema, primary and supporting elements, new and classic experiences, and hashing and uploading data.

From Ultra Transcenders SC-401 by Tony Rough (coming December 2026)

Pattern-based SITs can’t tell a real customer’s account number from any other number of the same shape. Exact data match (EDM) SITs compare content against real values from a table you supply, using one-way hashes so the values never reach the service in clear text. Figure 2.2 follows the data from schema to match.

Three rows: the schema and EDM SIT are defined in the tenant; the source table is hashed on a secure computer and only the hash and salt files are uploaded from a connected computer by a member of EDM_DataUploaders; at detection a mapped SIT finds a candidate primary element, it is hashed and looked up in the uploaded table, and a match is used in DLP, auto-labeling, eDiscovery, Insider Risk Management and Defender for Cloud Apps.
Figure 2.2: Exact data match: define, hash and upload, then detect

Concepts

EDM SITs work in DLP (Exchange, SharePoint, OneDrive, Teams chat and devices), service-side and client-side auto-labeling, Microsoft Defender for Cloud Apps (SharePoint and OneDrive), eDiscovery and Insider Risk Management. Microsoft suggests pairing an EDM SIT at high confidence with the underlying built-in SIT at lower confidence in DLP rules.

New experience versus classic experience

Aspect New experience Classic experience
Workflow Schema and SIT created together in one wizard Schema and SIT created separately (portal tool or XML with PowerShell)
Schema source Sample file of 10-20 representative, non-sensitive rows, or manual definition Schema XML or schema tool
Primary elements At least 1 and at most 10 per EDM SIT, each mapped to a SIT Defined per pattern
Schemas per SIT One schema per SIT (1:1) Several SITs can share a schema
Number of EDM SITs Limited to 10 (10 schemas maximum) More than 10, by sharing schemas
Schema name Generated: SIT name plus “schema” You choose it
Rules One rule per primary element; high and medium confidence generated, low added manually Built manually

The new experience is reached at Information Protection > Classifiers > EDM classifiers with the New EDM experience toggle on. Its detection settings include:

The portal warns when a primary field is mapped to a loosely defined SIT or when its values repeat across many rows, both of which hurt performance and cause missed detections. Schemas created in the classic experience or uploaded with PowerShell aren’t visible in the new experience.

Hashing and uploading the data

The EDM Upload Agent salts and hashes the source table and uploads only the hashes. Requirements:

The two-computer method is the best practice: hash on a secure computer with no direct connection to the tenant, then copy only the hash and salt files to a connected computer for upload. Both computers need the same agent version. The single-computer method hashes and uploads in one step, so the clear-text table must sit on an internet-connected computer.

EdmUploadAgent.exe /ValidateData /DataFile C:\Edm\Data\PatientRecords.csv /Schema C:\Edm\edm.xml
EdmUploadAgent.exe /CreateHash /DataFile C:\Edm\Data\PatientRecords.csv /HashLocation C:\Edm\Hash /Schema C:\Edm\edm.xml /AllowedBadLinesPercentage 5
EdmUploadAgent.exe /Authorize
EdmUploadAgent.exe /UploadHash /DataStoreName PatientRecords /HashFile C:\Edm\Hash\PatientRecords.EdmHash
EdmUploadAgent.exe /GetSession /DataStoreName PatientRecords

The first two commands validate the file and, on the secure computer, write the .EdmHash and .EdmSalt files, tolerating up to 5% malformed rows. The rest run on the connected computer: sign in as a member of EDM_DataUploaders, upload the hashes and list the upload sessions. Refreshes are usually automated with Task Scheduler.

Creating and managing EDM SITs needs the Compliance Administrator or Global Administrator role (the overview article also lists Exchange Administrator). After creating or editing an EDM SIT, test it with Test-DataClassification and wait 24 hours before testing it in a DLP policy.

Common trap: Believing an EDM SIT can have only one or two primary elements - in the new EDM experience each EDM SIT needs at least one and can have up to 10 primary elements, each mapped to a SIT that detects it.

Common trap: Giving the person who uploads EDM data the Compliance Administrator role and nothing else - the upload account must be a member of the EDM_DataUploaders security group, which is what authorises the EDM Upload Agent.

Get the whole book

This note is one section of Ultra Transcenders SC-401: Administering Information Security in Microsoft 365, an independent study guide that explains every topic the exam covers by technology, with comparison tables, diagrams and the common traps, plus a glossary linked to Microsoft Learn.

Amazon.co.ukKindle: coming soonPaperback: coming soon
Amazon.comKindle: coming soonPaperback: coming soon

Due on Amazon in December 2026, in Kindle and paperback editions.

About the book · SC-401 terms in the glossary · All SC-401 study notes

More SC-401 study notes