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 / Unable to fill person ...
Power Automate
Answered

Unable to fill person column with user Claims

(2) ShareShare
ReportReport
Posted on by 4
Hi,
 
I am creating a flow where I eventually have to create an item in a Sharepoint list. I have two columns to populate, one is a String and the other a Person column (that I renamed Compte). 
 
When the list is hardcoded in Create item (chosen manually), I can pass Display Name (dynamic field from Get user profil (v2)) to the first column and then the UPN (from Get user profil also) to the person column. Flow works and item is created with the person column populated.
 
The problem is when I try to give Create item a dynamic field for the list. When I do that, I have to give the json format of the items to modify : 
 
{
"Title": "outputs('Get _user_profile_(V2)')?['body/displayName']"
"Compte": "i:0#.f|membership|bob@myorg.com"
}
 
 
I tried to
  • concatenate i:0#.f|membership| with a dynamic value for the email
  • hardcode i:0#.f|membership|bob@myorg.com
  • put Claims from Resolve person
  • hardcode the email alone
  • email alone but dynamic
  • think I even tried putting the ID
I always get a bad request :
"status": 400,
"message": "User value is invalid.\r\nclientRequestId: 6971a48d-dcd3-493b-9c55-f0e8d433e8f2\r\nserviceRequestId: a72052a1-0026-6000-4621-69316bffbe33"
 
I canno't wrap my head around why it does not work. AI made me try an Http request to sharepoint to patch the data, but it seems not authorized in my organization. 
I get the same problem if I want to update the item created.
 
Anybody knows why and can help ?
 
Thank you so very much !
Categories:
I have the same question (0)
  • Verified answer
    Ellis Karim Profile Picture
    11,693 Super User 2025 Season 2 on at
    Hi AL-20091435-0,
     
    Please try the following format for the Compte claims:
     
     
     
     

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard