Currently MS Graph does not have an endpoint to get the list of files you shared. I see a feature request for this here - How to get one drive files that are shared by you using graph api? that I suggest you upvote so that it may be implemented in the future.
Using the graph api, is there a way to list shares *by* me?
Jörn Dreyer
1
Reputation point
I know I can get a list of shares with me using the /me/drive/sharedWithMe
endpoint. Is there also a way to get a list of all driveItems
I shared with others? Or, rephrasing: all driveItems
that have permissions set on them? I know I could filter the items in a single folder ... but since I may have shared a file somewhere in my drive I need a recursive query. Or a view of all driveItems with permissions ...
So actually there are two questions:
- can odata be used for this kind of recursive query? I don't think so.
- does the ms graph api have a view for 'shared by me'?
Thx
1 answer
Sort by: Most helpful
-
Danstan Onyango 3,741 Reputation points Microsoft Employee
2021-09-09T02:42:32.93+00:00