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 / how to remove all dire...
Power Automate
Unanswered

how to remove all direct access from a folder in SharePoint Document Library

(0) ShareShare
ReportReport
Posted on by 834

hi guys, i figured out how to grant access to a folder... but i am unable to remove it... (2nd picture)

Sifu_0-1606932377406.pngSifu_1-1606932436063.png

 

 

instead i get error "Action 'Stop_sharing_an_item_or_a_file' failed"

 

Sifu_0-1606932675265.png

 

Edit: it seems that my flow works well fine for files, just not folders!?!?

 

 

 

Categories:
  • Sifu Profile Picture
    834 on at

    _api/lists/getByTitle('Customer visit')/items(@{outputs('Get_folder_metadata_using_path_2')?['body/ItemId']})/Resetroleinheritance()

     

    this seems to be the only solution

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard