web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard