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
I am encountering an error when using the Copy-PnPFile cmdlet in PnP PowerShell. The error message indicates an "Unknown Error" with the code -1, Microsoft.SharePoint.Client.UnknownError.
Expected behavior
When executing the Copy-PnPFile cmdlet, I expect the specified file to be successfully copied from the source location to the destination location within SharePoint.
Actual behavior
Instead of the file being copied, I receive the following error message:
Reporting an Issue or Missing Feature
I am encountering an error when using the
Copy-PnPFile
cmdlet in PnP PowerShell. The error message indicates an "Unknown Error" with the code-1, Microsoft.SharePoint.Client.UnknownError
.Expected behavior
When executing the
Copy-PnPFile
cmdlet, I expect the specified file to be successfully copied from the source location to the destination location within SharePoint.Actual behavior
Instead of the file being copied, I receive the following error message:
Steps to reproduce behavior
Connect-PnPOnline
.Connect-PnPOnline
.Copy-PnPFile
cmdlet with the appropriate source and destination URLs.Example script:What is the version of the Cmdlet module you are running?
To retrieve the version of the PnP PowerShell module, execute the following command:
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: