cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Granting & Removing permission for a file

Hi All

Could you advise ?

 

I have an approval flow where files are being (by the original requester) sent to the flow executor and approved down the line. The original requester can not open that file while its being approved, but when its declined they need to make changes to it so i have used "Grant Access to an item or a folder" feature ,on decline, to use original requester email to grant them edit access. When they made their changes the file is then ready to be sent for approval and at this stage i want to take their permission off, but i genuinely cant find a way to do that without removing everyone's access (apart from owners obv) ?

Hope this makes sense

 

Dom

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Granting & Removing permission for a file

Hi @Domin ,

 

There is no any expression in Microsoft flow could achieve the requirement.

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
Highlighted
Super User II
Super User II

Re: Granting & Removing permission for a file

Hi @Domin 

 

Wouldn't the "Stop sharing an item or a folder" help you with this? It's more or less the inverse action of the one you're using "Grant Acess to an item or a folder".

 

small-Screenshot 2019-12-16 at 10.53.28.png

 

Is this what you need?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Highlighted
Helper II
Helper II

Re: Granting & Removing permission for a file

I believe that removes all access to the file, only the owners can access it then, but the site has around 15 people who might need access to it. 

 

Highlighted
Super User II
Super User II

Re: Granting & Removing permission for a file

Hi @Domin 

 

Yes indeed, but that's the only way I see that you could block the access automatically in Power Automation. There's no way to remove just one like you're doing in the previous step.

 

Sorry for the bad news, but probably this could be a feature that the Microsoft team could add. 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Highlighted
Helper II
Helper II

Re: Granting & Removing permission for a file

Is there a way to use an expression instead to grant the access back to the whole 365 group after removing ?

 

 

Highlighted
Community Support
Community Support

Re: Granting & Removing permission for a file

Hi @Domin ,

 

There is no any expression in Microsoft flow could achieve the requirement.

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Super User II
Super User II

Re: Granting & Removing permission for a file

Hi @Domin 

 

Like @v-alzhan-msft  pointed out correctly, there isn't a way to achieve what you need.

 

I recommend posting it as an idea, so it gets addressed by Microsoft in future releases:

https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/FlowIdeas

 

Sorry, this isn't the news that you're hoping for, but, for now, this is what's possible.

 

Anything else, please let me know.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Highlighted
Helper II
Helper II

Re: Granting & Removing permission for a file

Okay thanks all ! 🙂

 

 

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,436)