Skip to content

Dataset

OneDrive work file datasets for AI training

A OneDrive dataset is a collection of the files employees keep in OneDrive for work or school: documents, spreadsheets, decks, synced Desktop and Documents folders and files shared in Teams chats, delivered per drive with each DriveItem's folder path, file versions, permissions and sharing links. SourceX sources it to a buyer's spec from established businesses that run OneDrive. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Employees' work drives, one per person, with files, folder paths, file versions, permissions and sharing links
Typical systems
OneDrive for work or school in Microsoft 365; synced Desktop and Documents folders; the Microsoft Teams Chat Files and Recordings folders where cleared
Typical history
Specified by the buyer; reach depends on whether the business preserved the drives of people who left, and on its version limits
Modality
Office documents, spreadsheets, decks and PDFs; structured metadata per file; recordings and images where in scope
Delivery formats
Agreed per order; commonly original files in their folder tree, with JSONL metadata per DriveItem and its version and permission lists
Preparation
Owners and editors replaced with stable pseudonyms; sign-in names removed from paths and URLs; personal files screened out; names in content handled as agreed
Licensing
Rights reviewed per drive and folder, including files received from others and whether required employee consents are in place; permitted use set in the license
Availability
Sourced to your spec by role, file types and years covered; supply is not guaranteed
Office documents and PDFsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
item_idstringRe-keyed DriveItem ID, the value its versions, permissions and links refer to.
driveobjectThe Drive the item sits in: a pseudonymous owner, the owner's role, and whether the account was active or preserved after departure.
pathstringFolder path from the DriveItem's parentReference, below the drive root, with sign-in names taken out.
fileobjectThe DriveItem's name and size and its file facet with the MIME type.
hashesobjectThe hash OneDrive reports in the file facet, and a hash of the delivered bytes.
timestampsobjectcreatedDateTime and lastModifiedDateTime from the service, and the fileSystemInfo times reported by the client that uploaded or synced the file.
authorshipobjectThe DriveItem's createdBy and lastModifiedBy identities, as pseudonyms.
folder_originenumWhere the file sits: a synced known folder such as Desktop or Documents, Microsoft Teams Chat Files, Recordings, or a folder the owner made.
versionsarrayFile versions listed for the DriveItem, each with ID, modified time and modifier, and a file where earlier versions were pulled.
permissionsarrayPermissions on the item: roles, the pseudonymous people or groups granted, and whether inherited from a parent folder.
sharing_linksarraySharing links with type (view or edit), scope (anyone, organization or specific people) and expiry, without the link itself.
remote_itemobjectFor shortcuts and shared items, the remoteItem facet naming the drive that holds the content, and whether it resolved.
stateobjectDeleted or recycle bin status, and flags for encrypted, password-protected and placeholder files.
screeningobjectResult of the personal-file screen for this item and the rule that fired.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "item_id": "itm_c41d07",
  "drive": {
    "id": "drv_0113",
    "owner": "emp_0113",
    "owner_role": "financial_analyst",
    "account": "departed_preserved"
  },
  "path": "/Desktop/Forecast/working",
  "file": {
    "name": "Q3 forecast v4 - mine.xlsx",
    "size": 418233,
    "mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
  },
  "hashes": {
    "quick_xor_hash": "Zk3vQ0pXc1hBd2lUeUo5bGtNcVE=",
    "delivered_sha256": "5b1e0c7a...d94f"
  },
  "timestamps": {
    "created": "2023-08-29T14:02:11Z",
    "last_modified": "2023-09-14T21:47:30Z",
    "file_system_last_modified": "2023-09-14T21:47:26Z"
  },
  "authorship": {
    "created_by": "emp_0113",
    "last_modified_by": "emp_0113"
  },
  "folder_origin": "known_folder_desktop",
  "versions": [
    {
      "id": "1.0",
      "last_modified": "2023-08-29T14:02:11Z",
      "by": "emp_0113"
    },
    {
      "id": "12.0",
      "last_modified": "2023-09-06T10:15:52Z",
      "by": "emp_0241"
    },
    {
      "id": "27.0",
      "last_modified": "2023-09-14T21:47:30Z",
      "by": "emp_0113"
    }
  ],
  "permissions": [
    {
      "roles": [
        "owner"
      ],
      "granted_to": "emp_0113",
      "inherited": true
    },
    {
      "roles": [
        "write"
      ],
      "granted_to": "emp_0241",
      "inherited": false
    }
  ],
  "sharing_links": [
    {
      "type": "edit",
      "scope": "users",
      "expires": null
    }
  ],
  "state": {
    "deleted": false,
    "encrypted": false,
    "placeholder": false
  },
  "screening": {
    "result": "kept",
    "rule": null
  }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Learn how documents get drafted

Successive versions of one file show a memo, model or deck taking shape, edit by edit.

Ground a personal work assistant

One person's drive is what an assistant acting for an employee must search, drafts, duplicates and odd names included.

Find the right file

Real folder trees with files named final, v3 and copy train retrieval to pick the current version.

Understand working spreadsheets

Unpublished models and trackers keep the formulas, scratch tabs and notes that finished reports strip out.

Evaluate access-aware retrieval

Permissions and sharing links let you test whether a system answers only from files a given user could open.

Use-case guides: Enterprise and computer-use agents, Document AI, enterprise search and RAG, Private evaluation sets

What makes this data valuable

Pulled from the service

Metadata, versions and permissions came from Microsoft Graph, not from a laptop's sync folder.

Leavers preserved

Drives of departed employees are present, flagged and dated.

Versions with content

Earlier versions are delivered as files, not only listed.

Shared files resolve

Shortcuts and chat files point at files inside the delivery.

Screening documented

The personal-file rules and removal counts per drive are in the manifest.

