SharePoint library move files not working but copy and delete works fine

Marc Andre Schröder-Zhou 110 Reputation points
2025-11-14T13:53:13.6+00:00

Hello,

I have an error within a SharePoint library. The user has full edit rights, and the user is able to create, modify, and delete documents inside the SharePoint library. But if the user tries to move the file to another subfolder inside the same SharePoint library, the process ends with the following error:

System.UnauthorizedAccessException: Access denied. at Microsoft.SharePoint.SPFile. MoveCopyInternal(SPResourcePath newUrl, MoveUrlFlags grf, Boolean requireWebFilePermission, String etagMatch, Guid originatorId, String& newETag, Boolean allowNoExecuteWebFileUpdate, Int32 searchFlags) at Microsoft.SharePoint.SPFile.MoveTo(SPResourcePath newPath, SPMoveOperations moveOperations) at Microsoft.SharePoint.Administration. SPMigrationOrchestrator .CallShallowCopyAPI(SPListItem item, SPCopyMigrationParameters migParams, SPCopyOperations copyOption, SPMoveOperations moveOption, String destinationItemName, Int32& totalFileMigrated, IServiceQosInternalEvent shallowCopySendJobAPIQos) at Microsoft.SharePoint. Administration.SPMigrationOrchestrator.SendShallowCopyRequest (SPCopyMigrationParameters migParams, SPSite site, SPWeb sourceWeb, DeploymentRealtimeLogger rtLogger, IServiceQosInternalEvent qosEvent)

The following works:

  • Copy first the file the new location within the library
  • After copy the file, delete the file

But MOVE (copy and delete the source at once) is not working. The workaround for the moment is to copy the files and after copy to delete the source files.

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Nam-D 485 Reputation points Microsoft External Staff Moderator
    2025-11-14T15:29:09.0366667+00:00

    Hi @Marc Andre Schröder-Zhou,

    Welcome to Microsoft Q&A forum.  

    Based on your description, it seems you are experiencing an issue when using the Move To function in your SharePoint site. To help us investigate this more effectively, please provide the following information:

    • How many users in your organization are affected by this issue?
    • Do other users with edit rights or full control permissions experience the same behavior?
    • Did this functionality work before, and when did you first notice the problem?
    • Please try using a private/incognito browser window and, if possible, another device such as a mobile phone.
    • Please check whether you can move files to another library or site instead of just subfolders within the same library.

    Your update will be very helpful to narrow down the issue. I look forward to hearing from you soon.

    Thank you for your patience and understanding.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.