How can I see which users a shared drive file is shared with?

How can I check which users a file on a SharePoint shared drive is shared with?

I’m currently using O365 activities and exploring"Get files and folders metadata", but I haven’t found a direct way to see all users the file is shared with.

My goal is to determine to which users a specific file is shared with.
If anyone has experience or suggestions on how to achieve this, your help would be appreciated!

1 Like

UiPath currently does not provide a direct, built-in activity to list all users a SharePoint file is shared with.

The standard activities like “Get files and folders metadata” or “Get File/Folder” only retrieve file properties and do not expose sharing or permissions details.

The “Share File/Folder” activity allows you to share files with users but does not fetch existing sharing information.

Can Use Microsoft Graph API via HTTP Request Activity in UiPath to get the users.

1 Like

So there is no dierct action for the same? I was trying the - Get files and folders metadata- activity but no lo luck so far…

1 Like

Unfortunately, No direct method as of now. But can try API method to get the details.

1 Like

FYI, as a workaround, we used the Office 365 HTTP activity to get the list of users the file was shared with. This required us to create two separate Integration Services, but it worked. I hope the O365 package is improved to include this feature in the metadata actions.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.