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 Apps / Saving Person column t...
Power Apps
Unanswered

Saving Person column to SharePoint from PowerApps using Power Automate

(0) ShareShare
ReportReport
Posted on by 178

I have a scenario where I need to use the HTTP to Sharepoint action in Power Automate to save my data from Power Apps.

The power automate flow seems to create a new item in the SharePoint for all columns except a Person column which I continue to get an error.

 

I'm passing the data from Power Apps using the following code:

 

 

Set(varPerson, 
 {
 Claims:"i:0#.f|membership|" & Lower(myemail@abc.com),
 DisplayName:Office365Users.UserProfileV2(myemail@abc.com).displayName,
 Email:myemail@abc.com,
 Picture:"",
 Department:"",
 JobTitle:""
 });

'API-POST'.Run(
 "Comments",
 "POST",
 0,
 JSON(
 {
 Audience:"External",
 Comment:"Testing",
 Item:"Comment",
 Person:varPerson 
 }))

 

 

 

When I run the Power Automate, this is the error I'm getting:

Spoiler (Highlight to read)
{"odata.error":{"code":"-1, Microsoft.SharePoint.Client.InvalidClientQueryException","message":{"lang":"en-US","value":"A 'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected."}}}
{"odata.error":{"code":"-1, Microsoft.SharePoint.Client.InvalidClientQueryException","message":{"lang":"en-US","value":"A 'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected."}}}
 

As you can see on the screenshot below, I'm sending the body from Power Apps to Power Automate through JSON.

Can anyone tell me how to send the person array correctly? I feel like I'm missing something. 

Thanks ahead

Categories:
I have the same question (0)

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard