Notifications
Announcements
Hi all.I have a gallery that I need to only show the items assigned to the user currently logged into the app. The issue is is that the quite a lot of our user accounts (for reasons) have email aliases that are mismatched to their UPN.I would like to take the claims field from a people picker item and split the UPN attribute from it, but I do not know the syntax 😞Could someone help with this please? If additional information is required, please ask away and I would be more than happy to answer.Guessing it is something like: Split(Second(ThisItem.'Column name', "|")) but I couldn't work it out from the documentation that I could find, and I wasn't too sure how the Power Automate version of it translated to PowerApps (Solved: UPN from people picker - Power Platform Community (microsoft.com))
Why don't you try the Office365Users connection?
Connect to Office 365 Users connection from Power Apps - Power Apps | Microsoft Learn
It didn't even cross my mind to try that, thank you 🙂 What I am trying to achieve with this value is create a filter on the Gallery so the items shown are only those where the current user UPN is equal to the UPN of a column called 'Manager assigned to'. Are you able to help with this please?Current formula on the Gallery at the moment:Items > Filter('SharePoint List DataSource', Lower(myEmail) = Lower('Manager Assigned To'.Email));Where the variable myEmail = Set(myEmail, Office365Users.UserProfile(User().Email).Mail);If you need additional info, please let me know!
Yes, something like that.
Isn't what you have working? Is the Variable myEmail set to the correct/expected value?
Ahh sorry it now works properly - caching issues with my browser. Using an Incog tab in Chrome has now fixed the issue. Thank you for your 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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268