Skip to main content

Notifications

Power Automate - Building Flows
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? 

 

  • Verified answer
    tom_riha Profile Picture
    tom_riha 9,930 on at
    Re: I'm building a Flow to remove permissions

    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard