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.
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.
| 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.
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.
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.
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
How to design sensitivity labels: the four label scopes, label priority and order, sublabels and label groups, and label limits.
How to roll out a DLP policy safely with simulation mode and policy tips, and the four policy states with their PowerShell Mode values.
Which Windows, Windows Server and macOS devices Endpoint DLP supports, the prerequisites, and how to onboard devices to Microsoft Purview.
Which setting wins when several retention policies and labels apply to one item, with worked examples, and how to use Policy lookup.
Which Insider Risk Management policy template fits each scenario, with its triggering event, prerequisites and user limit.
What Audit (Premium) adds over Audit (Standard): default retention periods, 10-year retention, intelligent insights and the licences each needs.
How to build Microsoft Purview eDiscovery searches with the condition builder and KeyQL, with example queries and the search limits to know.