Microsoft Graph Java SDK - Unable to read shared files on Share point

Product Marketing 41 Reputation points
2020-12-02T06:31:06.873+00:00

Hi All,

I have a Paid subscription with Office 365 account. I am trying to integrate sharepoint online to my application, where I need some support from you in understanding the implementation of Share Point's share events.

We are not receiving the share events like sharing a file / folder / site etc..,. Integrated Webhook according to the documentation, able to receive delta events. Need some help in understanding the implementation of handling / receiving the events when User shares the files / folders / sites on share point. Let me know if you need more information.

Alternatively, let me know if we have any api / provision in sdk to get the list of shared files of a particular user.

What I really meant / want is, the file / folder data which is actually getting shared to the user. If one User shares a file with another user, then I should be able to access / download the file and able to store / read the content of the file which has been shared..

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. Deva-MSFT 2,271 Reputation points Microsoft Employee
    2020-12-02T19:02:37.62+00:00

    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.