Share via

Cannot filter by "showInAddressList"

Lee Jacobson 26 Reputation points
2022-02-09T12:07:01.033+00:00

My query: "https://graph.microsoft.com/beta/users?$count=true&$top=50&$filter=showInAddressList eq true"

Error message: Unsupported or invalid query filter clause specified for property 'showInAddressList' of resource 'User'.

This property should support this filter according to the docs:
https://learn.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-beta

Microsoft Security | Microsoft Graph
0 comments No comments

Answer accepted by question author

ShivaniRai-MSFT-7217 2,751 Reputation points
2022-02-09T12:27:53.293+00:00

Hi @Lee Jacobson ,

According to this Document you have to set ConsistencyLevel header to eventual when we use advanced query parameters.
Please refer below screenshot from Graph Explorer as example reference:
172593-image.png

Hope this helps.

If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.