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 / Match current user's e...
Power Apps
Unanswered

Match current user's email to a column in SharePoint list

(0) ShareShare
ReportReport
Posted on by

I have created a list with the following columns:

  • Title: email address (Single text line)
  • Name: preferred name (Single text line)

I would like to match it with my User().Email. Is this possible?

 

Would like to filter my data based on the current user signed in (User().Email) with the data I have on my list. I've used the 'Created by'.Email = User().Email before but this will only work if it was created by a certain user.  

Categories:
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Use the following in the gallery items

    Set(currentEmail, user().Email);
    Filter(<<datasourcename>>, Title=currentEmail);
  • biancadevera Profile Picture
    on at

    Hi @Pstork1 I had this error:

    biancadevera_0-1637716001369.png

     

  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Put the Set() in the onVisible property for the screen.  

  • biancadevera Profile Picture
    on at

    Tried to add the code in my Screen's OnVisible property: 

     

    Set(currentEmail, user().Email);

     

    No errors but results are not showing.

  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Did you check to see that the currentEmail variable was set after a run and what the value was?

  • biancadevera Profile Picture
    on at

    @Pstork1 how can I check that?

  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    After running the app in the Preview function of the editor check what is in the variables list.

    image.png

  • biancadevera Profile Picture
    on at

    Hi @Pstork1  just an update about this. I found a workaround for this issue. I created another column in my SP list and list down the email addresses. Was able to achieve my goal. Thanks for the help.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard