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 / Best Practice for Appr...
Power Automate
Answered

Best Practice for Approvers Flow with Locking Permissions

(0) ShareShare
ReportReport
Posted on by 16

Looking for advice or best practice ideas for creating an approval flow that starts by granting access and ends by removing access to the group of selected approvers, and only for the file being approved.

 

Use case: A directory of controlled documents should never be edited by anyone outside the department that controls the documents.

 

However, different branches of the company should be able to approve new documents as needed.

 

People designated as approvers cannot be granted the approver permission level because this grants them edit rights to the entire document library.  Best case scenario, every time they open a file with autosave turned on its switched back to draft. Worse case, they actually edit it.

 

I believe that no one should have the approvers permission level. It defeats the whole concept of controlled documents.

 

My thought is that after the approval flow launches then the list of people in the flow designated as approvers would be given high enough permissions to be able to approve only that one document. The approval runs. Then those permissions for that one file should be revoked or removed.

 

How do you accomplish this? What features or aspects of MS Flow should I be searching for in search engines?

 

Thanks,

Categories:
I have the same question (0)
  • Darrell3831 Profile Picture
    16 on at

    If my approvers flow grants approvers permissions when it starts, to a list of people, how do I take that permission away after the flow finishes?

     

    Picture1.png

     

    Microsoft Learn Documentation seems to indicate that you can use the "Stop Sharing an item or a file", but that restricts everyone not just the list of people you were working with in the approval process.

     

    Darrell3831_0-1667313163828.png

    Manage list item and file permissions with Power Automate | Microsoft Learn

     

    How do I take away approver's permissions from the list of people that I gave it to back at the top of the workflow? Approvers can be one or more people.

     

    Thanks for any help you can offer.

  • Verified answer
    Darrell3831 Profile Picture
    16 on at

    For anyone else struggling with this, I found a solution that resets the inheritance back to where it was prior to granting approvers permissions.

     

    Picture2.png

    It's called ResetRoleInheritance().

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 469

#3
11manish Profile Picture

11manish 364

Last 30 days Overall leaderboard