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 / I'm building a Flow to...
Power Automate
Answered

I'm building a Flow to remove permissions

(0) ShareShare
ReportReport
Posted on by 3

I'm building a flow that resets all documents in a library back to its parents permissions but, I need to add a condition that will exclude a certain item. 

KPSP_0-1710512002934.png

I have done this, but it still seems to reset the parent permissions for the document. how can I fix the flow to ignore this document? 

 

Categories:
I have the same question (0)
  • Verified answer
    tom_riha Profile Picture
    10,187 Most Valuable Professional on at

    Hello @KPSP ,

    it's hard to tell what's going on from the screenshot, but if you want to skip a specific file I'd use the 'Filter array' action.

    - get all documents in the library with unique permissions (as explained e.g. here)

    - use 'Filter array' remove the document from the result

    - restore permissions on all the remaining documents in a loop (using the !output of the filtered array!)

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 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard