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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard