Forum Discussion
IhorFJ
May 28, 2024Copper Contributor
Microsoft Graph API: can't filter by companyName
I am trying to filter users by the 'companyName' field and always receive a '400 Bad Request' error. As suggested in many similar issues, I added '$count=true' and the 'ConsistencyLevel=eventual' header, but still no luck. Is it possible at all to filter users in my tenant by this field?
betav1
3 Replies
- You need both the header and $count=true, your screenshots are missing the latter.
- IhorFJCopper Contributor
VasilMichev
same with $count=trueAnd the header?