How to export your data from Microsoft 365 Copilot

Copilot prompts and responses are stored as items in each user's Exchange Online mailbox and are exported through Purview eDiscovery as PST or .msg packages that expire after 14 days. This guide covers what you can and cannot take out, the sequence, verification and contract planning.

On this page

How do you export Copilot prompts and responses before the contract ends?

If your Microsoft 365 Copilot renewal, license change or exit is on the calendar, the export has to happen while your tenant still has the data and the people who can run the search. Copilot prompts and responses are stored as items in each user's Exchange Online mailbox, so they are exported through Microsoft Purview eDiscovery, not from a Copilot admin screen. A user's Copilot interactions are found by searching for the item class IPM.SkypeTeams.Message.Copilot.*, and the search is run under an eDiscovery case by a member of the eDiscovery Manager role group. Copilot memories are stored under IPM.Contact and show up as contacts in the same searches, so review them separately.

Exports come out as PST files or individual .msg messages, and chat threads can be rendered as HTML transcripts. In an export, each prompt appears as a message from the user to the Copilot application identity, and each response comes back the other way, which helps when you need to rebuild a conversation. Two limits shape the plan: export packages expire 14 days after creation and are then deleted, and an export running longer than seven days is cancelled automatically. The eDiscovery user also needs an Enterprise E3 or E5 license to export content. Confirm these licensing and role requirements with your Microsoft account team before you rely on them.

Start by listing the custodians, confirming who holds the eDiscovery Manager role, and running a test search on one mailbox so you know the item volume before scheduling the full export. Download and store each package within the 14-day window, and record what was exported, when, and by whom. Ask Microsoft or your partner which items fall outside this path, such as data held by other AI applications, before you call the export complete. DeployOpen prepares plans and evidence for your own compliance reviews, but it does not issue audit reports or attestations; independent auditors and certification bodies do that work.

Which Copilot data types export, by method, format and limit

This table compares each Copilot data type in Microsoft 365 with how it is found, exported, formatted and limited through eDiscovery. Read each row as one data type, and check the license and role columns before you start a search, since they decide who can run the export.

Data typeWhere it is found and exportedFormat and size settingsLicensing and role requirement
User prompts and responseseDiscovery item class IPM.SkypeTeams.Message.Copilot.* in each user's Exchange Online mailboxPST or individual .msg; PST packages set at 1, 2, 5 or 10 GBE3 or E5 license for the exporting user; eDiscovery Manager role group
Prompt and response message structureA prompt appears as a message from the user to the Copilot application identity; the response returns from that identityExported as mail messages, so the pairing must be rebuilt during reviewSame as prompts and responses; confirm the search query captures both directions
Copilot memoriesStored with the IPM.Contact item class and matched as contacts in searchesPST or .msg; contact-type items can be missed by searches built only on Copilot item classesSame eDiscovery Manager role and E3 or E5 export requirement
Chat threadsChat messages can be threaded in the exportHTML transcripts that show the conversation in orderConfirm the exporting user holds an E3 or E5 license before the export runs
Export packagesEligible for export only while the search is active and the export runsPackages expire 14 days after creation, then are deletedExports running longer than seven days are cancelled automatically; plan the download window

What the documented export path does not give you

The eDiscovery item-class search returns the prompt and response records that Copilot stores in mailboxes. It does not return everything Copilot touched while answering, so the gaps below are what a migration or audit plan has to cover separately. Each card names the workaround and the question to put to Microsoft before you rely on it.

Copilot's internal grounding index

Copilot retrieves content through Microsoft Graph and keeps its own retrieval and indexing behavior inside the service. The documented export returns the prompt and response items, not the index that was used to produce them. Re-index the source content you need into your own system, such as Onyx with its connectors, so retrieval is reproducible under your control. Ask Microsoft in writing which Copilot-side retrieval records, if any, can be exported and in what format.

Source documents Copilot read

A Copilot response can cite or rely on SharePoint files, OneDrive documents and Teams content that Copilot read but did not store as Copilot items. The eDiscovery export of Copilot activity will not include those source files. Export the referenced documents from SharePoint or Exchange with their own eDiscovery or site-level searches, and keep a list that maps each response to the source versions it used. Confirm with Microsoft which citations are recorded in the stored items and which are not.

Copilot memories

Copilot memories are stored with the IPM.Contact item class and surface as contacts in eDiscovery searches. A search scoped to Copilot interaction items can miss them, while a broad contact search returns ordinary address book entries mixed in with memory records. Plan a separate search for this item class, review results by hand, and confirm with Microsoft how memories are represented in exports and whether they can be deleted per user.

Tenant and admin configuration

Settings such as which Copilot features are enabled, connector and plugin configuration, sensitivity label policies and retention rules are not Copilot prompt or response items, so the item-class search does not return them. Document these settings manually from the admin centers, with dates and the admin who made each change. Ask Microsoft which configuration history is available in audit logs and for how long it is retained in your tenant.

Export packages and deadlines

Export packages expire 14 days after creation and are then deleted, and an export that runs more than seven days is cancelled automatically. A package you do not download in time has to be produced again, and the search has to be repeated under the same eDiscovery Manager role. Set a download schedule, store each package in an approved location with a hash record, and confirm with Microsoft how package size limits affect large mailboxes.

The export sequence from eDiscovery case to verified archive

This sequence moves Copilot prompts and responses from each user's Exchange Online mailbox into a package you can hold outside Microsoft 365, and it ends with a check that the counts and paired messages match what the search found. Run it under an eDiscovery Manager who understands that the package is time-limited.

  1. Confirm eDiscovery Manager role group membership

    Before anything else, the admin who will run the case must be a member of the eDiscovery Manager role group in the Microsoft Purview compliance portal. Creating a case and searching for Copilot activity data both depend on this membership, so a missing role blocks the rest of the sequence. Also confirm that the user who will export content holds a Microsoft 365 Enterprise E3 or E5 license, which Microsoft Learn states is required for export. The step is done when the operator can open the eDiscovery area and see the case creation option.

  2. Create the eDiscovery case and name it clearly

    Create a new eDiscovery case in Purview with a name and description that record the business reason, the requester and the date scope agreed with legal or compliance. Add the custodians whose Copilot interactions you need, which are the users whose mailboxes hold the prompts and responses. Keep a written list of custodians in your case notes, because you will compare against it during verification. The step is done when the case appears in the case list with its custodian set recorded.

  3. Search for Copilot item class messages

    Build a search condition on the item class IPM.SkypeTeams.Message.Copilot.*, scoped to the custodians and mailbox locations in the case. Run the search and review the estimated item count and the sample results before exporting. Microsoft Learn notes that prompts appear as messages from the user to the Copilot application identity and responses come back the other way, so expect two messages per exchange. Copilot memories use the IPM.Contact item class and appear as contacts, so decide whether they belong in scope. The step is done when the search returns results for each custodian you expected.

  4. Record per-custodian counts before export

    Before exporting, copy the item counts for each custodian from the search results into a dated worksheet. This baseline is what you will check the exported package against later. Note the search query text and the case name alongside the counts so the record can be reproduced. If a custodian returns zero items, confirm with the business owner whether that is expected before treating it as a gap. The step is done when every custodian in the case has a recorded count and the query is saved.

  5. Export as PST or .msg with a chosen package size

    Start an export from the search results and choose PST for bulk archives or individual .msg files for smaller sets. For PST output, select a package size from the options Microsoft Learn lists: 1, 2, 5 or 10 GB. Chat messages can be threaded into HTML transcripts, which helps reviewers read prompt and response pairs in order. Note that an export running for more than seven days is cancelled automatically, so split very large scopes into several searches if needed. The step is done when the export job shows as complete and the package is listed for download.

  6. Download the package within the 14-day window

    Download the export package and store it in an encrypted location that your organization controls, with access limited to the reviewers named in the case. Microsoft Learn states that search export packages expire 14 days after creation and are then deleted, so schedule the download immediately and record the expiry date on the case file. If the window passes, the export must be run again. The step is done when the package is saved to the controlled location and its checksum or file list is recorded.

  7. Verify counts and paired prompt and response messages

    Open the downloaded package and compare the item count for each custodian with the baseline recorded before export. Any difference should be explained in writing, for example by a message that was excluded by date scope, before the archive is accepted. Then sample conversations and confirm that each prompt from the user is followed by a response from the Copilot application identity, with timestamps in order. Confirm that transcripts open and that attachments referenced in the messages are present where expected. The step is done when counts reconcile, pairs are intact in the sample, and the verification result is signed by the case owner.

How Copilot prompts appear in eDiscovery exports

In an eDiscovery export, each Copilot exchange is not stored as a chat transcript. Microsoft Learn describes a prompt as a message from the user's own address to the Copilot application identity, and the response as a message from that identity back to the user. Reading the archive therefore means pairing messages by sender, recipient and timestamp rather than expecting one record per conversation. Copilot memories are stored with the IPM.Contact item class, so they match as contacts in eDiscovery searches and can appear alongside address book content. Anyone reviewing the export should expect this layout before drawing conclusions about how a conversation flowed.

For an import or parser, this structure has practical consequences. Your code must identify the Copilot application identity by its address, group the prompt and response pairs into threads, and separate memory contacts from ordinary mail. The HTML transcripts that Purview can produce for chat messages are a useful visual check, but they are not a substitute for knowing the underlying item fields. Confirm the exact field names, identity addresses and item class values in your own tenant, because these details are documented by Microsoft and may change. Also note that the eDiscovery user needs the licensing and role described in the search and export guidance before any export can run.

Before relying on this structure, run a test export. Create a small eDiscovery case against a test account that has known Copilot prompts and at least one saved memory, export it as PST and as .msg, and inspect how each prompt, response and memory appears. Record the sender, recipient and item class values for each, then check whether your parser reconstructs the same conversation pairs. Repeat the test whenever Microsoft changes the Copilot experience, because the archive layout is what your retention and migration decisions will depend on.

What to plan before renewal or termination

Copilot prompts and responses sit in mailboxes, so the export is governed by mailbox, retention and eDiscovery settings rather than by the add-on license alone. The cards below cover the decisions and checks that determine whether you can get a complete, usable copy before the license lapses.

Set retention and legal hold scope

Decide which users, time ranges and data types must be preserved before the license ends. Confirm whether any retention policy or legal hold already covers Copilot interactions, because a deleted or expired item cannot be recovered later. Write the scope down with legal and records teams so the eDiscovery search matches it exactly. Ask Microsoft whether any hold placed now will persist after the license changes.

Inventory users and mailboxes

Build a list of every mailbox that has Copilot activity, including shared and former employee mailboxes. Prompts and responses are stored in each user's Exchange Online mailbox, so a list based only on current license holders will miss departed users. Record the owner, the department and the date of any mailbox change. This inventory sets the number of eDiscovery searches and exports you need to run.

Time the export around limits

An export that runs longer than seven days is cancelled automatically, and export packages expire 14 days after creation and are then deleted. Plan the search, export and download as one short window, and split large mailbox sets into several exports if needed. Keep a dated log of each package so you know when it expires.

Confirm eDiscovery access after license change

Exporting requires the eDiscovery Manager role group and an eDiscovery user with a Microsoft 365 Enterprise E3 or E5 license. Confirm with Microsoft which licenses the exporting administrator and reviewers hold once the Copilot add-on is removed, since the add-on itself is not the export entitlement. Test the full search and export path on a sample mailbox before the license change date.

Choose PST or message format

Purview exports mailbox items as PST files or individual .msg messages, and it can thread chat messages into HTML transcripts. Pick the format based on how your archive tooling and reviewers will read prompts and responses. Set the PST size to match your storage and transfer capacity, and check that the transcript view shows each prompt paired with its response.

Store exports in an encrypted location

Move each export to storage you control as soon as it is ready, because Microsoft deletes the package after expiry. Use encrypted storage with access limited to named reviewers, and record checksums so you can prove the copy is complete. Confirm where the archive will live, who can read it, and how long your retention rules require it to be kept.

Which exit path fits your organization

If you keep your Microsoft 365 tenant and only cancel the Copilot add-on, your mailboxes, SharePoint sites and OneDrive files stay where they are. The work is about the Copilot interaction records. Prompts and responses are stored as items in each user's Exchange Online mailbox, so you need a retention decision before the license ends, because the records do not disappear with the license. Someone with the eDiscovery Manager role group must run item-class searches for IPM.SkypeTeams.Message.Copilot.* and export what the business needs to keep.

  • Decide what must be kept: Agree with legal and records owners which prompts and responses are required before any export starts.
  • Check the export license: Microsoft Learn states that the eDiscovery user needs a Microsoft 365 Enterprise E3 or E5 license to export content.
  • Plan for expiry: Export packages expire 14 days after creation and are then deleted, so download and store them in your own records system promptly.
  • Review memories separately: Copilot memories use the IPM.Contact item class and appear as contacts in searches.
  • Keep source files in place: Your documents remain in SharePoint and OneDrive and need no export for this path.

Confirm with your Microsoft account team which Copilot-related retention settings apply to your plan before you cancel.

Why exported prompts are not the same as a rebuilt assistant

An export from Microsoft 365 Copilot preserves a record of what users asked and what the assistant answered, which matters for retention obligations, legal holds and internal investigations. It does not recreate the assistant. The exported items are static transcripts: they carry the prompt and response text, but they do not carry the Microsoft Graph grounding that shaped each answer, the document permissions that were checked at query time, or the model and version that produced it. A reviewer reading a PST or .msg package cannot tell which SharePoint file or Teams thread the assistant drew on, or whether that user could have opened it at the time. Plan the export as an evidence and retention task, and document that limit in the project record so no one assumes the history can be replayed.

Before you choose an import target, confirm the license terms of each candidate, because the differences affect whether you can keep the history in a shared interface. Open WebUI is licensed under the Open WebUI License, a BSD-3-Clause style license with an added clause that restricts removing or altering its branding unless specific conditions are met, such as a deployment of 50 or fewer users in a rolling 30-day period or an enterprise license. Check the Open WebUI license text and its history file against your user count before you rebrand the interface. LibreChat and AnythingLLM are MIT licensed, and Onyx Community Edition is MIT licensed, but Onyx code under its ee directories falls under a separate enterprise license. Confirm which features your team needs before assuming the community scope covers them.

Scope also differs. Chat interfaces such as Open WebUI or LibreChat can host imported conversations as reference history, but they do not index your SharePoint, OneDrive or Outlook content with permissions, which is the function Copilot performs. Onyx covers that search and connector role, so an imported transcript and a rebuilt grounding layer are separate projects with separate owners. Ask the vendor or the project maintainers to confirm connector coverage and permission sync for your sources, and agree in writing who owns the archived export, how long it is retained and who may read it.

What do buyers ask before running a Copilot data export?

Who has to run a Copilot data export, and what license do they need?

A member of the eDiscovery Manager role group must create the eDiscovery case and run the search for Copilot activity data, according to Microsoft Learn. The person who exports the results needs a Microsoft 365 Enterprise E3 or E5 license, as Microsoft Learn states for eDiscovery export. Before you start, confirm with your Microsoft 365 admin that the people doing the work hold both the role group membership and the license, because a search can be set up without the export rights needed to finish the job.

How long does a Copilot data export take, and what drives the time?

The duration depends on the number of mailboxes in scope, the volume of Copilot items in each one, and the PST package size you choose. Microsoft Learn lets admins set PST packages of 1, 2, 5 or 10 GB, so smaller packages produce more files to download and check. Microsoft Learn also states that an export running for more than seven days is cancelled automatically, so a large, slow job may need to be split into smaller searches. Ask your Microsoft 365 admin to test the search on a few mailboxes first and use that run to plan the full job.

Can our team export Copilot data without outside help?

Yes, a trained Microsoft 365 admin with the right roles can run the search and export through Purview eDiscovery, provided the license and role requirements are met. The harder work is planning: deciding which users and date ranges are in scope, handling the item classes for Copilot prompts, responses and memories, and storing the packages safely. Your team should also plan for the export package deadline, since Microsoft Learn states that export packages expire 14 days after creation and are then deleted. If the team lacks eDiscovery experience, a fixed-scope engagement can cover planning and checks, with the written scope setting the deliverables.

What does the Microsoft 365 admin side need to set up?

The admin side needs an eDiscovery case, a search for the Copilot item class IPM.SkypeTeams.Message.Copilot.*, and a defined set of mailboxes. Microsoft Learn states that Copilot interactions are stored in each user's Exchange Online mailbox, so the search scope follows mailbox location, not a single central store. Admins should also account for Copilot memories, which Microsoft Learn says use the IPM.Contact item class and match as contacts, so a search that looks only at prompts and responses can miss them. Document the case name, search criteria, export settings and who approved them.

How do we verify that a Copilot export is complete?

Completeness is checked by comparing the export against the search results and the scope you documented before exporting. Microsoft Learn explains that in exports a prompt appears as a message from the user's address to the Copilot application identity, and the response as a message back to the user, so a reviewer can pair them and count both sides. Check item counts per mailbox, confirm that memories are included, and record the hash or file list of each package before the 14-day expiry. Keep the verification record with the case so an auditor can trace how the data was collected.

What is the risk if the export package expires before we download it?

Microsoft Learn states that Purview eDiscovery search export packages expire 14 days after the export is created and are then deleted. If a package is not downloaded and stored in your own controlled location within that window, you must run the export again, which costs time and repeats the admin work. Plan the download window, assign a named owner for each package, and move files to approved storage immediately after they are created. Confirm the retention rules for your own copies with your legal and compliance team, since Purview does not decide how long you keep exported data.

What does outside help cover in a Copilot data export?

Outside help is usually scoped as planning, runbook preparation, verification and evidence handling, not as a replacement for the Microsoft 365 admin who holds the tenant. A fixed-scope engagement sets the deliverables, such as a search plan, an export checklist, a completeness check and an evidence record, in writing before work starts. Cost depends on the number of mailboxes, the number of search rounds, and how much of the verification you hand over. Ask any provider for the written scope, who performs each step, and what they will not do, and confirm that any audit or attestation comes from an independent auditor, since DeployOpen prepares evidence but does not issue audit reports.

Retention, legal holds and records obligations

Deciding what to keep is a legal and records question for your organization and its counsel, not a technical default. Copilot prompts and responses sit in mailboxes, so the export itself does not tell you how long anything must be retained, which records are subject to a legal hold, or whether a given conversation is a business record. Before anyone runs an eDiscovery search, confirm who owns the retention schedule for AI interaction data, whether it falls under existing email or Teams retention policies, and what happens when a hold is placed on a custodian who has used Copilot. Those answers should be written down before the export workflow is designed, because they determine the scope, the date ranges and the format of what you pull.

DeployOpen prepares exports, evidence and documented controls, and can help you show how a retention decision was carried out. It does not provide legal advice, and it does not issue compliance certifications or audit reports. Those come from your counsel for legal questions and from independent auditors and certification bodies for attestations. Ask counsel to confirm the jurisdictions, regulators and contractual obligations that apply to your Copilot data, and ask your auditor which evidence they will expect to see, such as export logs, custodian lists and records of who accessed the packages.

If you plan to move Copilot history into a self-hosted assistant, treat the migrated copy as a new system of record with its own retention settings, access logs and disposal process. Confirm that the export preserves the metadata your schedule requires, that deletions in the source tenant are reflected or deliberately excluded, and that legal holds continue to apply to the copies. Document these decisions in the same place as your export procedure so that the record of what was kept, moved and destroyed is complete.

How DeployOpen scopes an export and exit project

DeployOpen approaches an export from Microsoft 365 Copilot as a fixed-scope project: first agree which users, mailboxes and retention periods are in scope, then find, package and hand over the prompt and response records in a form your legal and records teams can use. Engagements are scoped in writing before work starts, and ongoing support is available as a retainer.

How we scope

  • Confirm which users, mailboxes and date ranges the export must cover before any search runs.
  • Agree which eDiscovery Manager and export roles are needed, and who on your side approves each step.
  • Record in the written scope whether exports go to PST, .msg or a documented alternative format.

How we build

  • Set up eDiscovery cases and item-class searches for Copilot interaction records in a test scope first.
  • Check that prompts, responses and any Copilot memory items return the expected results before full collection.
  • Script repeatable export steps so each batch is logged, checksummed and traceable to its search query.

How we hand over

  • Document every search query, export package and export date so the record can be reproduced by your team.
  • Plan the download and storage location for each package, since exports are deleted 14 days after creation.
  • Deliver a runbook covering roles, retention decisions and the steps to repeat an export later.

How we support

  • Offer ongoing support as a retainer for follow-up exports, litigation holds and schema questions.
  • Review your retention and eDiscovery settings with you when licensing or Microsoft Learn guidance changes.
  • Confirm with your Microsoft account team and compliance counsel which export licenses and rights apply to your tenant.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.