365emailhasher

Simply give it a bearer token with access to Microsoft Graph and it will provide an MD5 hash of all attachments in Microsoft 365.

pwsh -c ./365emailhasher.ps1 $TOKEN