Is it possible to filter users by phone? I'm trying to find contacts in the global address list by their phone numbers.
I've tried https://graph.microsoft.com/v1.0/users?$filter=mobilePhone eq '+1234567890' but I get the following error:
"code": "Request_UnsupportedQuery",
"message": "Unsupported or invalid query filter clause specified for property 'mobilePhone' of resource 'User'."
also businessPhones/any does not seem to work. However, the above query works fine in personal contacts but then I would have to manually sync the global address list to my personal contacts which is not desirable.
Thanks in advance.