SOLVED

filter the users with the company name attribute

Contributor

Hi
I'm trying to get the users with the company name attribute  'COP'  as :
https://graph.microsoft.com/v1.0/users?$filter=companyName eq 'cop' &$count=true

safcop_1-1659002352376.png

 

 

the error is : 

safcop_0-1659002308278.png

 

 

 

1 Reply
best response confirmed by saf-cop (Contributor)
Solution

That's and "advanced query", so you need to add the consistencyLevel header.

 

VasilMichev_0-1659034586422.png