How to see all the files and folders shared with a specific user

How to see all the files and folders shared with a specific user
2

Upvotes

Upvote

 Jan 26 2023
1 Comments (1 New)
New

Dear Community,

I have to share files and folders with a lot of colleagues for work purposes.

I need to know which files are shared with which user in order to be able to clean things up.

Is there a way to see all the files shared with a specific user?

I can see the files shared with me by using the following within graph: https://graph.microsoft.com/v1.0/me/drive/sharedwithme

I want to be able to do this for another user. Is there a possibility within Microsoft (graph) or within OneDrive to do this.

I have seen one post at https://learn.microsoft.com/en-us/answers/questions/604458/see-all-the-files-shared-with-a-specific-user?page=1&orderby=Helpful&comment=answer-607169#newest-answer-comment, wherein Carl Zhao_MSFT suggested to submit a user voice to add a support request for the /users/{user id} endpoint on 28 Oct 2021.

 

In view of the above, I am submitting my request to add a support request for the /users/{user id} endpoint and/or add functionality in OneDrive itself to screen files and folders shared with a specific user by me. It will help me clean up the files/folders sharing not required anymore.

 

Thank you in advance.

Comments
Copper Contributor

We need this capability.  Here is our use-case.  We have 600+ files.  Of those files, which of those files can a user see?  The https://graph.microsoft.com/v1.0/me/drive/sharedwithme call must be run with the target user OAuth Credential.  We need to run this over many users and many sets of files without the ability to perform OAuth for each user.