Sharepoint online copy to/move to issues

%3CLINGO-SUB%20id%3D%22lingo-sub-1033582%22%20slang%3D%22en-US%22%3ESharepoint%20online%20copy%20to%2Fmove%20to%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1033582%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewe%20are%20fully%20migrated%20do%20O365%2C%20so%20this%20question%20is%20not%20connected%20with%20migration%20issues.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20use%20the%20copy%2Fmove%20functionality%20between%20libraries%2C%20folders%20within%20libraries%20or%20between%20sites%20quite%20often.%20There%20are%20specific%20reason%20for%20this%3A%3C%2FP%3E%3CP%3E-%20temporary%20externally%20shared%20folders%20archived%20in%20internal%20sites%3C%2FP%3E%3CP%3E-%20adjusting%20the%20content%20structure%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20use%20web%20interface%20only%20(Chrome%20on%20Mac).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20the%20functionalities%20are%20clumsy%20and%20inconsistent%3A%3C%2FP%3E%3CP%3E-%20sometimes%20it%20works%20without%20any%20problems%3C%2FP%3E%3CP%3E-%20sometimes%20copy%2Fmove%20operation%20just%20hangs%20(0%25%20migrated)%20and%20nothing%20happens%20(for%20days)%3C%2FP%3E%3CP%3E-%20sometimes%20copy%2Fmove%20operation%20seems%20to%20be%20hanged%20at%200%25%2C%20but%20in%20the%20target%20library%2Ffolder%20the%20files%20are%20already%20present%20and%20accessible%3C%2FP%3E%3CP%3E-%20we%20try%20to%20move%20one%20specific%20folder%20for%20weeks%20to%20a%20different%20site%2C%20it%20never%20finishes%2C%20original%20folder%20is%20still%20present%20and%20the%20only%20way%20to%20check%20what%20has%20been%20moved%2C%20is%20to%20manually%20check%20the%20structure%20in%20the%20target%20library%2C%20file%20by%20file.%20There%20is%20no%20sign%20if%20the%20process%20is%20still%20running%20or%20not.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThese%20situations%20are%20not%20bound%20to%20number%20or%20size%20of%20files.%20It%20does%20happen%20with%201-2%20files%20the%20same%20way%20as%20with%20many%20of%20them.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20no%20way%20to%20check%20the%20status%20of%20these%20operations%20(or%20at%20least%20I%20am%20not%20aware%20of%20any).%20So%20we%20are%20not%20able%20to%20be%20alerted%20if%20the%20operation%20has%20failed%2C%20if%20all%20the%20files%20have%20been%20moved%20or%20not.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20user%20complaints%20that%20they%20cannot%20find%20the%20expected%20files%20where%20they%20need%20to.%20I%20did%20not%20expect%20to%20have%20such%20issues%20with%20copy%2Fmove%20operations.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESimilar%20topic%20is%20discussed%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FSharePoint%2FMoving-or-Copying-Files-Painfully-Slow-Loss-of-Data%2Fm-p%2F238315%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FSharePoint%2FMoving-or-Copying-Files-Painfully-Slow-Loss-of-Data%2Fm-p%2F238315%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E...%20with%20no%20clear%20solution.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAm%20I%20missing%20something%20here%3F%20Should%20we%20use%20this%20functionality%20or%20not%3F%20If%20not%2C%20what%20is%20the%20preferred%20way%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1033582%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1034001%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20online%20copy%20to%2Fmove%20to%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1034001%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F213061%22%20target%3D%22_blank%22%3E%40Milos%20Halecka%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20are%20not%20missing%20something%20it%20is%20consistently%20not%20working%20as%20you%20would%20expect.%20Same%20observations%20from%20me%3A-%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20moving%20more%20than%20about%2025%20folders%2Ffiles%20it%20errors%20on%20the%2026th%20due%20to%20%22Timeout%22%20issue.%26nbsp%3B%3C%2FP%3E%3CP%3EThe%200%25%20is%20due%20to%20the%20information%20not%20being%20posted%20back%20in%20the%20browser%20window.%20In%20most%20cases%20the%20content%20is%20being%20moved.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20advice%20-%20tell%20users%20not%20to%20use%20it%20for%20more%20than%20a%20couple%20for%20files%2Ffolders.%20User%20the%20SharePoint%20migration%20tool%20for%20larger%20amounts%20of%20data%20or%20purchase%20a%20product%20like%20ShareGate.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAndy%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1035822%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20online%20copy%20to%2Fmove%20to%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1035822%22%20slang%3D%22en-US%22%3EHello%20Andy%2C%3CBR%20%2F%3E%3CBR%20%2F%3Ethanks%20for%20the%20response.%20However%2C%20it%20is%20sad%20to%20hear%20that%20such%20a%20basic%20functionality%20is%20not%20working%20as%20expected.%3CBR%20%2F%3E%3CBR%20%2F%3Emilos%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1831589%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20online%20copy%20to%2Fmove%20to%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1831589%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F213061%22%20target%3D%22_blank%22%3E%40Milos%20Halecka%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDownloading%20from%20SharePoint%20is%20pain%20now%20a%20days%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2105505%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20online%20copy%20to%2Fmove%20to%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2105505%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F213061%22%20target%3D%22_blank%22%3E%40Milos%20Halecka%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EHello%2C%3C%2FP%3E%3CP%3ESame%20problem%20for%20me.%3C%2FP%3E%3CP%3ETried%20to%20copy%20a%20folder%20from%20a%20SP%20site%20to%20another%20from%20the%20web%20interface.%20The%20content%20was%20copied%20partially%20for%20no%20apparent%20reason.%20I%20waited%20a%20day%20and%20still%20no%20progress.%3C%2FP%3E%3CP%3EThis%20is%20really%20a%20pain!%3C%2FP%3E%3CP%3EI'm%20trying%20Powershell%20now%20and%20hope%20it%20will%20go%20through!%3C%2FP%3E%3CP%3EFirst%20install%20the%20module%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3EInstall-Module%20PNP.Powershell%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EThen%20create%20a%20PS1%20file%20with%20this%20content%20(edit%20it%20according%20to%20your%20need)%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3E%23Config%20Variables%0A%24SiteURL%20%3D%20%22https%3A%2F%2Fdomain.sharepoint.com%2Fsites%2Fsourcesite%22%0A%24SourceFolderURL%3D%20%22sourcelibrary%2Fsourcefolder%22%0A%24TargetFolderURL%20%3D%20%22%2Fsites%2Ftargetsite%2Ftargetlibrary%22%0A%20%0A%23Connect%20to%20PnP%20Online%0AConnect-PnPOnline%20-Url%20%24SiteURL%20-Credentials%20(Get-Credential)%0A%20%0A%23Copy%20Folder%20to%20different%20site%20collection%0ACopy-PnPFile%20-SourceUrl%20%24SourceFolderURL%20-TargetUrl%20%24TargetFolderURL%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EThen%20run%20it%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3EPS%20C%3A%5Ctemp%26gt%3B%20.%5C%22copy%20to%20script.ps1%22%0A%0Acmdlet%20Get-Credential%20at%20command%20pipeline%20position%201%0ASupply%20values%20for%20the%20following%20parameters%3A%0ACredential%0A%0AConfirm%0ACopy%20file%20'%2Fsites%2Fsourcesite%2Fsourcelibrary%2Fsourcefolder'%20to%20'%2Fsites%2Ftargetsite%2Ftargetlibrary'%3F%0A%5BY%5D%20Yes%20%20%5BN%5D%20No%20%20%5BS%5D%20Suspend%20%20%5B%3F%5D%20Help%20(default%20is%20%22Y%22)%3A%20y%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.sharepointdiary.com%2F2018%2F04%2Fcopy-folder-in-sharepoint-online-using-powershell.html%23ixzz6kpd0esfX%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwww.sharepointdiary.com%2F2018%2F04%2Fcopy-folder-in-sharepoint-online-using-powershell.html%23ixzz6kpd0esfX%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello,

 

we are fully migrated do O365, so this question is not connected with migration issues.

 

We use the copy/move functionality between libraries, folders within libraries or between sites quite often. There are specific reason for this:

- temporary externally shared folders archived in internal sites

- adjusting the content structure etc.

 

We use web interface only (Chrome on Mac).

 

However, the functionalities are clumsy and inconsistent:

- sometimes it works without any problems

- sometimes copy/move operation just hangs (0% migrated) and nothing happens (for days)

- sometimes copy/move operation seems to be hanged at 0%, but in the target library/folder the files are already present and accessible

- we try to move one specific folder for weeks to a different site, it never finishes, original folder is still present and the only way to check what has been moved, is to manually check the structure in the target library, file by file. There is no sign if the process is still running or not.

 

These situations are not bound to number or size of files. It does happen with 1-2 files the same way as with many of them.

 

There is no way to check the status of these operations (or at least I am not aware of any). So we are not able to be alerted if the operation has failed, if all the files have been moved or not.

 

We have user complaints that they cannot find the expected files where they need to. I did not expect to have such issues with copy/move operations.

 

Similar topic is discussed here: https://techcommunity.microsoft.com/t5/SharePoint/Moving-or-Copying-Files-Painfully-Slow-Loss-of-Dat...

 

... with no clear solution.

 

Am I missing something here? Should we use this functionality or not? If not, what is the preferred way?  

5 Replies

Hi @Milos Halecka ,

 

You are not missing something it is consistently not working as you would expect. Same observations from me:-

 

When moving more than about 25 folders/files it errors on the 26th due to "Timeout" issue. 

The 0% is due to the information not being posted back in the browser window. In most cases the content is being moved. 

 

My advice - tell users not to use it for more than a couple of files/folders. Use the SharePoint migration tool for larger amounts of data or purchase a product like ShareGate. 

 

Andy

 

Hello Andy,

thanks for the response. However, it is sad to hear that such a basic functionality is not working as expected.

milos

@Milos Halecka 

Downloading from SharePoint is pain now a days 

@Milos Halecka 
Hello,

Same problem for me.

Tried to copy a folder from a SP site to another from the web interface. The content was copied partially for no apparent reason. I waited a day and still no progress.

This is really a pain!

I'm trying Powershell now and hope it will go through!

First install the module:

Install-Module PNP.Powershell

Then create a PS1 file with this content (edit it according to your need):

#Config Variables
$SiteURL = "https://domain.sharepoint.com/sites/sourcesite"
$SourceFolderURL= "sourcelibrary/sourcefolder"
$TargetFolderURL = "/sites/targetsite/targetlibrary"
 
#Connect to PnP Online
Connect-PnPOnline -Url $SiteURL -Credentials (Get-Credential)
 
#Copy Folder to different site collection
Copy-PnPFile -SourceUrl $SourceFolderURL -TargetUrl $TargetFolderURL

Then run it:

PS C:\temp> .\"copy to script.ps1"

cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential

Confirm
Copy file '/sites/sourcesite/sourcelibrary/sourcefolder' to '/sites/targetsite/targetlibrary'?
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): y

https://www.sharepointdiary.com/2018/04/copy-folder-in-sharepoint-online-using-powershell.html#ixzz6... 

@Milos Halecka I hope Microsoft reads this. You need to fix SharePoint. It is horrible and nothing is setup and forget, it is a constant struggle.

 

  1. If you COPY data, you lose metadata and version history
  2. If you sync data to OneDrive and upload that way, you lose metadata and version history
  3. If you MOVE data from one site to another, it fails/unreliable and gets stuck in progress
  4. There is NO SEARCH on recycle bin because MS doesn't want to index it.

I know Fortune 100 companies that love SharePoint cause they have the staff to sit around and only do SharePoint, but for us smaller companies SharePoint is a major resource HOG and very intensive on our team. I suggest looking at cleaning this up and making SharePoint a better solution.