Data Sanitizer Data Sanitizer · Blog
● For SOC & IR analysts

Entra ID sign-in logs and AI: what to remove before you paste

Updated November 2026 · 4 min read

A password spray shows up as rows of nearly identical sign-ins. The pattern is what the AI needs; the user names are what the customer needs kept private. You can give the AI one without the other.

The sign-in rows, as exported

A made-up spray against IMAP, ending in one successful sign-in:

createdDateTime=2026-11-20T08:14:22Z userPrincipalName=r.cohen@contoso.com appDisplayName="Office 365 Exchange Online" ipAddress=203.0.113.91 location="NL, Amsterdam" clientAppUsed=IMAP4 status=50126 "Invalid username or password"
createdDateTime=2026-11-20T08:14:25Z userPrincipalName=d.levi@contoso.com appDisplayName="Office 365 Exchange Online" ipAddress=203.0.113.91 location="NL, Amsterdam" clientAppUsed=IMAP4 status=50126 "Invalid username or password"
createdDateTime=2026-11-20T08:14:31Z userPrincipalName=svc-backup@contoso.com appDisplayName="Office 365 Exchange Online" ipAddress=203.0.113.91 location="NL, Amsterdam" clientAppUsed=IMAP4 status=0 "Success"
createdDateTime=2026-11-20T08:16:02Z userPrincipalName=svc-backup@contoso.com appDisplayName="Microsoft Graph" ipAddress=203.0.113.91 location="NL, Amsterdam" clientAppUsed=Browser status=0 "Success" deviceDetail.operatingSystem=Linux

What the AI does not need

What stays readable, on purpose

The timestamps, the application, the client app, the status codes and the source IP. The pattern (same IP, legacy protocol, failures, then a success) is the whole story, and none of it is the customer's data.

The same rows after Data Sanitizer

Output, exactly as the app produces it

createdDateTime=2026-11-20T08:14:22Z userPrincipalName=USER_01 appDisplayName="Office 365 Exchange Online" ipAddress=203.0.113.91 location="NL, GEO_01" clientAppUsed=IMAP4 status=50126 "Invalid username or password"
createdDateTime=2026-11-20T08:14:25Z userPrincipalName=USER_02 appDisplayName="Office 365 Exchange Online" ipAddress=203.0.113.91 location="NL, GEO_01" clientAppUsed=IMAP4 status=50126 "Invalid username or password"
createdDateTime=2026-11-20T08:14:31Z userPrincipalName=USER_03 appDisplayName="Office 365 Exchange Online" ipAddress=203.0.113.91 location="NL, GEO_01" clientAppUsed=IMAP4 status=0 "Success"
createdDateTime=2026-11-20T08:16:02Z userPrincipalName=USER_03 appDisplayName="Microsoft Graph" ipAddress=203.0.113.91 location="NL, GEO_01" clientAppUsed=Browser status=0 "Success" deviceDetail.operatingSystem=Linux

Each account keeps its own token on every row, so the AI can still say which one was hit, when, and what happened next.

Ask, then restore

Ask "Is this a password spray, and which account was compromised?" The answer will point at USER_03: it signed in over IMAP from the spraying IP, then reached Microsoft Graph two minutes later. Paste the answer into the Restore view and USER_03 becomes the real account again, on your machine.

Still read it before you paste

No pattern matcher catches everything. Data Sanitizer highlights every value it replaced and flags anything that looks sensitive but was left as written, so you can mask it with one click. Read the output before it goes into the chat, and keep following your organization's rules on which AI tools are allowed.

Redact it first — in your browser, free.

Data Sanitizer strips secrets, IPs, names and PII from text before you paste it into any AI. Nothing is uploaded.

Open the free app →