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 / Using Office365Users.M...
Power Apps
Answered

Using Office365Users.MyProfileV2() or UserProfile()

(0) ShareShare
ReportReport
Posted on by 34

Hello,

 

I'm creating a Canvas application based on a Sharepoint list. In my Sharepoint list, I'm using the "Person" column to identify employees in my organization.

 

In my application, I only seem to have access the "Display Name" of the employees from the person card. I require to split name and surname and I was looking at MyProfileV2() to get it. Since MyProfile is for the current user, UserProfile() seemed like the way to go.

I can't to be able to write a function that would use my DisplayName from my original data and point to the same DisplayName in UserProfile(), so I can extract what I need.

 

Something like Office365Users.UserProfileV2("Clark").givenname is returning a big not found error : 

Am I approaching this properly ?

 

 

Categories:
I have the same question (0)
  • Verified answer
    Lonepaw Profile Picture
    34 on at

    It would seem that you need something really unique, like an email, to use the UserProfile... else too many results won't work in a label.

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
WarrenBelz Profile Picture

WarrenBelz 493 Most Valuable Professional

#2
11manish Profile Picture

11manish 479

#3
Haque Profile Picture

Haque 328

Last 30 days Overall leaderboard