Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

PowerApps People picker - Current User

I have a people picker field in the SharePoint list and I am displaying that in PowerApps in New Form. Users should be able to enter user name and submit the form. It is working as expected.


Also, I would like this people picker to show current user name by default when new form shows up and if user doesn't change this in the people picker, it should just save current user name in the people field in SharePoint. I know that I can display current user by User().DisplayName but I am not sure where to put that. I have tried adding it in the Default property but that is not working. It is giving an error property expects record value but this produces a text value. 

Not applicable

Simpler (newer?) solution to adding default users: 



This doesn't seem to properly work for me.  It will update the field in powerapps with the users name, but when submitting, it doesn't actually pass the user to the person field in the sharepoint list.  Did it work for you?

Setting the Default and DefaultSelectedItems does not work for me and it does not get saved. I've tried changing the Update property of the data card as well but no luck. Has anything changed?

not with this new simple method.  Please refer to my older post, but here it is again.


on the App Onstart action set the following variables:

Set(gvCurrentUser, Office365Users.MyProfileV2());

Set(gvCurrentManager, Office365Users.ManagerV2(gvCurrentUser.userPrincipalName));


for the person field on the DefaultSelectedItems action




DisplayName: gvCurrentUser.displayName,

Claims: "i:0#.f|membership|" & gvCurrentUser.userPrincipalName,







where is the OnStart option?  This doesn't seen to exist anywhere in my form.


I have looked everywhere in the datacards, fields, etc and No OnStart

@hyperbob0811 ,


Very top of the tree...


Pick "App..."  then the OnStart control is there.








Thanks I found it after I had posted the question.

This helped me, Thanks Jeff.



Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (74,501)