cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Domin
Level: Powered On

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
Community Support Team
Community Support Team

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
Super User
Super User

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
Domin
Level: Powered On

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. 

 

Super User
Super User

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

Domin
Level: Powered On

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 ?

 

 

Community Support Team
Community Support Team

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

Super User
Super User

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

Domin
Level: Powered On

Re: Granting & Removing permission for a file

Okay thanks all ! 🙂

 

 

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (6,234)