web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Guidance on building a Read Only library for a controlled documents library

(0) ShareShare
ReportReport
Posted on by 1
We're currently trying to build a flow that will copy documents from a 'source' controlled documents library, where only a select few users can have edit rights assigned, to a public library where everyone has Read/View permissions. 
 
We have a few issues getting the setup right and wondered if you have any advice out there please. 
 
1. We considered having just one library and using Grant/Stop sharing flow to dynamically change permissions.  It works well at granting permissions based on a Reviewers people picker field but when permissons are removed it removes a Read Only group (all staff AD group) so then no one but the library owners can see documents.  
Is there a way to remove permissions but then add an AD Group in for Read/View only? 
 
2. Doucment IDs.  The copy function works really well and we can move documents to a public library where everyone has Read/View but the copy flow always creates a new document id for the same file. 
I understand this is how SP is meant to work in terms of document ids but looking for any advice on how to preserve a link the same document considering the title might change? 
 
Many thanks 
I have the same question (0)
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on at
    Guidance on building a Read Only library for a controlled documents library
    I built a similar system for a customer.
    What I do is that the "Published" library has broken permissions from the site and has Read/View access configured for all users.
    Users have edit access only on the "Working" library (the source in your case).
    The documents get moved from the "Working" to "Published" using a flow.
    I have an HTTP action that resets permissions as shown below:
     
    The are other actions you could also try
     

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 555 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 388 Moderator

#3
chiaraalina Profile Picture

chiaraalina 264

Last 30 days Overall leaderboard