cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

BusinessPhones value

Hi People,

 

Can you please help me to find a way to pull the business phones value is the extension in my company.

 

I have tried this but it's show my extension instead of user.

 

Please help if you have any ideas, I am new to power apps.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

@AnDarK 

You will need to use the UserProfileV2 function to get this information.

 

In your label text property in the Gallery:

First(Office365Users.UserProfileV2(ThisItem.UserEmail).BusinessPhones).Value

Replace ThisItem.UserEmail with whatever you have in your Gallery that has the User Email in it.

 

I hope this is helpful for you. 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

2 REPLIES 2
Super User III
Super User III

@AnDarK 

You will need to use the UserProfileV2 function to get this information.

 

In your label text property in the Gallery:

First(Office365Users.UserProfileV2(ThisItem.UserEmail).BusinessPhones).Value

Replace ThisItem.UserEmail with whatever you have in your Gallery that has the User Email in it.

 

I hope this is helpful for you. 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

@RandyHayes  thanks much for help.

 

I used this function and is working:
First(Office365Users.UserProfileV2(ThisItem.Mail).businessPhones).Value

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (49,668)