Data Loss Prevention (DLP) SharePoint Discover Scans file quarantine fails.
search cancel

Data Loss Prevention (DLP) SharePoint Discover Scans file quarantine fails.

book

Article ID: 170884

calendar_today

Updated On:

Products

Data Loss Prevention Network Discover

Issue/Introduction

Running Discover scans of SharePoint server with File Quarantine Smart Response rule configured
The manual file quarantine will be successful once, however subsequent files or attemps with fails with an error.

 
FlexResponse Action Failed 
[Sharepoint Quarantine] failed with message: Could not quarantine file: ::faultcode => soap:Server::faultstring => Server was unable to process request. ---> Copy move operation failed ---> A list, survey, discussion board, or document library with the specified title already exists in this Web site. Please choose another title. ---> A list, survey, discussion board, or document library with the specified title already exists in this Web site. Please choose another title.::detail => 

Environment

DLP 15.8, 16.0
SharePoint 2013, 2016, 2019

Cause

Target name includes dashes (-)

SharePoint 2013 treats hyphens (the '-' character) as a word brake character. Here is the Microsoft development support case link:

 

https://social.technet.microsoft.com/Forums/ie/en-US/d2821a5f-38de-494e-8f05-b668e3e7e2bd/exclude-hyphen-from-search-terms-sharepoint-2013?forum=sharepointgeneral

 

SharePoint creates the file the first time properly. Then the file gets indexed. The indexing process seems to use a text processor to originate entries. This way the index would contain text with hyphens('-') replaced by path-separating slashes: '/'.

 

Another MSDN tech discussion confirms this:

https://social.technet.microsoft.com/Forums/ie/en-US/ed2c8fb9-101d-4d64-a189-a3538511ae79/filenames-with-a-dash-in-are-replaced-with-a-slash-in-the-search-index?forum=sharepointsearch

Resolution

Omit the use of dashes when creating SharePoint Discover scan targets