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 / Adding item level perm...
Power Automate
Answered

Adding item level permissions to a people picker value in a SharePoint Library

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

How would I give edit permissions to a newly created item for a user chosen within a people picker column, for that item?

I'm fairly comfortable with HTTP requests now with help from others on here, but now need to understand how to get the people picker value and apply that.

 

Regards,

 

T

Categories:
I have the same question (0)
  • Verified answer
    fchopo Profile Picture
    8,003 Moderator on at

    Hello @Anonymous 

    You can access to the people picker column email field, and use it to grant permissions. Have a look at this example:

    permission.png

     In the TimeSheet list there's a people picker column named Employee, so I can read its email when an item is created.

    Hope it helps!

    Ferran

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    If you accessing these from a different list then you need the following JSON schema to iterate the values.

     

    {
        "type""array",
        "items": {
            "type""object",
            "properties": {
                "@@odata.type": {
                    "type""string"
                },
                "Claims": {
                    "type""string"
                },
                "DisplayName": {
                    "type""string"
                },
                "Email": {
                    "type""string"
                },
                "Picture": {
                    "type""string"
                },
                "Department": {},
                "JobTitle": {}
            },
            "required": [
                "@@odata.type",
                "Claims",
                "DisplayName",
                "Email",
                "Picture",
                "Department",
                "JobTitle"
            ]
        }
    }
     
     
    image.png
     
    Thanks
     
  • sudharsan1985 Profile Picture
    1,325 on at

    Hi @Anonymous Please follow the steps below for multiple users in the people picker field.

    image.png

     

     

     

     

     

     

     

     

     

     

     

     

     

    Initialize the 'Users' variable to store all the email addresses.

    sudharsan1985_1-1600181889655.png

    Initialize another variable to store the ';' separated email addresses

    sudharsan1985_2-1600181973704.png

    Pass the above-declared variable to the below action

    image.png

     

     

     

     

     

     

     

     

     

     

     

    You can also use the 'Grant access' action inside the 'Apply to each' which will increase the transaction calls to 'SharePoint'. To reduce that, try to use the above steps.

     

    Hope it helps, please like it or mark it as a solution if it resolves your clarification or issue
    -Sudharsan K...

     

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard