Dataset
Microsoft 365 company record datasets for AI training
A Microsoft 365 dataset is one business's tenant delivered as a linked body of work: Exchange Online mailboxes, SharePoint sites, OneDrive drives, Teams chats and channel messages, and the Word, Excel, PowerPoint and OneNote files stored in them, tied together by Microsoft Entra user accounts and Microsoft 365 Groups. SourceX sources it to a buyer's spec from established businesses that run Microsoft 365. Each dataset is de-identified and licensed for an agreed permitted use, and a buyer should ask for one pseudonym per person across mail, chat and files.
Dataset manifest
Sourced to your spec- What it is
- One Microsoft 365 tenant's mail, chat, sites, drives and Office files, joined by Entra accounts and Microsoft 365 Groups
- Typical systems
- Microsoft 365 business and enterprise plans: Exchange Online, SharePoint, OneDrive, Teams, OneNote, Planner and the unified audit log
- Typical history
- Specified by the buyer; limited by retention policies, deletion of leavers' mailboxes and drives, and library version limits
- Modality
- Office files, mail and chat messages, list and task records, with identity, membership, path and audit metadata
- Delivery formats
- Agreed per order; original DOCX, XLSX and PPTX files, mail and chat as JSONL or EML, link tables for groups and attachments
- Preparation
- People and customers pseudonymized consistently across workloads; labeled or encrypted files decrypted by the data owner or excluded, for the buyer to confirm; exclusions listed
- Licensing
- Rights reviewed workload by workload; permitted use set in the license; scope for outsiders' mail and personal content agreed per order
- Availability
- Sourced to your spec from businesses that run Microsoft 365; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| source | object | Pseudonym of the Microsoft Entra tenant ID, and whether the item came from a Purview export, Microsoft Graph or both. |
| item_id | string | ID of one item: an Exchange message, a Teams message, a SharePoint or OneDrive file, a OneNote page or a Planner task. |
| workload | enum | The service that held the item: Exchange, SharePoint, OneDrive, Teams, OneNote or Planner. |
| group_id | string | Pseudonym of the Microsoft 365 Groups ID that owns the item's mailbox, site, team or plan, or null for personal mailboxes, drives and chats. |
| container | object | Where the item sat: mailbox and folder path, site, library and folder path, team and channel, or chat. |
| actor_id | string | Pseudonym of the Entra user ID of the sender, author or last modifier, with flags for guests and shared mailboxes. |
| timestamps | object | Sent, received, created and last modified times as the workload recorded them. |
| thread | object | The conversation ID and internet message ID of an Exchange message, or the reply-to message ID of a Teams channel thread. |
| body_text | string | Body of a mail or Teams message as text, with quoted replies handled as agreed. |
| file | object | For Word documents, Excel workbooks and PowerPoint presentations: name, size and a pointer to the original file. |
| versions | array | Version history of a SharePoint or OneDrive file, each entry with its label, modifier and time, where pulled. |
| column_metadata | object | SharePoint list item fields of a file, such as content type and custom columns, where pulled through Microsoft Graph. |
| cloud_attachments | array | Links in a mail or Teams message to files in OneDrive or SharePoint, each resolved to an item_id or marked unresolved. |
| protection | object | Sensitivity label and encryption state, and whether the item was delivered as stored, decrypted or excluded. |
Field names from the table above; values are masked placeholders.
Example record
{
"source": {
"tenant": "tn_3f9c",
"extracted_via": [
"purview_export",
"graph"
]
},
"item_id": "tm_19c2_1718203355120",
"workload": "teams",
"group_id": "grp_0c71",
"container": {
"team": "Field Ops Planning",
"channel": "General",
"channel_type": "standard"
},
"actor_id": "u_0288",
"timestamps": {
"created": "2024-06-12T14:42:35Z",
"last_modified": "2024-06-12T14:44:02Z"
},
"thread": {
"reply_to_id": "tm_19c2_1718199012877"
},
"body_text": "Updated the Q3 route plan with the two depots [CUSTOMER_41] asked for. Tab 2 has the new stop counts.",
"cloud_attachments": [
{
"name": "Q3 route plan.xlsx",
"resolved_item_id": "sp_0c71_di_5521",
"path": "Shared Documents/General/Q3 route plan.xlsx",
"version_at_send": "unknown",
"version_delivered": "14.0"
}
],
"protection": {
"sensitivity_label": "General",
"encrypted": false,
"delivered": "as_stored"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Agents that work across mail, chat and files
One group's mailbox, channel, library and plan give tasks that cross Outlook, Teams and SharePoint.
Enterprise search under real permissions
Group membership tests whether retrieval stays inside what a user could open.
Messages grounded in the files they discuss
Cloud attachments tie a mail or chat message to the exact workbook or deck it refers to.
Document revision modeling
Version history of Word and PowerPoint files shows how a draft changed and who changed it.
Simulated tenants for evaluation
Real mail, files and group structure can seed a test tenant for an agent.
Use-case guides: Enterprise and computer-use agents, Document AI, enterprise search and RAG, Private evaluation sets
What makes this data valuable
Group IDs on shared items
Every team site, group mailbox and channel item carries its Microsoft 365 Group.
Teams threads intact
Channel replies keep their parent message ID.
Cloud attachments resolved
Links in mail and chat point to a delivered file.
Versions and columns pulled
File history and SharePoint column values, not only the current file.
Leavers still present
Mailboxes and drives of former staff were preserved.
Protection state recorded
Each item's label and encryption status, with counts of exclusions.
System export
Microsoft 365 dataset
One Microsoft 365 Group joins a mailbox, a site, a team and a plan
Creating a Microsoft 365 Group creates a set of resources that share one membership list: a group mailbox and calendar, a SharePoint team site with its document library, a OneNote notebook and, when used, a Planner plan. A Teams team is built on a group and carries the group's ID. Files posted in a standard channel land in a folder of the group's SharePoint library, files sent in a one-to-one or group chat land in the sender's OneDrive and are shared from there, and meeting recordings are saved to OneDrive or SharePoint. So one group ID gathers a working team's mail, channel conversation, files, notes and tasks, and a tenant can be cut team by team without breaking those joins.
The joins have edges a buyer should map. Private and shared channels have their own SharePoint sites and their own member lists. Chats, personal mailboxes and OneDrive drives belong to no group, and they hold much of the real work. Distribution lists and security groups own no content. Many groups are shells, created with a team nobody used. Membership is current state: who belonged to a group a year ago is in audit records, if anywhere.
What the tenant remembers varies by workload. A SharePoint or OneDrive library keeps earlier versions of a file, with the column values each had, up to the library's limit, and AutoSave makes many of them. A deleted mail passes through Recoverable Items and is purged unless a hold or retention policy keeps it. When someone leaves and their license is removed, their mailbox and OneDrive are deleted after a period unless the business preserved them, so former staff are often missing from one side of a thread.
What a Purview export delivers, and what stays in the tenant
The usual way a business takes data out of Microsoft 365 is a Microsoft Purview eDiscovery export, which now also covers what used to be the separate Content Search tool. It delivers mail as PST files or as individual message files, and SharePoint and OneDrive documents as loose files in folders, with an items report naming each item's source location, original path and basic properties.
It flattens what the tenant kept linked. Teams messages are searched from compliance copies held in mailboxes: the participants' mailboxes for chats, the team's group mailbox for standard and shared channels and a dedicated mailbox for each private channel. They come out as individual message items or, where that option was chosen, as HTML transcripts laid out for a human reviewer, so a channel thread has to be rebuilt either way. Documents arrive as the latest version unless the export was set to include more. Microsoft's list of the report's fields has a content type ID and no custom SharePoint columns. A link to a file in OneDrive or SharePoint, which Microsoft calls a cloud attachment, comes out as a link unless the export was set to collect the file, and the copy collected may be the latest and not the one that was sent.
The gaps are closed through Microsoft Graph, which exposes file versions, list item fields, Teams messages with their reply IDs, group members and Planner tasks, and through the unified audit log, which records operations such as a file being accessed, modified or shared. Each route has conditions the data owner should check: Microsoft lists collecting versions and cloud attachments, and decrypting labeled files, among its premium eDiscovery features, how far back the audit log goes depends on the plan and its settings, and Microsoft sets requirements for bulk reads of Teams messages. To test a sample, pick one group and confirm its mailbox, site and team arrive under one ID. Rebuild one channel thread from its message items. Open one mail with a cloud attachment and see whether the file is there. A file that carried a sensitivity label should open or be listed as excluded, and how it was decrypted is a question for the data owner and counsel.
What to check before licensing
- Ask which method produced each workload, a Purview eDiscovery export, Microsoft Graph or both, and get the export's items report and the options it was run with.
- Pick one Microsoft 365 Group in the sample and confirm its group mailbox, SharePoint site, Teams channels and Planner plan arrive under the same group ID.
- Check whether Teams channel threads keep reply IDs or arrive as separate message items, and how chats, private channels and shared channels were scoped.
- Ask whether SharePoint and OneDrive version history and column metadata were pulled, and count versions on a few heavily edited files.
- Confirm that sensitivity-labeled and rights-protected files were decrypted lawfully or excluded, and that each item's protection state is recorded.
- Review how personal and customer data in mail, chat and files is handled, and which mailboxes and sites were excluded.
- Have the buyer and the data owner each check, with counsel, that the export method and intended use fit Microsoft's terms for the supplier's plan on exported data and API use.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
How is a Microsoft 365 dataset different from a SharePoint or Outlook export?
It keeps the workloads joined. A SharePoint export gives files and an Outlook export gives mail, but in a tenant the two refer to each other: a Teams message links to a file in the team's site, and a mail carries a cloud attachment from OneDrive. A tenant dataset keeps user and group IDs consistent across all of it.
Do Teams chats and channel messages come through intact?
Not as threads from a Purview export. It searches compliance copies of Teams messages held in mailboxes and returns individual message items, or HTML transcripts laid out for a reviewer, so threads have to be rebuilt. Microsoft Graph returns messages with reply IDs and reactions, under requirements the data owner should check. Ask which route was used, and whether private channels and one-to-one chats are in or out.
Can we get the version history of Word, Excel and PowerPoint files?
Yes, where it still existed and was pulled. SharePoint and OneDrive libraries keep earlier versions of a file up to a limit the administrator sets, and Microsoft Graph can list and retrieve them. A Purview export delivers the latest version unless it was set to include more. Expect many versions to be AutoSave snapshots, so ask for each version's modifier and time.
What happens to files protected by sensitivity labels?
They need a decision before delivery. A sensitivity label can encrypt a file so that only permitted users can open it, and an exported copy may still be encrypted: Microsoft documents decryption on export as a premium eDiscovery feature that does not cover every kind of encryption. The business decrypts such files through a route it is entitled to use or leaves them out. Ask for the label and encryption state on every item and a count of exclusions.
How far back does a Microsoft 365 tenant go?
As far as retention, licensing and migration history allow. Retention policies can delete mail and files after a set period, and the mailboxes and drives of departed staff are removed unless preserved. Content migrated from file shares or on-premises servers may carry the migration date as its created date. Ask for item counts by month and workload.
Is SourceX affiliated with Microsoft?
Microsoft 365 is named to identify the system the records come from. That does not imply a partnership with or endorsement by Microsoft. The records belong to the business that runs Microsoft 365, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Whole-company archives across connected systems
One company's records across its systems, linked by shared identities and a common timeline
- Enterprise document archives
A company's working files with folders, versions and sharing metadata
- Approved workplace email and chat exports
Approved, de-identified exports of team email threads and chat channels
- Google Workspace company records
One tenant's mail, files, calendar events, Chat messages and Meet artifacts, joined by its user accounts and groups
- Microsoft Teams chat and channel archives
One business's Teams conversations as channel posts with replies, chats, reactions, mentions and meeting transcripts
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026. Own data like this? See how companies license it to AI developers.