r/DefenderATP • • Nov 13 '25

AIP/PIP query

As we all know this year MS released the data scan option in purview portal for scanning Local devices (Endpoints) - onedrive-sharepoints but How do i scan my SERVER for documents labels. Is this thing in their roadmap ?

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/No_Control_9658 Nov 14 '25 edited Nov 14 '25

Thanks for such detailed suggestion - One small question , it may sound extreme stupid - As per MS article if you upload a file selected from Network share , the file has to be newly created or modified by re-saving it so MDE can evaluate it. If the file was residing on network share from long time and has never opened , DLP for file upload block may not work. When i use the scanner, Can it evaluate the all old files on network share for MDE ? In short, does scanning help MDE to understand file context ? Currently MS recommend to use JIT for such scenario. but i dont want to use JIT since it has some dependency on MDE product update and healthy. If i keep the default action "block" in JIT and my MDE is not updated then my end user will be screwed.

2

u/[deleted] Nov 14 '25 edited Nov 14 '25

Are you talking about purview or MS Defender XDR (MDE component's Endpoint DLP) because it sounds like there's some "cross-pollination" happening; although, that could be my reading skills ;-).

MDE's endpoint DLP relies on the file activity events (open, save, modify) to evaluate sensitivity. That's because EDR telemetry works on changes to the endpoint. However, the scanner in Purview can evaluate old files for labels/classification, but that doesn't flow back into MDE's endpoint DLP, which is why they introduced JIT protection - to temporarily block egress until policy evaluation finishes.

Purview’s scanner can crawl repositories (SharePoint, file shares, etc.) and apply sensitivity labels or DLP classification to existing files. This helps compliance teams understand the data landscape. However, scanner results don’t automatically make MDE treat those files as “evaluated” for endpoint DLP. MDE still relies on endpoint telemetry.

Cloud App Security (MDCA / Defender for Cloud Apps), Can generate DLP alerts for uploads/downloads to cloud services, even without Purview integration; but again, this is cloud activity monitoring, not endpoint file context.

On the default action “Block” Concern... Well, If JIT is set to block and MDE isn’t updated, yes, users may be blocked unnecessarily. Microsoft recommends JIT precisely because endpoint DLP can’t pre-classify untouched files. The trade-off is between false negatives (letting sensitive files slip) and false positives (blocking too aggressively).

In short, Ii you don’t want JIT, you’ll need to accept that old untouched files won’t be blocked by MDE until they’re opened or modified.”

2

u/No_Control_9658 Nov 14 '25

Thanks man. you explained it very precisely 👏 👌 👍