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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / A flow to remove a spe...
Power Automate
Answered

A flow to remove a specific permissions group from an item on SharePoint Library

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi there,

 

I have created a flow which works brilliant so far. The final step on the flow is to remove a specific Permission group from the file that has been created.

 

I have used 'send a HTTP request to SharePoint' however it keeps failing. (image of flow and error posted below)

 

Kam1_0-1614607511920.png

 

Kam1_1-1614607558596.png

 

Any help would be greatly appreciated

 

Regards

Kam

 

 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Only way I can resolve this issue is to break Inheritance and add each group back to the Item apart from the one group I don't want to have access to the item.

  • Vanderbrick Profile Picture
    2 on at

    First you have to "break inheritance" with an HTTP request using a POST method and the following URI: 

    _api/web/lists/getByTitle(DOCUMENT LIBRARY NAME HERE)/items(ITEM ID HERE)/breakroleinheritance(true)

     

    Vanderbrick_0-1685567641666.png

    Then, use an HTTP request with the "DELETE" method. You have to find the ID of the security group you want to delete. In the example above, it is 3599. The "ID" dynamic content is the item ID which is having its permissions modified. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard