SOLVED

$filter by multiple properties

Copper Contributor

Hi all,

 

Unfortunately, I can't manage to filter according to several properties.

 

I'm currently filtering for a specific value, but I would like to filter using one or two "or" operators or other properties:

 

$filter=assignmentState+eq+'Delivered'

 

 

e.g.:

filter where assignmentstate is 'Delivered' or 'Delivering' or 'etc..'

 

When I follow the documentation I run into errors.

https://learn.microsoft.com/de-de/graph/filter-query-parameter?tabs=http

 

Does anyone have experience with multiple filters?

 

Regards

1 Reply
best response confirmed by vipfafen (Copper Contributor)
Solution
Something like this should work:

https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignments?$... eq 'Delivered' OR assignmentState eq 'Expired'
1 best response

Accepted Solutions
best response confirmed by vipfafen (Copper Contributor)
Solution