SharePoint Online MD5 Checksum

Brass Contributor

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!

5 Replies

@Alex Gonsales Did you get solution for this..?

@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..

This is default behavior for office files uploaded/moved to SharePoint. You can disable the setting at library level and then checksum is validated. List property (ParserDisabled) can be updated using PowerShell. Set it to True.


Write-host "Parser Disabled value " $List.ParserDisabled

$List.ParserDisabled = $true
Can this also be used for SharePoint Online or does it only apply to on-premise?

@Paul_HK_de_Jong Yes, it works on SPO also.