You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
Move-PnPFolder : The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
At C:\Scripts\Sharepoint Folder move.ps1:21 char:8
+ Move-PnPFolder -Folder $SourceFolderURL -TargetFolder $TargetF ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Move-PnPFolder], WebException
+ FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Files.MoveFolder
Expected behavior
Expected behavior: Copy the folder to the new library
Actual behavior
See error above
Steps to reproduce behavior
Try to copy a huge folder (but less then 5000 items, because of the list-view treshold error)
Which version of the PnP-PowerShell Cmdlets are you using?
[X ] PnP PowerShell for SharePoint Online
What is the version of the Cmdlet module you are running?
v3.24.2008.0
How did you install the PnP-PowerShell Cmdlets?
MSI Installed downloaded from GitHub
Installed through the PowerShell Gallery with Install-Module
Other means
When the time-out appears, my source folder is gone.. Should all the files be moved, or did I loose files?