Nov 06 2017 11:19 PM
I've written a PnP-PowerShell script to migrate network file shares and local drives to SharePoint Online, the script is absolutely gorgeous, it preserves metadata, maps users, creates and fill out Document Sets and etc.
The only things I've struggled and gave up after failing so many times is the MD5 checksum for the uploaded files on SharePoint Online, in the old days for classic SP you could easily achieve but with the limited ability in the PnP cmdlets I can't get this done, maybe it is my lack of experience and not the other way around but the documentation for PnP isn't the best and there are no many examples out there to help.
I'm hoping somebody has figured this out and has some working example of performing the MD5 checksum, any suggestions or ideas are warmly welcomed!
Jul 20 2020 10:27 PM
@Alex Gonsales Did you get solution for this..?
Jan 31 2021 02:52 AM
@Alex Gonsales Once the files are moved to SP Online the metadata changes, the chksum also fails, not sure if its becaues of metadata change the reason, however its is observed that, PDF files metadata is not changed they are digitally secured files.
You may need to download the files from SP Online and then do a chksum comparison. some files(PDF /zips) are digitally locked and the chksum will match but not Excel /word etc. etc..
Jun 10 2021 07:40 PM
Jun 10 2021 10:44 PM
Jun 11 2021 08:12 AM
@Paul_HK_de_Jong Yes, it works on SPO also.
Oct 13 2023 08:32 AM
Oct 13 2023 11:10 AM
@DavidG4P Yes, I think so. File size changes only when additional details get added/associated with it. Please try it on a test library to observe the behaviour.
Apr 09 2024 10:58 AM
Sorry for the late reply!
Somehow I was not notified about your answer.
Do you mean that I have to disable this behavior by using the above-mentioned script?
If so, do you happen to have any information how to apply that script? Do I have to be SharePoint administrator to do that?
Apr 09 2024 12:48 PM
Apr 09 2024 12:53 PM
Thank you! Would you happen to have a link to some instructions on how this is done? I fear that our IT dept. will have no idea how to do it otherwise.
Apr 09 2024 12:59 PM
Apr 09 2024 01:11 PM
Apr 09 2024 01:33 PM