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 / Accessing record withi...
Power Apps
Answered

Accessing record within a record (Context Variable, Office365Users)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have this variable UserProfile which is created like that:

UpdateContext({UserProfile:Office365Users.MyProfile()})

Everything works fine in the Variables (experimental) I can check that it is correctly assign with good values.

 1.png

The column BusinessPhones is a record so I click on it and it has Value which is the phone number

 2.png

In the PowerApps if I try to access this value it gives me errors

3.png

I tried

UserProfile.BusinessPhones

And

UserProfile.BusinessPhones.Value

None work. Do you know how to access this value?

 

NOTE: I can easily access otehr variables of the record (UserProfile.DisplayName, UserProfile.Mail, etc.)

Categories:
  • Verified answer
    CarlosFigueira Profile Picture
    Microsoft Employee on at

    The value of the BusinessPhones property of the UserProfile is a list of phones, not a single number. You can use the First function to take the first element and show that phone number:

    "Business phone: " & First(UserProfile.BusinessPhones).Value
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

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
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard