PurviewDeep dive

Purview eDiscovery errors: partially indexed items, export messages and hold distribution

Quick reference for Purview eDiscovery: partially indexed item behavior, encrypted content, export package messages and hold distribution codes such as PolicySyncTimeout, with first checks.

eDiscovery problems rarely arrive as a neat error code. More often they're counts that don't add up, items that won't preview, lines in the export package reports or a hold stuck in Pending. This quick reference collects the behaviors and messages Microsoft documents for eDiscovery in the Microsoft Purview portal: partially indexed items, encrypted content, export package messages and hold distribution result codes, each with the usual cause and the first thing to check.

Codes in this quick reference

  • Partially indexed count is 0 for a search of SharePoint or OneDrive only (statistics exclude sites)Search statistics
  • Partially indexed items can't be previewedSearch preview
  • Export has no partially indexed items although the search statistics showed someExport package
  • Partially indexed items from outside the queried path or folder appear in the exportExport package
  • Exclude partially indexed items in locations without search hits has no effect on a single-location searchExport dialog
  • Date range doesn't exclude partially indexed itemsSearch statistics / export
  • Partially indexed items missing from the partially indexed PST when the query has no keywordsExport package (PST)
  • Partially indexed items from mailboxes or sites without search hits aren't exportedExport package

+ 21 more codes in the tables below.

How this guide is organized: How to read these codes → Partially indexed items → Encrypted content → Export package messages → eDiscovery hold distribution → How to verify a fixFlow diagram of the article's sections in reading order: 1. How to read these codes. 2. Partially indexed items. 3. Encrypted content. 4. Export package messages. 5. eDiscovery hold distribution. 6. How to verify a fix. Toolbox: trace.log, Get-SPOSite, Get-Mailbox, Set-CaseHoldPolicy, LastResultTime.1How to read these codes2Partially indexed items3Encrypted content4Export package messages5eDiscovery hold distribution6How to verify a fixTOOLBOXtrace.logGet-SPOSiteGet-MailboxSet-CaseHoldPolicyLastResultTimeHow this guide is organized: How to read these codes → Partially indexed items → Encrypted content → Export package messages → eDiscovery hold distribution → How to verify a fixFlow diagram of the article's sections in reading order: 1. How to read these codes. 2. Partially indexed items. 3. Encrypted content. 4. Export package messages. 5. eDiscovery hold distribution. 6. How to verify a fix. Toolbox: trace.log, Get-SPOSite, Get-Mailbox, Set-CaseHoldPolicy, LastResultTime.1How to read these codes2Partially indexed items3Encrypted content4Export package messages5eDiscovery hold distribution6How to verify a fixTOOLBOXtrace.logGet-SPOSiteGet-MailboxSet-CaseHoldPolicyLastResultTime
At a glance: how this guide is organized · 6 sections · 5 key settings and tools

Note: The classic Content search, eDiscovery (Standard) and eDiscovery (Premium) experiences were retired on August 31, 2025, so this page describes the current eDiscovery experience. Search errors such as "Location is ambiguous", "Recipient not found", CS007, the 500 error, the 50-job limit and the main FailedToExportItem messages are covered step by step in Microsoft Purview eDiscovery: search statistics, partially indexed items and export errors and aren't repeated here.

How to read these codes#

Where to look first when eDiscovery results or holds look wrongWhere does the problem show up? if Search statistics: Statistics are an estimate, not a count (Partially indexed totals cover Exchange only; sites show 0); if Export package: Are partially indexed items missing from the package? if Yes: Export again with a partially indexed option (The export dialog, not the search, decides the package); if No: Read Export Warnings and Errors.csv (Skipped Items.csv should list only folders); if Hold status: Does the hold still show On (Pending) or Off (Pending)? if Yes: Wait; don't change it while pending (Then batch changes into one request); if No, an error: Act on the ResultCode (Retry timeouts; remove locations that no longer exist)Where does the problem showup?NOTEStatistics are anestimate, not acountPartially indexedtotals coverExchange only; sitesshow 0Search statisticsAre partially indexed itemsmissing from the package?FIXExport again witha partiallyindexed optionThe export dialog,not the search,decides the packageYesFIXRead ExportWarnings andErrors.csvSkipped Items.csvshould list onlyfoldersNoExport packageDoes the hold still show On(Pending) or Off (Pending)?NOTEWait; don'tchange it whilependingThen batch changesinto one requestYesFIXAct on theResultCodeRetry timeouts;remove locationsthat no longer existNo, an errorHold statusWhere to look first when eDiscovery results or holds look wrongWhere does the problem show up? if Search statistics: Statistics are an estimate, not a count (Partially indexed totals cover Exchange only; sites show 0); if Export package: Are partially indexed items missing from the package? if Yes: Export again with a partially indexed option (The export dialog, not the search, decides the package); if No: Read Export Warnings and Errors.csv (Skipped Items.csv should list only folders); if Hold status: Does the hold still show On (Pending) or Off (Pending)? if Yes: Wait; don't change it while pending (Then batch changes into one request); if No, an error: Act on the ResultCode (Retry timeouts; remove locations that no longer exist)Where does the problem show up?Search statisticsNOTEStatistics are an estimate, not a countPartially indexed totals cover Exchange only; sitesshow 0Export packageAre partially indexed items missing fromthe package?YesFIXExport again with a partially indexedoptionThe export dialog, not the search, decides thepackageNoFIXRead Export Warnings and Errors.csvSkipped Items.csv should list only foldersHold statusDoes the hold still show On (Pending) or Off(Pending)?YesNOTEWait; don't change it while pendingThen batch changes into one requestNo, an errorFIXAct on the ResultCodeRetry timeouts; remove locations that no longerexist
Figure 1 · Decision tree Where to look first when eDiscovery results or holds look wrong. Start from where the problem shows up. Statistics are only an estimate; the export package reports and DistributionResults say what actually happened.
  • Search statistics are an estimate, not a count. Partially indexed totals in the statistics cover Exchange only.
  • Export package reports tell you what actually happened: Export Summary <timestamp>.csv, Export Warnings and Errors.csv, Skipped Items.csv and trace.log.
  • Search-time and export-time settings are independent. The partially indexed choice on the search only shapes statistics and previews; the choices in the export dialog decide what the package contains.
  • A location is a whole mailbox or a whole SharePoint or OneDrive site, never a folder, library or URL prefix. That matters for every partially indexed option.
  • Hold distribution shows in the hold's status in the portal and in PowerShell. Each failed location has a ResultCode, a message and a LastResultTime:
PowerShell
Connect-IPPSSession
Get-CaseHoldPolicy -Identity "<hold policy name>" -DistributionDetail |
    Select-Object -ExpandProperty DistributionResults

Permissions matter too: case work needs the eDiscovery Manager role group, listing every case's exports needs eDiscovery Administrator, and decrypting rights-protected email needs the RMS Decrypt role, which the eDiscovery Manager role group has by default.

Partially indexed items#

Partially indexed items are mailbox items and SharePoint or OneDrive documents the index couldn't fully read. Microsoft notes that most organizations have less than 1% of content by volume, and less than 12% by size, partially indexed.

Code or messageMeaningUsual causeFirst check
Partially indexed count is 0 for a search of sitesStatistics don't include SharePoint and OneDrive partially indexed itemsBy designInclude partially indexed items at export or when adding to a review set
Partially indexed item can't be previewedPreview isn't available for these itemsBy designExport the results, or add them to a review set
Export has no partially indexed items, though statistics showed someThe export-time setting winsIncluded at search, cleared in the export dialogExport again with a partially indexed option selected
Partially indexed items from outside the queried path appearKQL conditions don't constrain partially indexed itemsA path, URL or property restriction in the query; the location is the whole siteSelect Perform advanced indexing on partially indexed items at export
"Exclude … in locations without search hits" has no effectA single location with any hit counts as responsiveSearch scoped to one mailbox or siteUse advanced indexing to apply the query to those items
Date range doesn't exclude partially indexed itemsStatistics and exports include items outside the rangeA date range can't filter them in the queryAdd them to a review set and filter, or use advanced indexing
Items missing from the partially indexed PSTThey're already in the regular resultsQuery with no keywords, only a date range, or all itemsExpected; look in the regular results
Nothing exported from mailboxes or sites without hitsOnly locations with hits contribute partially indexed itemsExclude partially indexed items in locations without search hits is selectedClear the option, or search all items and export only partially indexed items
Large file only partly indexedIndexing stopped at a size limit (for example after the first 4 MB of an Excel file)File too largeThe file can appear both in results and as partially indexed
Unsupported or disabled file typeNo full-text indexing (for example .bmp or .mp3)Type unsupported, or indexing disabled by default or by an adminMicrosoft's lists of formats indexed by Exchange Search and crawled by SharePoint
Attachment can't be opened, too many or too largeThe attachment content wasn't indexedAn unreadable attachment is the most common cause for emailInclude partially indexed items; review the attachments after export
Password-protected or non-Microsoft encryptionContent can't be read for indexingA file password, or encryption from a non-Microsoft toolInclude partially indexed items, then review them with the owner's password or key
Uncrawlable folder in the exportPartially indexed SharePoint itemsPartially indexed items were includedReview that folder separately

Encrypted content#

Code or messageMeaningUsual causeFirst check
Keyword inside an encrypted attachment doesn't matchExchange doesn't index encrypted attachmentsAttachment encrypted, for example by a sensitivity labelThe message still matches on subject, sender and body; attachments can be decrypted during preview and export
Encrypted SharePoint or OneDrive file is partially indexedFiles encrypted with Microsoft encryption are partially indexed thereLabel or Rights Management encryptionInclude partially indexed items, then analyze decrypted content in a review set
S/MIME message is partially indexedApplies with or without attachmentsS/MIME encryption, which eDiscovery doesn't decryptInclude partially indexed items so they're collected
Rights-protected email not decryptedDecryption needs the RMS Decrypt roleRole not assigned to the reviewerCheck eDiscovery Manager membership or the role in a custom group; see Decryption in eDiscovery

Export package messages#

Code or messageMeaningUsual causeFirst check
ContentDownloadTemporaryFailure … ServerErrorCode: -2147024894 … File Not FoundA SharePoint or OneDrive file couldn't be downloadedRenamed, moved or deleted after the search, before the index caught upLook for the file; request a reindex of the site or library and rerun the search
This search result was not downloaded as it is a folder or other artifact that can't be downloaded by itselfInformational, in Skipped Items.csvFolders aren't downloadable itemsNone; the items inside are exported
Estimated and downloaded counts differShown in Export Summary <timestamp>.csvStatistics are an estimateExpected; compare item lists, not totals
No files downloaded (Estimated Total shows none)The download never startedPop-ups blocked, or network endpoints not allowedAllow pop-ups and follow Microsoft's best practices for downloading export packages

eDiscovery hold distribution#

Code or messageMeaningUsual causeFirst check
On (Pending) / Off (Pending)Distribution still in progressRecent change to the holdWait; don't change a hold while it's pending
PolicySyncTimeout: "It's taking longer than expected to deploy the policy. It might take an additional 2 hours to update the final deployment status, so check back in a couple hours."Sync timed outSlow or large deploymentIf LastResultTime is more than two hours old, run Set-CaseHoldPolicy -RetryDistribution or select Retry
PolicyNotifyErrorA temporary Microsoft 365 datacenter issue blocked deployment; the hold isn't applied to that source yetService-side, transientRetry distribution
InternalError: "Policy deployment has been interrupted by an unexpected Microsoft 365 datacenter issue. Please contact Microsoft support to fix the deployment issue."Needs MicrosoftService-sideOpen a support case with the policy name, workload, result code, message and diagnostics
FailedToOpenContainer: "The mailbox or SharePoint site may not exist. If this is incorrect, please contact Microsoft support. Otherwise, please remove it from this policy."A location can't be openedMailbox removed or site URL changedCheck with Get-Mailbox and Get-SPOSite; remove locations that no longer exist
SiteInReadonlyOrNotAccessible: "The SharePoint site is read-only or not accessible."The site can't take the holdSite in read-only modeCheck whether the site is locked or read-only (for example with Get-SPOSite), then retry distribution
Query-based hold misses encrypted or partially indexed itemsKeyword or path conditions may not apply to themHold query goes beyond dates, participants or item typesLimit query conditions to those three, or use a location-based hold
Repeated hold errors after many small updatesMicrosoft recommends one bulk update instead of manyLocations added one at a time, or changes made while the hold is pendingBatch changes into one request (below)
PowerShell
$users = "adele@contoso.com", "lee@contoso.com", "megan@contoso.com"
$status = Get-CaseHoldPolicy -Identity "<hold policy name>" -DistributionDetail
if ($status.DistributionStatus -ne "Pending") {
    Set-CaseHoldPolicy -Identity "<hold policy name>" -AddExchangeLocation $users
} else {
    Write-Host "Hold policy still pending."
}

Retention and DLP policies have their own distribution status; see Purview policy distribution errors for those.

How to verify a fix#

  1. Holds: the hold shows On without (Pending), and DistributionResults no longer lists failed locations. For holds by case, see eDiscovery cases, holds and review sets.
  2. Searches and exports: Get-ComplianceSearch -Case "<case name>" | Format-Table Name, Status, Items, Size shows the searches completed, and Get-ComplianceSearchAction -Case "<case name>" shows the export actions. Keep this output if you open a support case; Microsoft asks for it.
  3. Export package: Export Warnings and Errors.csv is empty or only lists entries you can explain, and Skipped Items.csv only lists folders.
  4. Partially indexed items: record which export options you chose for each matter, so differences between statistics and the package are explainable later.
  5. Encrypted content: a reviewer with the RMS Decrypt role can preview rights-protected email in readable form.

References#

Written and checked against current Microsoft Learn documentation. Test changes with a pilot group before rolling them out to everyone, and if an admin center path has moved since, search for the setting name instead.

Spotted a mistake, or did this fix work differently for you? Email me or message me on LinkedIn — corrections are credited in the article.

Written by

Omer Eltayeb

Intune Subject Matter Expert in Cairo, Egypt, former Microsoft Cloud Solutions Architect, Microsoft Certified Trainer and Microsoft Innovative Educator Expert (2024–26) and Microsoft Elevate Educator Expert (2026–27). I share practical, step-by-step guides, study plans, scripts and toolkits for Microsoft Intune, Configuration Manager, Microsoft Entra ID, Microsoft Defender, Exchange and Microsoft 365 with the community.

Microsoft Certified Trainer (MCT) 2026Microsoft Innovative Educator Expert 2025–2026Microsoft Elevate Educator Expert 2026–2027ISC2 Certified Information Systems Security Professional (CISSP)Microsoft 365 Certified: Enterprise Administrator Expert (MS-102)