Sharepoint online "move to" operation fails

MasterBlaster 161 Reputation points
2022-03-16T18:58:54.317+00:00

Hi Team,

Hope you are doing good.

When i try to move a document between two document libraries the operation fails.

I figured out it was due to "enforce unique value" set on a specific column, and when i disable it, "move to" operation works.

However, what i do not understand is this is the first file i am moving to this new document library, it should move, however it fails, any idea why it fails when there is no data in destination library?

Looking forward to the response.

@Vasil Michev

Regards,
Harshit Malhotra

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,298 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,300 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,900 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,341 Reputation points
    2022-03-17T03:14:25.193+00:00

    Hi @MasterBlaster ,

    According to your description, you enabled "enforce unique value" in destination library. We are not able to use "move to" option when you set "enforce unique value" to yes in destination library. This behavior is by design.

    Here is a article from Microsoft: Move or copy files in SharePoint for reference.

    The Move to operation will fail if you attempt to move the document across libraries and the destination has enforced unique values.

    183944-1.jpg


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.