Files open

Encrypted, password-protected and placeholder files are counted and flagged.

System export

OneDrive dataset

This page covers oneDrive work file archives.Illustrative

One drive per person, and it holds the drafts

A work OneDrive is a personal site, one per employee, with a document library that the person owns. People save what they are working on: the fourth version of a forecast, a half-written memo, a deck copied from a colleague and reworked. When the sync app backs up known folders, the Desktop and Documents folders of the person's computer land in the drive too, with scratch files and screenshots beside real work. The finished copy usually lives elsewhere, on a SharePoint team site or in an email.

Folder names record how a file got there. A file in Microsoft Teams Chat Files was sent by this person in a one-to-one or group chat and shared with the other participants, while the message itself stays in Teams. The Recordings folder holds recordings Teams saved to the drive, typically of meetings this person organized and calls this person recorded, while a channel meeting's recording goes to the team's SharePoint site. Shortcuts to shared folders appear as remote items, pointers to content held in another person's drive or a team library, and files that colleagues shared with this person are not in the drive at all. Permissions and sharing links are the edges between people. They show who was given a draft, with view or edit rights, and whether a link was open to named people, the organization or anyone.

OneDrive keeps file versions, and with AutoSave an Office file can gather many in one sitting, so a version list is a record of a document taking shape. How many are kept is a setting, and older ones are trimmed. Each item also carries times reported by the client that uploaded it beside those the service stamped. Compare them, because a bulk copy or migration that did not carry dates over leaves the day of the move. The site's address contains the owner's sign-in name, so paths and URLs need the same de-identification as author fields.

How far back it reaches depends on offboarding

When an employee leaves and the account is deleted, that person's OneDrive is kept for a retention period the administrator sets, and is then deleted unless a retention policy, a hold or a manual copy preserved it. Microsoft also archives the drives of accounts that no longer hold a license, and an archived drive the business does not pay to keep can be deleted even while a hold is in place. Ask what was preserved in fact, not which policy was set. A business that never preserved leavers' drives can supply only the files of people employed on the day of the pull. One that copied a leaver's files into a shared library kept the content but may have lost the original owner, timestamps and versions, depending on how the copy was made.

Shared files break the same way. A file sent in a Teams chat sits in the sender's drive, so once that drive is deleted the file is gone for everyone and the recipients' references point at nothing. Recordings can carry an expiry date and delete themselves. Microsoft Graph returns DriveItems with their versions and permissions. A copy taken from a synced laptop folder can contain placeholder files with no content and none of the service metadata, and an eDiscovery export arrives in its own layout. Files encrypted by a sensitivity label or a password arrive as bytes the buyer cannot open.

Test the sample against a list of roles and departure dates. Count drives by whether the owner was still employed, and note the oldest modified date in each. Resolve remote items and chat files to files in the delivery and count those that do not resolve. Open a sample of files, since empty placeholders and encrypted documents show up only then. Last, read the screening report: Pictures folders, phone camera uploads, tax papers and identity scans are common in work drives and should have been removed.

What to check before licensing

  • Ask how the files were pulled. Microsoft Graph or another service-side export keeps DriveItem metadata, versions and permissions; a copy of a synced folder does not.
  • Ask for the supplier's offboarding practice in writing: the retention period for a deleted user's OneDrive, any holds or retention policies, whether unlicensed drives were archived or paid for, and the share of drives belonging to people who had left.
  • Check that personal files employees stored in a work drive, such as photos, tax papers and identity documents, were screened out, and ask for the rules and the removal counts per drive.
  • Resolve a sample of sharing links, remote items and Microsoft Teams Chat Files entries, and count references that point outside the delivery or at deleted drives.
  • Open sample files to find empty placeholders, password-protected files and documents encrypted by a sensitivity label, and ask how each was handled.
  • Confirm with counsel what notice or consent employees were owed for this use of their work files, and that files received from clients or other third parties were cleared or left out.
  • Have the buyer and the data owner each check Microsoft's terms on exported content and Microsoft Graph API use against the intended 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. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

How is a OneDrive dataset different from a SharePoint one?

It is organized by person and holds work in progress. Each employee's OneDrive is that person's own library, filled with drafts, copies and synced Desktop folders that never reached a team site. SharePoint libraries hold what a team chose to publish and file. For drafting behavior and personal work context, ask for OneDrive. For the settled record, ask for team sites.

Does it include files from people who have left the company?

Only if the business preserved them. A departed employee's OneDrive is deleted after a retention period unless an administrator kept it through a retention policy, a hold or a copy, and Microsoft archives the drives of unlicensed accounts, which the business must pay to keep. Ask how many drives belong to leavers and how each was preserved, since a copy into a shared library can lose the original owner, dates and versions.

Are earlier versions of each file included?

Only where the supplier's settings kept them and the pull fetched them. OneDrive lists versions for each file with a time, a modifier and a size, and earlier versions can be pulled as files. How many exist depends on the supplier's version limit and on trimming. State whether you need version files or only the lists, and for which file types.

How are employees' personal files kept out?

They have to be screened out before delivery, and the buyer should check that they were. People keep photos, tax papers and identity scans in work drives, and the Pictures folder can hold a phone's camera uploads. Ask which folders and file types were excluded outright, which content rules ran and how many files each removed, then review a sample yourself.

Are Teams chat files and meeting recordings part of it?

They sit in the drive, so they are in scope only if you ask and they are cleared. Files sent in Teams chats are stored in the sender's Microsoft Teams Chat Files folder, without the chat messages around them. Meeting recordings hold the voices and faces of everyone present, including outsiders, so they need their own rights review.

Is SourceX affiliated with Microsoft?

OneDrive 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 OneDrive, 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.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell 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.

See if your company qualifies