I&amp;#39;m working with microsoft graph rest api.
I&amp;#39;m using : /me/drive/sharedWithMe but it&amp;amp;#39;s not return the shared file/folder from external .
How can i get the sahred from external users?
@ngThDn-5282, Can you check and confirm if you have the following permissions in place:
Delegated (work or school account) Files.Read.All, Files.ReadWrite.All, Sites.Read.All, Sites.ReadWrite.All
Delegated (personal Microsoft account) Files.Read.All, Files.ReadWrite.All
Application Files.Read.All, Files.ReadWrite.All, Sites.Read.All, Sites.ReadWrite.All
If these permissions are in place and still the api is not returning and thing then I would like to know what exact error you are getting when you call the api.
There is a shared resource on the driveitem. You should be able to filter on that property to find files and folders shared with other people.
Hope this helps.
Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as Answer; if the above response helped in answering your query.
6 people are following this question.