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 / How to check list perm...
Power Automate
Unanswered

How to check list permissions using API

(0) ShareShare
ReportReport
Posted on by 96

I have been able to break inheritance on a list and also set individualized list item permission. However, what I have not been successful at is determining if the list item is using inherited permissions or if it is using unique permissions. My flow needs to do a check on the list item FIRST. I need the returned value (maybe ture/false) to pass to a condition that processes the rest of the flow based on the (yes/no true/false) value. I don't know how to implement this in flow.

 

I understand that I'm supposed to use an API to get the unique role assignments, but what action(s) is used and what is the procedure for retrieving the returned data? My current implementation initalizes a variable of type 'string' with the value of: _api/lists/getByTitle('listtitle')/items(id)/HasUniqueRoleAssignments

 

What step(s) am I missing? What action(s) and what trigger(s) should I be using and what would the settings be for each?

 

Thank you.

A.Dove

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

    Hi @adove,

     

    I am afraid that SharePoint connector does not have a suitable action to check list permissions in Flow currently.

    You could post this idea in the Flow Ideas forum, so it might be considered for future releases.

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

    If you want to use an API to get the unique role assignments, you might consider using Send an http request to SharePoint action.

    please check and see if the following link would help:

    https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest

    https://docs.microsoft.com/en-us/connectors/sharepointonline/#httprequest

     

    Best Regards,

    Barry

  • GabrielStJohn Profile Picture
    Microsoft Employee on at

    Hello, @adove!

    Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @v-bacao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

    Thank you for being an active member of the Flow Community!

    -Gabriel
    Flow Community Manager

  • adove Profile Picture
    96 on at

    In using the 'Send HTTP message to SharePoint' action, could you provide some insight into the values I'd place into the fields? I've experimented with this action, but haven't gotten it to work. I presume it's because of how I'm configuring the action control.

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard