pnp / cli-microsoft365

Manage Microsoft 365 and SharePoint Framework projects on any platform
https://aka.ms/cli-m365
MIT License
910 stars 318 forks source link

Support moving cross-site collection with `spo folder copy` #6310

Open milanholemans opened 3 weeks ago

milanholemans commented 3 weeks ago

This issue is related to:

However, spo folder copy uses the same endpoint that causes problems with the commands mentioned above, for some reason, there are no limitations for the copying of folders. However, I think it's good to keep these 4 commands aligned and let them use the same endpoint so they behave the same. Additionally, with the current endpoint, it is impossible to know the name of the new copied folder when using --nameConflictBehavior rename. With the new endpoint, this is possible.

milanholemans commented 4 days ago

Will work on it when #6390 has been merged. All changes made in the spo util are needed for this issue as well.