Export disposition review items list via Microsoft Graph API

Copper Contributor

 

We need to pull out the report of disposed item from compliance center.

 

Is there any way to export disposition review list from Microsoft 365 compliance center using Microsoft Graph API.

 

Any help or directions would be appreciated, solution is also appreciated.

 

Thanks

@GGarg

 

3 Replies
There are no Graph API endpoints for that currently, you can however get the items via PowerShell: https://office365itpros.com/2023/04/10/disposition-review-items-export/
Thank you..

But Get-ReviewItems cmdlet is available only in the cloud-based service.
https://learn.microsoft.com/en-gb/powershell/module/exchange/get-reviewitems?view=exchange-ps&WT.mc_...

How can we use this cmdlet.
Could you please provide me some reference from where I can get implementation example.
It would be great help.
Thanks in advance
@GGarg
Hi,
Created Azure Automation runbook to get the items from Microsoft 365 compliance center and using the "Get-ReviewItems" cmdlet to fetch the item list.
Imported module "ExchangeOnlineManagement" in automation account.
Giving me below error-
System.Management.Automation.CommandNotFoundException: The term 'Get-ReviewItems' is not recognized.
Please provide me direction in this.
Thanks