How do I export all of my company's Microsoft 365 data?
Your admin runs one eDiscovery search across all mailboxes, SharePoint sites and OneDrive accounts, then exports it. eDiscovery is the Microsoft 365 search and export tool. It sits in the Purview portal, the Microsoft 365 admin site for records.
Not the admin? On a 20-minute call, our team plans the export with your people, with no fees.
| Record | Where Microsoft 365 stores it | How it comes out |
|---|---|---|
| Email, calendar, contacts | Each person's mailbox | eDiscovery PST, or Outlook for one mailbox |
| Teams chats | Mailboxes of everyone in the chat | Mailbox search |
| Teams channel posts | Each team's mailbox. Private channel posts may sit in members' mailboxes | Mailbox search |
| Files posted in channels | The team's SharePoint site. Private and shared channels each have their own site | Site search |
| Meeting recordings | Organizer's OneDrive, or the team's site | OneDrive or site search |
| Files linked in mail or chat | SharePoint or OneDrive (linked, not attached) | Turn on "cloud attachments" (linked files) |
Where each record lives, and what picks it up.
Microsoft 365 help pages on Teams in eDiscovery, cloud attachments and recordings. Checked 19 Nov 2026.
Read the details on Teams channels
- Standard channel posts are kept in the team's group mailbox, the team's shared inbox.
- Shared channel posts are kept in a system mailbox of the parent team. Search the team's mailbox to find them.
- Each private and shared channel has its own SharePoint site, apart from the main team site. Add those sites to the search too.
- App cards in chats and channels are kept in the same mailboxes as the messages.
Is our old Microsoft 365 data worth money?
Yes, in many cases. AI labs pay to learn from real work records. Mail, Teams and SharePoint from the same team are worth more together than apart.
Work Data Lab is a New York company that buys company work records, removes personal details and licenses them to AI labs. Sellers are typically paid $50K to $2M, with no fees, when a lab pays.
- More than 100 companies sell their data with us. We have paid $10M to partner companies.
- No fees and nothing upfront. If no lab buys, you owe us nothing.
- You keep your own copy of everything you export.
- You are paid when a lab pays, usually 30 days to 6 weeks after the sale.
- Most licenses are not exclusive, so you can be paid more than once.
- We check that a lab wants your data before we ask for a full export.
| People | Most trades | Consulting firms |
|---|---|---|
| 50 to 100 | $50K to $107K | $50K to $128K |
| 100 to 200 | $50K to $157K | $60K to $188K |
| 200 to 500 | $79K to $249K | $95K to $299K |
| 500 to 1,000 | $113K to $356K | $136K to $428K |
| 1,000+ | $181K to $570K | $218K to $684K |
Indicative, from our estimate. The range moves with the tools you add, your years of records and records special to your trade.
A public example
Spirit Airlines went bankrupt and put its Microsoft 365 records up for sale, about 100 million emails and 500 million Teams messages. A large AI developer won with a $10M bid, per MIT Technology Review.
Our guide on what company data is worth shows how the range is set.
Read what buyers say they want
| Buyer | What it says it wants | Source |
|---|---|---|
| micro1 | Long-horizon data that shows how work gets done across email, chat and CRM, per a micro1 manager | Business Insider, Oct 2026 |
| Surge AI | Archives full of disagreements and hard judgment calls, per its RL environments lead | MIT Technology Review, 13 Oct 2026 |
| Mercor | The same stand-in name for one customer across email, tickets and CRM. The company says more connected tools usually means a higher payout | Mercor blog and data page |
| Turing (Project Lazarus) | Prices from a real sample after a mutual NDA, the company says | lazarus.turing.com |
Each line is what the company says or what was reported. Checked 19 Nov 2026.
Records by industry:
- Construction records
- Architecture records
- Engineering records
- Law firm records
- Agency records
- Consulting records
- Accounting firm records
- Manufacturing records
- Logistics records
- Field service records
- Insurance records
- Software company records
- Call center records
- CAD and BIM records, such as SharePoint drawing libraries
How do we keep your Microsoft 365 records safe?
We sign an agreement with you first, and you choose what goes in. We remove personal details before anything ships, and you check a cleaned sample. The Microsoft 365 Trust Center says your company owns the data it keeps there.
Priya Shah to Tom Becker: Harlow Foods takes the split delivery if we cover freight.
Leadership mailboxes always stay out. We suggest leaving out the rest of the list below too. You can remove anything else before a sale.
What a lab can license
- Shared mailboxes like sales@ and orders@
- Project, ops, sales and buying mailboxes
- Teams channels for projects and customers
- SharePoint project and team sites
- Former staff mailboxes you kept
What stays out
- Leadership mailboxes
- HR and payroll mail and sites
- Legal and privileged files
- Health records
- Disciplinary threads
- One‑to-one chats, unless you choose to include them
- Records under a client NDA
- We never ask for passwords.
- Labs see your company name. Client and staff names and other personal details are removed, as in the example above.
- Labs are barred by contract from identifying anyone.
- Everything is stored on secure servers.
Our guide on how de‑identification works shows a full record before and after.
Read the short list for your lawyer
- Who owns the data. The Microsoft 365 Trust Center says you own your data. After a subscription ends, it keeps the data for 90 days so you can take a copy, then deletes it.
- New York Civil Rights Law 52-c. Employers with a place of business in New York that monitor staff email give written notice at hiring (NY Senate). The law covers monitoring. It does not mention licensing.
- California CCPA. Since 1 Jan 2023 it covers staff personal information too, per the California Privacy Protection Agency. It applies to businesses that meet its size or data tests, such as $26.625M or more in yearly revenue.
- FTC. In Feb 2024 FTC staff wrote that changes to privacy terms for AI use should be clear, not quiet. Your lawyer can read your privacy notice with you.
- Outside the US. If you have staff or clients in the UK or EU, data protection law (GDPR and UK GDPR) also covers their details in your mail and files. India has its own law, the DPDP Act.
Read more in our guide on how to license safely.
This page is not legal advice. Check this with your own lawyer.
Who in my company can run the export?
Your Microsoft 365 admin, or your IT provider (the outside firm that looks after your computers). The Microsoft 365 help pages list an E3 or E5 license for the person who runs it.
- Find who holds the Global admin role (the top admin). It shows in the admin center.
- That person gives eDiscovery rights in Purview to whoever runs the export.
- On a Business plan, ask your admin or IT provider which route your plan allows.
If nobody knows the admin login
It is often a former employee, or the IT provider who set things up. Ask them first, then our team helps your people with the export.
Read the details on licenses
The Microsoft 365 help page on exporting says to give the eDiscovery user a Microsoft 365 Enterprise E3 or E5 license. For SharePoint files, it says the account also needs a SharePoint E3 license, or items might not export as expected.
The old names Core eDiscovery and Advanced eDiscovery were retired. In the Purview portal they are now eDiscovery (Standard) and eDiscovery (Premium).
How do I check how much data we have in Microsoft 365?
Two numbers tell you: how many people have mailboxes, and how many years of mail you have. Both take a minute to find.
- Count your users.Sign in at admin.microsoft.com and open Users, then Active users. The total is at the top.
- Add past staff you kept.Shared mailboxes and inactive mailboxes do not show in Active users. Ask your admin to count them.
- Note your oldest year.The year you moved to Microsoft 365 or Exchange is a fair guide.
Our estimate asks for these two numbers. Then book the 20-minute call, and we plan the export with your people.
How do I run an eDiscovery export, and how long do I have?
In the Purview portal, make a case, search every location, then export. The whole export expires 14 days after you create it, so download it the same day.
- Open the Purview portal.Sign in with the account that has eDiscovery rights.
- Make a case.A case is just a folder that holds your search. Go to eDiscovery, then Cases, and make a new one.
- Search every location.Add all mailboxes, all SharePoint sites and all OneDrive accounts.
- Export.Turn on cloud attachments. Pick one PST per mailbox and keep folder paths.
- Download the files.Do it the same day, before the export expires.
- Check the files.Open a few PST files and folders to make sure they work.
Read the details on the export
| Setting | What to pick |
|---|---|
| PST size per file | 1 to 10 GB. Pick 10 for fewer files. |
| Zip package size | Up to 40 GB. |
| One PST per mailbox | On, so each person's mail stays apart. |
| Keep folder paths | On. |
| Cloud attachments | On, so threads keep their files. |
Export settings in plain words.
Microsoft 365 help page on exporting search results. Checked 19 Nov 2026.
- Mail can come out as PST files or as single .msg files. A PST is a standard Outlook archive file.
- SharePoint and OneDrive come out as copies of the documents.
- A data loss prevention rule is a setting that blocks sensitive files. Files it blocks show in the search counts, but are left out of the export.
- The Teams Export APIs are a route for developers. We can pull Teams records this way, or with our connectors, working with your admin. Messages of deleted or inactive users can be reached for up to 30 days.
How do I keep mail, Teams and SharePoint linked?
Run one search for the whole company, with the settings above. A Teams thread linked to an email and a signed file is worth more than loose files.
- Teams #customer-ordersHarlow wants a split delivery. Can we cover freight?
- OutlookRe: Order 7731. The customer agrees.
- SharePointHarlow supply terms v4 signed.
- Teams meetingHarlow weekly, saved to OneDrive.
- Many small searches lose the links between mail, chats and files.
- Write down the date and what each export covered.
Can I export one mailbox with Outlook instead?
Yes, for a handful of mailboxes, using classic Outlook for Windows. First set it to download all mail, because by default it only keeps the past year.
- Set sync to All.In classic Outlook, open Account settings, pick the account and move the sync slider to All.
- Wait.Let all the old mail download. A big mailbox can take hours.
- Export to a PST.Go to File, Open and export, Import/Export, Export to a file, then Outlook Data File (.pst).
- Save it outside OneDrive.OneDrive will not sync PST files, so save to a local or network drive.
Check before you export
Scroll to the bottom of the inbox. If the oldest email is only a year old, the sync is still set to one year.
Read what a PST keeps
- A PST keeps mail, attachments, calendar and contacts.
- It leaves out rules, folder views and blocked sender lists.
- The new Outlook for Windows cannot export a PST. Outlook for Mac makes a different file, called OLM.
How do I keep former employees' email and files?
Do not delete old accounts until they are exported. A deleted user's mailbox and OneDrive are kept for 30 days, unless a hold (a keep setting) kept the mailbox longer.
| Account state | Can it still be exported? | What to do |
|---|---|---|
| Active | Yes | Export it with everyone else. |
| Changed to a shared mailbox | Yes | Keep it until the export is downloaded. |
| Deleted, with a hold or retention policy on first | Yes, as an inactive mailbox (one kept by a hold) | Search it with eDiscovery. |
| Deleted less than 30 days ago, no hold | Yes | Restore the user first, then export. |
| Deleted more than 30 days ago, no hold | No | It is likely gone, unless you exported it earlier. |
| OneDrive of a deleted user | For 30 days by default (your admin can change this) | A manager can download the files in that time. |
Microsoft 365 help pages on inactive mailboxes, OneDrive and leavers. Checked 19 Nov 2026.
Why old accounts matter
Former staff mailboxes often hold your oldest years of records. Years of records is one of the main things that sets your range.
What must I do before cancelling Microsoft 365?
Export and download everything while the subscription is active. Data you leave behind can be deleted within weeks, and is gone no later than 180 days after you cancel.
| Stage | Who can reach the data | How long |
|---|---|---|
| Active | Everyone | While you pay |
| Expired | Everyone | 30 days |
| Disabled | Admins only | 90 days |
| Deleted | No one | Final |
When a Microsoft 365 for business subscription runs out, for most plans bought direct. If you cancel, it skips Expired and goes straight to Disabled. Microsoft 365 help pages give different timings, so do not wait. Plans bought through an IT provider or an enterprise agreement can differ.
Microsoft 365 help pages on ending and cancelling a subscription. Checked 19 Nov 2026.
Never pick Delete subscription
The Microsoft 365 help pages say deleting a subscription skips these stages. SharePoint and OneDrive files are then deleted at once.
- Make sure you know who holds the Global admin role.
- Stop deleting the accounts of people who left.
- Put a hold on mailboxes you want to keep.
- Export, and download every file the day you export.
- Ask your accountant or lawyer which records you must keep by law, such as tax and payroll records.
- See what the records are worth before you delete anything: start the estimate. You can license the files you export later.
- Only then cancel.
Read the details on Microsoft 365 Backup
Microsoft 365 Backup costs 15 cents per gigabyte (GiB) each month, and restores are free. The help page says the backup never leaves Microsoft 365, so it is not a copy you keep after you cancel. Export as well.
Can I still get Microsoft 365 data after cancelling?
Your admin can often still export it, if you act fast. After you cancel, only admins can sign in, and data can be deleted after 30 days. Copies made earlier count too.
- An earlier eDiscovery export, or PST files someone downloaded.
- Mailboxes moved to Google Workspace or another tool.
- A backup or migration tool your IT provider already used.
Tell us on the call what you still have. We check with you what can be used.
What happens after I start the estimate?
You see a range in about two minutes, with no email needed. Then you book a 20-minute call to plan the export with your people.
- 1Estimate
- 220-minute call
- 3NDA (a privacy agreement) if you want one
- 4Agreement
- 5Copy-only export with your team
- 6Clean and approve a sample
- 7Paid when a lab pays
Read how to sell company data to AI, or see your estimate now.
Common questions
How do I export all Microsoft 365 mailboxes at once?
Your admin runs an eDiscovery search in the Purview portal across all mailboxes. Then they export it as PST files, one per mailbox. Download every file within 14 days, before the export is deleted.
How do I export Teams chats for the whole company?
Microsoft 365 stores Teams chats in mailboxes, so the mailbox search picks them up. Channel posts sit in each team's mailbox. Files shared in channels sit in SharePoint, and private and shared channels have their own sites, so search those too.
How do I export all SharePoint and OneDrive files?
Add all SharePoint sites and all OneDrive accounts to the same eDiscovery search, then export. The files come out as copies, with folder paths kept. Private and shared Teams channels have their own sites, so include those too.
Why does my Outlook PST only have one year of email?
By default, Outlook downloads only the past year of mail. Open Account settings and move the sync slider to All. Wait for the old mail to arrive, then export again.
What happens to a deleted user's mailbox in Microsoft 365?
It is kept for 30 days, then removed. If a hold or retention policy was on first, it becomes an inactive mailbox and can still be exported. Their OneDrive is kept for 30 days by default.
What happens to our data when we cancel Microsoft 365?
If you cancel, the subscription goes straight to Disabled, and only admins can reach the data. Data left behind can be deleted after 30 days, and is gone no later than 180 days after you cancel. Deleting the subscription removes SharePoint and OneDrive files at once.
Do I need an E3 or E5 license to export?
The Microsoft 365 help page on exporting lists an E3 or E5 license for the person who runs an eDiscovery export. On a Business plan, ask your admin or IT provider which route your plan allows. Classic Outlook for Windows can export one mailbox at a time.
Is Microsoft 365 Backup the same as an export?
No. Backup data stays inside Microsoft 365, and it costs 15 cents per gigabyte each month. It is not a copy you keep after you cancel, so export as well.
Can we license our Microsoft 365 data to AI?
More than 100 companies sell their data with us, typically for $50K to $2M. You choose what goes in, we remove personal details, and you check a cleaned sample. Check this with your own lawyer.
Who buys Microsoft 365 email and Teams archives for AI?
AI labs buy them, directly or through data programs such as Mercor, micro1 and Turing, per their own material. Work Data Lab buys company work records, removes personal details and licenses them to AI labs.
Do you need our Microsoft 365 admin password?
No. We never ask for passwords. Your own team runs a copy-only export with our help, or we pull the records with the API or our connectors, working with your admin.
Is Work Data Lab legit?
Work Data Lab is a New York company with offices in San Francisco, London, Amsterdam, Dubai, Bangalore and Hanoi. More than 100 companies sell their data with us, and we have paid $10M to partner companies. Email hello@workdatalab.com, or read our facts.
Sources (24)
- Export search results in eDiscovery, Microsoft Learn.
- Conduct an eDiscovery investigation of content in Microsoft Teams, Microsoft Learn.
- Cloud attachments in eDiscovery, Microsoft Learn.
- Troubleshoot meeting recording problems, Microsoft Learn.
- Learn about inactive mailboxes, Microsoft Learn.
- OneDrive retention and deletion, Microsoft Learn.
- Remove a former employee, step 2, Microsoft Learn.
- Remove a former employee, step 5, Microsoft Learn.
- What happens to my data and access when my Microsoft 365 for business subscription ends?, Microsoft Learn.
- Cancel your Microsoft business subscription, Microsoft Learn.
- Overview of Microsoft 365 Backup, Microsoft Learn.
- Export content with the Microsoft Teams Export APIs, Microsoft Learn.
- Learn about eDiscovery, Microsoft Learn.
- Export emails, contacts, and calendar items to Outlook using a .pst file, Microsoft Support.
- Data management, Microsoft Trust Center.
- AI labs are buying data from dead startups to train models, MIT Technology Review.
- AI companies really, really want to buy your work files and emails, WIRED.
- AI training and employee data: emails, Slack DMs, Business Insider.
- Your company is sitting on a new asset: its data, Mercor.
- Mercor data, Mercor.
- Project Lazarus, Turing.
- New York Civil Rights Law section 52-c, New York State Senate.
- CCPA frequently asked questions, California Privacy Protection Agency.
- AI (and other) companies: quietly changing your terms of service could be unfair or deceptive, Federal Trade Commission.
Figures about Work Data Lab come from our own records. Third-party figures link to their source and the date we checked it. Nothing on this page is legal or tax advice.