I am trying to search user using Microsoft Graph API and it works for few attribute like filter=givenName https://graph.microsoft.com/v1.0/users?$filter=givenName eq 'testuser'&$select=surname
I want to search user with mobile number, tried https://graph.microsoft.com/v1.0/users?$filter=mobile eq '+******'&$select=surname
It gives me an error:
"code": "Request_UnsupportedQuery", "message": "Property 'mobile' does not exist as a declared property or extension property."
https://graph.microsoft.com/beta/users?$select=surname,mobilePhone&$filter=mobilePhone eq '123456'&$count=true
and it worked. - Pamela Peng