Skip to content

[FEATURE] - Copy-PnPFile from SPO to ODB #1720

@omarmallat

Description

@omarmallat

Reporting an Issue or Missing Feature

Copy-PnPFile does not work if -SourceUrl is /sites/something/Shared Documents/ and -TargetUrl is /personal/someone_domain_com/Documents
it works properly if both are /sites/... or both are /personal/...

Expected behavior

should be able to use it to copy items from sharepoint online to onedrive for business.

Actual behavior

The remote server returned an error: (404) Not Found.

Steps to reproduce behavior

Please include complete script or code samples in-line or linked from gists

What is the version of the Cmdlet module you are running?

(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)

Which operating system/environment are you running PnP PowerShell on?

  • Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions