I'm trying to find a way to stop sharing permission to a person for a SharePoint Library folder using Power Automate. Apparently "Stop sharing an item or a folder" is gone and the results I get from Google searches are only for SharePoint lists. I'm still kind of new to the REST API, so is there any way I can remove permission using Automate?
I am not sure what you see, but I see the action "Stop sharing an item or a file" which is the one I use for any revoking of access.
Kind regards, John
I'm trying to stop sharing for a folder, and I've tried using that action before and it does not work... 😞
Not sure if I was doing something wrong or it just doesn't work for folders.
Believe you have custom permissions set for document library folders. It is possible to remove specified user from a particular document library folder using SharePoint REST API. Please follow the below steps.
Here I am using a manual trigger. First we need to find the user principal id. To find the id we need to know the user email address. Please see below.
Above JSON Schema is as follows:
Could you please post another thread and explain a little bit about your problem you trying to solve? Also a screenshot is very helpful.
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
Many congratulations to the Season 1 2021 Flownaut Crew!
ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.