Showing results for 
Search instead for 
Did you mean: 
Advocate III
Advocate III

find unic permission of a file

Hi power team,

I'm trying to copy old files (more than 30 days after creation) from a production library to a "retired" library with a flow.

Everything looks fine but some files does have not inherited permissions.


My first approch is to list them to apply the same but I don't know how to list permissions of a file.

Can someone help me?


kind regards and thank you in advance for your answers

Dual Super User
Dual Super User

Hi @Kesh,


I found this nice thread in Q&A of Microsoft where AmosWu-MSFT suggested a bunch of nice REST API queries:


Below are two examples of these REST API queries in Power Automate.


1. Check if the file with ID 33 in the Documents Library has unique permissions





2. Retrieve the principals and their assigned permissions for the same file.




Advocate III
Advocate III

Hi @Expiscornovus

thank you very much I will try this today and tell you id it works.

kind regards and thank you again

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (4,236)