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 / Collect User Email int...
Power Apps
Answered

Collect User Email into SharePoint 'Person or Group' record

(1) ShareShare
ReportReport
Posted on by 70

This seems like it should be easy, but I'm stumped. I'd like to take something like the User( ).Email function and collect that into a new record of a SharePoint list. That record is the 'Person or Group' data type and is expecting a 'record' data type. User( ).Email is text so that doesn't do.

 

Closest I got to it is this: 

Collect(SPList, {Email: User( )})

 

User( ) is a record, but clearly not what SharePoint is expecting because it fails to collect anything:

JimmyJams_0-1635446009039.png

 

Collect works for all my other fields so I know it's at least passing information along. Anyone deal with this?

 

I have been able to make a form and collect from a form field, but I'm trying to avoid making users unnecessarily have to fill out and select their email. 

Categories:
I have the same question (0)
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @JimmyJams 

     

    Instead of

     


    @JimmyJams wrote:

    Collect(SPList, {Email: User( )} )

     


     

    Try

     

     

    Collect(SPList, {Email: User().Email})

     

     See if it works.

  • JimmyJams Profile Picture
    70 on at

    Thanks for the reply @poweractivate! Unfortunately it does not.

     

    User( ).Email is a text datatype. An SP List item of 'Person or Group' seems to want a record data type:

    JimmyJams_0-1635448594298.png

     

     

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @JimmyJams 

    Change your formula to:

    With(User(),
    
     Collect(SPList, 
     {Email: 
     { 
     Claims:"i:0#.f|membership|" & Lower(Email), 
     Department:"", 
     DisplayName: FullName, 
     Email: Email, 
     JobTitle: "", 
     Picture: ""
     }
     }
     )
    )
    
    

    This will create a new record with the following assumptions:

    1) There are NO required columns in your list

    2) The Email column in your list is the real name of the column and it is a Person type column.

     

    I hope this is helpful for you.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard