Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,264 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
We have one use case where we would like to use graph apis to get the following-
Went through graph api documentations, but nothing talks about this support.
Seeking your pointers regarding this.
There is no direct way to get this data via the Graph, instead you should use Exchange Online PowerShell and the Get-QuarantineMessage cmdlet.
I suppose you can create something similar via the Advanced Hunting endpoint under /security: https://learn.microsoft.com/en-us/graph/api/security-security-runhuntingquery?view=graph-rest-beta&tabs=http