Hi @Anonymous ,
Just tried running the command against one quarantined mail in my lab tenant but cannot replicate the error:
This happens in some emails and not all.
Have you noticed if these mails in question have anything in common which differs them from the other normal mails?
Besides, please try exporting one of the problematic emails from the Microsoft 365 Defender portal and see if it works:
See: Download email from quarantine.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.