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 / Filter Gallery by Curr...
Power Apps
Answered

Filter Gallery by Current User where Email Matches People Field

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

How are we able to delegate by user email when the email address we use to login to O365 is not the same as the primary email address.

I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Have you solved your problem?

    Do you want to get the user email address?

    Could you please share a bit more about the scenario?

     

    Actually, the information returned by User() function is for the current PowerApps user. It will match the "Account" information that is displayed in the PowerApps players and studio, which can be found outside of any authored apps. This may not match the current user's information in Office 365 or other services including SharePoint user profiles. 

     

    As an workaround, I think you should use the Office365Users() to search for this FullName and get user's email address.

    First(Office365Users.SearchUser({searchTerm:User().FullName})).Mail

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, the problem was solved using Office365Users.MyProfile().Mail in [SharePoint column name].Email

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 355 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard