How to Find Personal Data in Microsoft 365 for a DSAR (Outlook, OneDrive, Teams)
Use Microsoft Purview eDiscovery to search Outlook, OneDrive, SharePoint and Teams for a DSAR: where data lives, how to build the query and how to export it.
Short answer
Use eDiscovery search in the Microsoft Purview portal. One search can cover Outlook mailboxes, OneDrive, SharePoint and Teams. Add the people and sites as data sources, build a query from the requester’s names, email addresses and other identifiers, check the statistics and samples, then export the results as .msg files and documents for review and redaction. Remember that Microsoft 365 is only part of the picture: your other systems and paper files are in scope too.
Why Microsoft 365 matters for a DSAR
The EDPB Guidelines 01/2022 say a controller must search for personal data throughout its IT systems and non-IT filing systems, using the identifiers it holds, such as a customer number or user name (para. 125). Internal emails that discuss the requester count, not only messages sent to them.
Microsoft points the same way. Its eDiscovery documentation says the User Data Search case tool is retired, its functionality is merged with eDiscovery, and search can be used to find content to support data subject requests (Microsoft Learn: create a search).
Where does the data live in Microsoft 365?
According to Microsoft Learn:
- Outlook: email, calendar items, contacts, notes and tasks are stored in the user’s mailbox.
- Teams chats: conversations in the Teams chat list are associated with the mailboxes of the users in the chat.
- Teams channels: channel conversations are associated with the team’s mailbox.
- Microsoft 365 Copilot: prompts and Copilot responses are stored in users’ mailboxes.
- OneDrive and SharePoint: a user data source typically includes the user’s mailbox and OneDrive site, and you can add SharePoint sites by URL (Microsoft Learn: data sources).
So for Teams, search the user mailboxes for chats and the team mailbox for channel messages.
Step by step: running the search
You need an account assigned eDiscovery permissions. Microsoft also says that to export content, the eDiscovery user needs a Microsoft 365 Enterprise E3 or E5 licence (Microsoft Learn: export).
Create the search. In the Purview portal, open eDiscovery, then create a case or use your organisation’s Content Search case, and select Create a search. Search names must be unique in your organisation.
Add data sources. Add the users and groups whose mailboxes and OneDrive accounts may hold the requester’s data, plus any relevant SharePoint sites. The organisation-wide source “All people and groups” covers all Exchange mailboxes, OneDrive accounts and SharePoint sites. Microsoft warns that tenant-wide searches in large organisations can be long-running.
Build the query. Use the Keyword Query Language (KeyQL, often shortened to KQL) editor. It suggests properties and flags potential errors before you run the search (Microsoft Learn: KeyQL). A starting point might look like this:
("Jane Murphy" OR "jane.murphy@example.com" OR participants:jane.murphy@example.com OR "EMP-10442")Include every identifier you hold: former names, personal and work email addresses, phone numbers in the formats people actually type, staff or customer numbers.
Run it and check the results. Choose the Statistics or Sample view. Statistics give a summary of the estimated results. A sample shows a representative selection, so you can check that the query finds the right person.
Refine and rerun. Adjust the query if it misses obvious material or returns too much noise.
A few rules from Microsoft’s guidance are worth knowing:
- AND, OR, NOT and NEAR must be uppercase to work as operators.
- Keyword searches are not case-sensitive.
- An empty keyword condition returns everything in the selected sources, not nothing.
- kind:microsoftteams returns chats, meetings and calls in Teams.
- Recipient expansion: searching a person’s address in From, To or Participants also looks up their alias and display name in Microsoft Entra ID.
One more tip: do not drop whole mailboxes to narrow a search. Emails that mention the requester can sit in anyone’s mailbox.
Exporting the results
In the search, select Export. Choose Export items with items report, and under Export format choose Create .msg files for messages. Microsoft also offers PST files. SAR Portal accepts individual .msg and .eml emails, so choose .msg. Files from OneDrive and SharePoint export as native Office and other documents.
Two points from Microsoft Learn:
- Search export packages expire 14 days after you create the export. Download them before then.
- Exports are compressed into .zip packages. Microsoft recommends a tool such as 7-Zip over the built-in Windows utility to unzip them.
What Purview will not find
Purview searches Microsoft 365. Unless you have brought other data into Microsoft 365, it does not cover:
- other business systems, such as HR, payroll, CRM or ticketing tools;
- paper files that form part of a filing system (EDPB para. 98);
- data held for you by processors outside Microsoft 365 (EDPB para. 125).
Microsoft also notes that partially indexed items typically account for about 1% of content. You can include them at export time.
Bringing the results into SAR Portal
SAR Portal does not connect to Microsoft 365 and does not read mailboxes. You run the search in Purview, export, and upload the results to the case.
- Formats. SAR Portal accepts emails (.eml and .msg), PDF, Word, Excel, PowerPoint, images (JPG, PNG, TIFF, BMP, GIF) and text and data files. See supported formats.
- A suggested query. If you list Microsoft Purview under Settings > Systems & Integrations, the AI guidance on a case suggests a ready-to-run Purview search query (KQL), built from the requester’s identifiers. Check it before you run it in Purview.
- Redaction with review. AI suggests what to redact. In the upload flow you review the suggestions and choose what to redact before anything is applied. AI can miss personal data or redact too much, so always check the result before you release it.
- Large exports. On Enterprise, bulk archive processing handles ZIPs of Purview .msg exports, up to 5 GB or 50,000 files per job. In bulk archive processing, suggested redactions are applied automatically and you review the results.
If you are unsure how far your search needs to go for a contentious request, take advice from your DPO or a solicitor.
Frequently asked questions
Which Microsoft tool do I use to search Microsoft 365 for a DSAR? Use eDiscovery search in the Microsoft Purview portal. Microsoft says its search covers Exchange Online mailboxes, SharePoint sites, OneDrive accounts, Microsoft Teams, Microsoft 365 Groups and Viva Engage, and that the retired User Data Search tool for data subject requests has been merged into eDiscovery.
Where are Teams chats stored? Microsoft says chats in the Teams chat list are associated with the mailboxes of the people in the chat, and channel conversations are associated with the team’s mailbox. Search the relevant user mailboxes for chats and the team mailbox for channel messages.
Which export format should I choose for SAR Portal? Choose Create .msg files for messages. SAR Portal accepts .msg and .eml emails, along with PDF, Word, Excel, PowerPoint, images and text files. On Enterprise, bulk archive processing handles ZIPs of Purview .msg exports, up to 5 GB or 50,000 files per job.
Does SAR Portal search Microsoft 365 for me? No. SAR Portal does not connect to Microsoft 365 or read mailboxes. If you list Microsoft Purview under Settings > Systems & Integrations, the AI guidance on a case suggests a ready-to-run Purview search query for that requester, which you check before running it in Purview yourself.
Related guides:
- Third-Party Data in a DSAR Response
- Employee DSARs in Ireland
- How Long Do You Have to Respond to a DSAR?
From Purview export to redacted response. Every free trial runs for 14 days on the plan you choose, with up to 500 pages of document processing. No credit card required. Start a free trial or book a demo.
Sources
Ready to simplify your DSAR process?
SAR Portal helps you handle DSARs with AI-suggested redaction, deadline tracking and an audit trail.
Related Articles
Tinder's €11 Million Fine: What the DPC Decision Means for Subject Access Requests
Ireland's Data Protection Commission fined Tinder's EU operator €11 million …
Third-Party Data in a DSAR Response: What to Redact and What to Keep
How to handle other people's personal data in a subject access response under …