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 / View Only File withing...
Power Automate
Suggested Answer

View Only File withing View/Edit Folder

(0) ShareShare
ReportReport
Posted on by 27
I'm trying to use PA to create a public drop box folder with files within which are view only. ie people can add files to the folder, but then their permission is taken away and they can only view that file, but can continue to add documents.
I am creating a view/edit sharing link for the folder.
Then using HTTP request, breaking inheritance on the file. (I'm not sure if the 'stop sharing' Action is the same)
Then creating a view only sharing link for the file.
However, if i send the Folder link, the file is still view/edit. If it send the file link, it's view only. If that person then opens the folder link AFTER opening the file link, that file is successfully view only. But that is too many steps.
 
How can i allow people with the folder view/edit link to view only the files inside it?
I imagine i want to be able to 'shre everything in this folder even with unique permissions? but I cant.
 
I do have 'anyone with the link can view' permission to share. 
 
I have no idea how to get this to work.
 
Categories:
I have the same question (0)
  • adriennevh Profile Picture
    27 on at
     
    The central drop box is an option for sure, but because we're dealing with external vendors, hoping their nomanclature will be consistent is going to be challenging.  
    I'll look into the Per Flow license. Currently I have a service account creating both the folder link and the file link, and it's not working properly.
     
    Unfortunately, we do require the link as it's going to be shared with external vendors who we dont want to require to have accounts, and we dont know which vendor it will be shared with. These are translaltion tickets, and our team has multiple vendors we use to get the jobs done. 
     
    Right now, i'm thinking of checking out the document instead of changing the permissions. I will set the folder to View/Edit and check out the file. This will functionally do the same, preventing edits, but allowing download and new documents to be added.
  • Building with Why Profile Picture
    351 Super User 2025 Season 2 on at
    One option would be to use a per Flow license and have a service account with higher permissions create the folder.  Then you don't have to break down the folder permissions or worry about which version of the link they have.  
    Potentially, the users upload to specified folder, which triggers the flow and moves the folder to the correct desired location with the desired permissions, then deletes the original location.  You could even send an email with the link to the new folder (if desired).
  • Suggested answer
    Pstork1 Profile Picture
    68,860 Most Valuable Professional on at
    The problem is that the Stop Sharing and Create a Sharing Link doesn't actually change the item level security.  To do what you want you need to do everything using HTTP REST calls.
     
    1) Break Security Inheritance and don't replicate permissions.
    2) Set Item Level permissions for the person or Group to View Only permission level.
     
    This is the HTTP REST call for setting Read Only permissions
     
    You don't need the sharing link at all.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 190 Super User 2025 Season 2

Last 30 days Overall leaderboard