An API that connects multiple Microsoft services, enabling data access and automation across platforms
Thank you for the response!
Unfortunately clearing the cache and cookies didn't help. I am using the headers ConsistencyLevel: eventual (they are the only headers, and the query doesn't work without it).
I am still getting it to repro. If I ask for users with businessPhones starting with "+44", and no $search, the person I'm searching for appears. But as soon as I add &$search="displayName:John Smith", I get 0 results back, until I specify the number to startsWith up to "+44 (2".
I have repro-d this with a different user as well, who's phone also starts with "+44 (20)". And again, if I search
https://graph.microsoft.com/v1.0/users?$count=true&$filter=businessPhones/any(p:startsWith(p, '%2B44 (2'))&$top=999&$Select=displayName,businessPhones,mobilePhone,id&$search="displayName:Rochelle Reid"
Then I get 1 result back. However, it I do
https://graph.microsoft.com/v1.0/users?$count=true&$filter=businessPhones/any(p:startsWith(p, '%2B44'))&$top=999&$Select=displayName,businessPhones,mobilePhone,id&$search="displayName:Rochelle Reid"
Then I get 0 results.
Removing the $Select and $top doesn't make any difference.
Can you please try and repro this with someone with more than just 1 name please? You might need to delete more numbers than me for the number, but I'm interested in whether this is just for me.