You can create a subscription to the root folder of a SharePoint/OneDrive for Business drive: /drive/root or to any folder in a user's personal OneDrive: /drives/{id}/root /drives/{id}/root/subfolder. Here's the documentation for it.
Microsoft Graph Java SDK - Unable to receive shared files on One Drive as a Event
Hi All,
I have a Paid subscription with Office 365 account. I am trying to integrate OneDrive to my application, where I need some support from you in understanding the implementation of OneDrive's share events.
We are not receiving the share events like sharing a file / folder etc..,. Integrated Webhook according to the documentation, able to receive delta events like if there are any files added etc.,. Need some help in understanding the implementation of handling / receiving the events when User shares the files / folders / sites on OneDrive. Let me know if you need more information
What I need / interested 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 real time(with some delay acceptable).
-
Deva-MSFT 2,266 Reputation points Microsoft Employee
2020-12-02T19:07:56.91+00:00
1 additional answer
Sort by: Most helpful
-
Product Marketing 41 Reputation points
2020-12-03T04:36:23.697+00:00 Thanks for reply. Can you provide me some thoughts on Share events how we receive them and how to handle them.