Unable to handle / receive shared events on share point using microsoft graph sdk java. Already implemented webhook according to the official documentation on microsoft developer api. Let me know how can I get those details.
Alternatively is there any api which would return me all the shared data of the user on share point.
Refer the documentation Webhook supported resources, it clearly talks about that you can subscribe it to the root folder of a SharePoint/OneDrive for Business drive: /drive/root or Or to a specific resource instance: users/{id}, groups/{id}, groups/{id}/conversations, sites/{site-id}/lists/{list-id}, /communications/presences/{id} only and not about the shared ones.