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 Apps / Updating person or gro...
Power Apps
Answered

Updating person or group field through Sharepoint rest API doesn't work

(0) ShareShare
ReportReport
Posted on by 2

Hello,

 

I have a flow in Power Autotame, that calls Sharepoint to update an item. I am using Sharepoint API Rest ('Send an HTTP request to SharePoint' action), where I modify several fields. All of the fields are updated properly but the person / group field. I dont get any error, only a 204 code.

 

When checked in Sharepoint, all fields are correct except person field. 

 

URL 

_api/lists/getByTitle('ListName')/items(ItemId)/

 

Headers

accept: application/json;odata=verbose
content-type: application/json;odata=verbose
If-Match: *
X-HTTP-Method: MERGE

 

Body

 

 

{
 "__metadata": {
 "type": "SP.Data.ListNameListItem"
 },
 "fieldToUpdate": [
 {
 "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
 "Claims": "i:0#.f|membership|email@company.com",
 "DisplayName": "Name Surname",
 "Email": "email@compay.com",
 "Picture": ""
 }
 ]
}

 

 

 

 I receive a 204 code, but when I verify the item in Sharepoint the field is not updated.

Any suggestions? 

Regards

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

    Hi @DavidRojo ,

     

    I have made a simple test for your reference.
    1. Here is my list.

    vyujincuimsft_3-1665996657597.png

    2. Here is my flow.

     

    _api/web/SiteUsers/getByEmail('<Email>')}')?$select=Id
    body('Send_an_HTTP_request_to_SharePoint_-_get_userid')?['d']?['Id']

     

    vyujincuimsft_1-1665996443395.png

    vyujincuimsft_2-1665996466699.png

    Result Screenshot:

    vyujincuimsft_4-1665996736173.jpeg

    In addition, here is a link for your reference.

    https://pankajsurti.com/2020/10/12/how-to-update-people-field-using-send-an-http-request-to-sharepoint-in-power-automate/

     

     

    Best Regards,

    Charlie Choi

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 431

#2
WarrenBelz Profile Picture

WarrenBelz 360 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 280 Super User 2026 Season 1

Last 30 days Overall leaderboard