web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : CwROnNgEJXnxesyzZCgmJ9
Power Automate - Building Flows
Answered

Remove ALL permissions for particular folder - HTTP request to SharePoint

Like (0) ShareShare
ReportReport
Posted on 7 Sep 2020 12:48:36 by 66

Hello guys!

I am trying to find a way how to properly use HTTP request to SharePoint in order to remove permissions to particular folder. My goal is to remove at once permissions given to multiple users in the past first and then set new ones.

 

I managed to add permissions with HTTP request - i will do that with my excel sheet list. I managed to remove permissions for particular users (with their IDs/emails) - BUT i do not want to do that one by one (user) - i just want to do it for all users who were given permissions in the past, remove all of them at once (besides Owners). Then i will give new permissions.

 

Is there any particular way how to do it in general for all users for particular folder in one step? If not, is there another way? For example - can i list users who have permission for the folder, then extract email/id and remove all of them with apply to each?

 

Note: i do not want to work with groups, i want to work with users.

 

THANKS in advance!

I have the same question (0)
  • Verified answer
    rimatos Profile Picture
    on 08 Sep 2020 at 14:57:18
    Re: Remove ALL permissions for particular folder - HTTP request to SharePoint

    Hi @Rejdy ,

     

    Given that this focuses more on the usage of the SharePoint REST API, I would recommend you reaching out to the SharePoint Community forum for further guidance.

    Nevertheless, I found this documentation on the subject that might be able to help you move forward!

    Set Custom permissions on a List using REST.
    Community Forum: https://sharepoint.stackexchange.com/questions/113317/manage-file-permissions-using-rest-api

     

     

    Hope this helps!

    Ricardo

     

  • dmohotti Profile Picture
    13 on 08 Aug 2023 at 03:36:35
    Re: Remove ALL permissions for particular folder - HTTP request to SharePoint

    I'm looking for a solution for this exact question, and the link provided here points to removing a single group. Not removing all groups from a folder.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard
Loading complete