Hi @Nagarajan, Divya (External)
Your $filter
query parameter format is wrong, the correct filter should be:
https://graph.microsoft.com/v1.0/users?$filter=mail eq 'XXXXX@mailinator.com'
The graph java sdk:
GraphServiceClient graphClient = GraphServiceClient.builder().authenticationProvider( authProvider ).buildClient();
UserCollectionPage users = graphClient.users()
.buildRequest()
.filter("mail eq 'XXXXX@mailinator.com'")
.get();
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.