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 / Creating a name field ...
Power Apps
Unanswered

Creating a name field that defaults to the logged in user

(0) ShareShare
ReportReport
Posted on by

Hi all,

Still a novice here.  I have an app that populates a Sharepoint list which includes a column for a user.  This column should default to the logged in user.  For the app I tried to use the Default field tried to use something like:

Office365Users.MyProfileV2(User().Email)

 

Wasn't sure if Email is correct or if it should be FullName.  Either way, I can't get it to default to the logged in user name (or ID?).  Any suggestions?

Categories:
I have the same question (0)
  • RobElliott Profile Picture
    10,529 Super User 2026 Season 2 on at

    @nitto619 make sure you add the Office 365 Users connector into your app then you can use Office365Users.MyProfile().Mail which will get the email of the current logged in user. To get their firstname and surname you would use Office365Users.MyProfile().GivenName&" "& Office365Users.MyProfile().Surname as in the image below

     

    screenshot190123.png

     

    Rob
    Los Gallardos
    Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)

  • nitto619 Profile Picture
    on at

    Hi Rob,

     

    I do have Office365Users connected to the app.  The issue sounds like it could be a type/format issue on how to get it to work with Sharepoint List "Person or Group" type. I do get this error:

    nitto619_0-1674162814372.png

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 400 Most Valuable Professional

#2
11manish Profile Picture

11manish 141 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard