Get all user file shared with SharePoint Online

Brass Contributor

Hi,

 

Can I get suggestion on how to get all user (including external user) with whom the file is shared with using power shell.

 

1 Reply

One way to do this is to use the Graph API's permissions endpoint: https://docs.microsoft.com/en-us/graph/api/resources/permission?view=graph-rest-1.0