Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

OneDrive for Business/SharePoint API - GET folders 'shared with me' if shared from a group/s.

$
0
0

Does anybody have any ideas of how to get the list of folders shared with a user from a group?

I can already retrieve files shared with a user from another user with:

https://{tenant}-my.sharepoint.com/_api/search/query?querytext='(SharedWithUsersOWSUSER: {account_name} AND contentclass:STS_ListItem_MySiteDocumentLibrary)'

but this end point does not show any of the files if they were shared from a group, is this possible with the REST API?

Thanks for any help in advance.


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>