Using $filter=deletedDateTime le '2018-01-01' to find deleted Groups

Regular Contributor

Is this $filter=deletedDateTime le '2018-01-01' a supported query parameter for Graph API when finding deleted groups in a set time period.

 

I have tried both the Groups API and directory and none works. They all come with 'Invalid filter clause' error.

 

Deleted items API

https://graph.microsoft.com/v1.0/directory/deletedItems/microsoft.graph.group?$filter=deletedDateTim... ge '2018-01-01'

 

Groups API

https://graph.microsoft.com/v1.0/groups?$filter=deletedDateTime ge '2018-01-01'

 

1 Reply

Filtering in the Graph is beyond crap, just get the full response and filter it client-side.