Hello, @Jamie Schaub,
Welcome to the Microsoft Q&A platform!
You can use to export all quarantined messages in your Office 365 tenant over a specific period into a CSV file according to my instructions and PowerShell script below.
1.Use "Get-QuarantineMessage" to list your email messages in Quarantine.
2.Use the following cmdlet to export all O365 quarantined messages in your tenant over a specific period of time into a CSV file.
Get-QuarantineMessage | Select-Object ReceivedTime, Type, SenderAddress, Subject, Expires | Where-Object { $_.ReceivedTime -ge '01/11/2025' -and $_.ReceivedTime -le '01/30/2025' } ` | Export-Csv -Path 'C:\test117\test1.csv' -NoTypeInformation
(Note: The "01/11/2025" and "01/30/2025" is the start date and end date of your emails you want to export. The "C:\test117\test1.csv" is the location you want to export your emails to.)
3.The test result is shown below.
Should you need more help on this, you can feel free to post back.
If the answer is helpful, please click on “Accept answer” as it could help other members of the Microsoft Q&A community who have similar questions and are looking for solutions.
Thank you for your support and understanding.
Best Wishes,
Alex Zhang