How to license SharePoint and OneDrive files for AI training

By Plety. Updated

To license SharePoint and OneDrive files for AI training, a company confirms which sites and libraries it controls, exports copies, removes personal data, client material and secrets inside its own systems, and signs a written licence. Microsoft's Data Protection Addendum says the customer retains all right, title and interest in Customer Data, and Microsoft says Copilot data is not used to train foundation models.

Can a company license SharePoint and OneDrive files for AI training?

Yes, for files it owns, because Microsoft's contract leaves the rights with the customer. The Microsoft Products and Services Data Protection Addendum, in the version published on 1 November 2026, says under the heading "Nature of Data Processing; Ownership" that as between the parties the customer retains all right, title and interest in and to Customer Data, and that Microsoft acquires no rights in it other than those the customer grants in that section. The same section limits Microsoft's use to providing the products and services and to business operations incident to providing them.

That clause settles the position between the company and Microsoft only. A contract, drawing or report sent in by a client sits in SharePoint as Customer Data, but its copyright and confidentiality stay with whoever wrote or supplied it. Ownership of company documents is covered at https://plety.net/about/compliance/copyright-in-company-records.

Does Microsoft train AI on SharePoint and OneDrive content?

Microsoft says Copilot does not. Its Learn page on data, privacy and security for Microsoft Copilot, updated in November 2026, says prompts, responses and data accessed through Microsoft Graph aren't used to train foundation LLMs, including those used by Microsoft Copilot, and that the stored history of Copilot interactions isn't used for that either.

Two points from the same page carry into a licence. Copilot only surfaces organisational data to which each user has at least view permission, so the permissions on a library decide who could reach it, and they are worth reviewing before anyone runs an export. Copilot also writes text into Word, PowerPoint and Excel files; Microsoft says it does not claim ownership of that output and makes no determination on whether it is protected by copyright, so passages written by Copilot are best labelled before licensing.

How are SharePoint and OneDrive files exported for licensing?

Through Purview eDiscovery for the whole organisation, the browser download for single folders, or the Microsoft Graph API for scripted copies, as of November 2026. Microsoft's eDiscovery export guide, updated in October 2026, says the eDiscovery user needs a Microsoft 365 Enterprise E3 or E5 licence, plus a SharePoint E3 licence for SharePoint content to export as expected, and that documents can come out as the latest version, the last 10 or 100 versions, or all versions. The steps and clocks are set out at https://plety.net/about/guides/how-to-export-microsoft-365-mailboxes-and-files.

The same guide lists files that eDiscovery leaves out: files restricted by a data loss prevention action, sites in a Locked state with NoAccess, and files restricted by SharePoint access controls unless the collecting user has direct access, for example as site admin, site owner, or the document's owner or last modifier. An export missing those files looks complete but is not, so the item report is checked against the sites in scope.

SharePoint and OneDrive export routes, as of November 2026
RouteWho can use itWhat comes outLimits to watch
Purview eDiscovery exporteDiscovery users with Microsoft 365 E3 or E5, and SharePoint E3 for SharePoint contentNative documents with the chosen versions, plus an item reportPackages deleted 14 days after creation; restricted and locked-site files skipped
Browser downloadAnyone with access to the folder or libraryA zip file of current files250 GB file size limit and 10,000 files; no OneNote notebooks; labelled or encrypted files over 4 MB left out
Microsoft Graph APIAn app the company registers, with at least the Files.Read.All application permissionEach file as stored, one request at a timePre-authenticated download links might expire within minutes

Why would AI developers want SharePoint and OneDrive files?

Because researchers building office agents have had to make their documents up. OfficeBench (Wang and others, arXiv, July 2024), from researchers at UC San Diego, UCLA and the Allen Institute for AI, tests language agents on 300 office tasks across applications including Word, Excel, PDF, email and calendar. Its authors wrote that they used ChatGPT and random generators instead of real data to avoid privacy issues. The best model tested, GPT-4 Omni, passed 47% of the tasks, which the authors describe as still far below human performance.

A company's SharePoint holds the real versions: contracts and their drafts, budgets with working formulas, board packs, policies and procedures written for actual use. Because eDiscovery can export every version of a document, a buyer can also see how each one was drafted and changed. Documents in general are covered at https://plety.net/about/records/documents-and-wikis, and the same questions for Google's tools are answered at https://plety.net/about/records/google-drive-files.

What must be removed before SharePoint and OneDrive files are licensed?

Personal data, client material, HR files and secrets come out first, inside the company's own systems. Names, email addresses and signatures appear in document text, comments, tracked changes and file properties such as author and last modified by, and all of these are removed or replaced. OneDrive folders belong to individual user accounts and often mix work with personal files such as CVs, payslips and family documents, which are left out.

Sites built for clients, such as project sites shared with guests, follow the client contracts explained at https://plety.net/about/compliance/client-contracts-and-confidentiality-in-data-licensing. HR, payroll, legal and board sites stay out unless each file has been reviewed. Libraries also hold password spreadsheets, certificates and configuration files containing keys; these are found by search and pattern matching, removed, and the credentials rotated. Plety never holds, views or passes on records, samples, logins or money.

Questions

How long does Microsoft keep the data after a subscription ends?
Microsoft's Data Protection Addendum says that, except for free trials and LinkedIn services, it keeps Customer Data in a limited function account for 90 days after expiry or termination so the customer can extract it, then deletes it within a further 90 days.
Does an eDiscovery export leave a trace in the audit log?
It can. Microsoft's export guide says a FileAccessed audit event might be recorded in the Microsoft 365 audit log when eDiscovery exports SharePoint items.
Can export download links be passed to an AI buyer?
Microsoft says eDiscovery export download links are for individual use only. An authorised person downloads the files, and anything for a buyer goes only after personal data and secrets have been removed.

Want to know what your records could fetch?

Email Herman or book a 30-minute call. We tell you which buyers fit before anything else happens.

Sources

This page is general information, not legal advice. Take advice on your own company's records and contracts.

Read next