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.
Solved! Go to Solution.
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.
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.
@RandyHayes thanks much for help.
I used this function and is working:
First(Office365Users.UserProfileV2(ThisItem.Mail).businessPhones).Value
User | Count |
---|---|
185 | |
122 | |
91 | |
47 | |
42 |
User | Count |
---|---|
270 | |
158 | |
130 | |
84 | |
78 |