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

Notifications

Announcements

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,185 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard