Hi @Harjani, Ashish , this thread goes into detail on how you accomplish this using the Graph API. Please let me know if this works for you or if you have any questions with it.
For example, this query will return the usernames of your search:
`https://graph.windows.net/myorganization/users?$filter=signInNames/any(x:x/value eq 'someone')&api-version=1.6`
If this answer helped you please mark it as "Verified" so other users can reference it.
Thank you,
James