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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / check document library...
Power Automate
Answered

check document library has broken inheritance or not

(0) ShareShare
ReportReport
Posted on by 180

 

How to check document library has broken inheritance or not, if not broken then break inheritance using power automate.

 

 

Thanks,

Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @Shafdev 

    You can refer to my test flow:

    vyueyunmsft_0-1715232956899.png

    _api/web/lists/getbytitle('Your Library Name')?$select=HasUniqueRoleAssignments

    outputs('Send_an_HTTP_request_to_SharePoint')?['body']?['d']?['HasUniqueRoleAssignments']

    true

     

    vyueyunmsft_1-1715233022020.png

    _api/Web/lists/getByTitle('Your Library Name')/BreakRoleInheritance(copyRoleAssignments=false,clearSubscopes=true)

     

     

    {
    "Accept": " application/json;odata=verbose",
    "Content-type": " application/json;odata=verbose",
    "IF-MATCH": "*",
    "X-RequestDigest": "$(\"#_REQUESTDIGEST\").val()"
    }

     

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 124 Super User 2026 Season 1

#2
Ellis Karim Profile Picture

Ellis Karim 52 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 50

Last 30 days Overall leaderboard