Hi everyone,
I'm kinda stuck on this one.
I'm trying to revoke the permission of a specific EXTERNAL user on a sharepoint folder thanks to his mail adress.
I tried with http request but i guess it work only with internal user or do i miss something ?
Thanks in advance,
TS.
Hi @tsBlank,
Have you tried using the GetSharingInformation endpoint for the item? This might be a way to retrieve the correct user:
Try an URI like below
_api/web/Lists(@a1)/GetItemById(@2)/GetSharingInformation?@a1='listguid'&@a2='itemID'&$Expand=permissionsInformation,pickerSettings
Paul Matthews has a great blog about this:
https://cann0nf0dder.wordpress.com/2018/04/04/externally-sharing-getsharinginformation-rest-api/
David_MA
140
Super User 2025 Season 1
Michael E. Gernaey
138
Super User 2025 Season 1
stampcoin
125