There are some limits in the number of operators you can use, as well as the overall URL length. The generic advise is to split the query into multiple requests and use BATCHes. See for example this thread: https://stackoverflow.com/questions/66579149/microsoft-graph-client-retrieve-more-than-15-users
Microsoft Graph API filter query limit on or conditions
Aditya Mehetre
30
Reputation points
I'm using microsoft graph sdk in Spring Boot. I have a list of userIds and want to get the users corresponding to these IDs using Graph API. I can use a filter like /users?$filter=id eq id1 or id eq id2 or .... My question is, what is the limit allowed by Graph API in this case (number of or conditions in a request)?
Microsoft Security Microsoft Graph
13,721 questions
Accepted answer
-
Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
2024-09-08T15:25:59.1966667+00:00