Hi Piyush Kumar,
Thanks for reaching out.
I am unable to reproduce this issue from my tenant. Using the Graph API: GET /users/?$search="mail:{mail-ID1}" OR "mail:{mail-ID2}"&$count=true
with request header ConsitencyLevel: eventual
I am getting the expected results.
This request header and $count
are required when using $search
, or in specific usage of $filter
. For more information about the use of ConsistencyLevel and $count
, see Advanced query capabilities on Azure AD directory objects.
Please refer the link for more details: https://learn.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http
Please check your Graph API execution with above provided details and if still you are facing the same issue and as mentioned by you, this issue is not happening in all the cases. I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise support ticket from http://aad.portal.azure.com/ or https://admin.microsoft.com/#/support/requests.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.