Forum Discussion
vipfafen
Aug 08, 2024Copper Contributor
$filter by multiple properties
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
- Something like this should work:
https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignments?$filter=assignmentState eq 'Delivered' OR assignmentState eq 'Expired'
- Something like this should work:
https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignments?$filter=assignmentState eq 'Delivered' OR assignmentState eq 'Expired'