Graph API does not provide any Exchange-related endpoints currently, what you can do is use PowerShell and the Get-QuarantineMessage cmdlet: https://learn.microsoft.com/en-us/powershell/module/exchange/get-quarantinemessage?view=exchange-ps
Fetch quarantiend email from protection.office.com through API
Dhaval Dave
11
Reputation points
Hey, I want to retrieve the quarantined email from protection.office.com. Is there any way to get those email or email headers through an API? I looked up graph API couldn't find anything. Thanks