Forum Discussion
AshMSport
Aug 22, 2022Copper Contributor
Copy-PnPFile Not Working Value cannot be null.\r\nParameter name: Null value for source item at
I'm tying to use Copy-PnPFile command to copy all files and folders from site collection A document library to another site collection B/folder but it's not working. Following is the command I'm usin...
ganeshsanap
Aug 23, 2022MVP
AshMSport Is there any required column in destination site library for which you are passing null values from source site library?
If yes, try removing required settings from column for time being while copying files using PowerShell.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- AshMSportAug 23, 2022Copper ContributorThere are no required fields.