I am currently working on eDiscovery Reference through graph API and I want to know if there is a way of getting statistics of data that is put on legal hold
Attached an image below and the statistics I am looking for (image is from compliance.microsoft.com)
Can we get the statistics from below through any graph API ?
If you know
legalHold
id you can use the ID oflegalHold
resource for the eDiscovery case.You can call
to get list of sourceCollection.
For each
sourceCollection
you can run an estimate of the number of emails and documents in the source collectionThe response will contain a
Location
header, which contains the location of the estimateStatisticsOperation that was created to handle the estimate.Or you can get the last estimateStatisticsOperation object associated with a source collection.
estimateStatisticsOperation
contains the propertiesstatus
,siteCount
,mailboxCount
,indexedItemCount
,indexedItemsSize
,unindexedItemCount
andunindexedItemsSize
.