cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BorisP
Advocate I
Advocate I

Office365Users TelephoneNumber is same as mobilePhone

Hi,

 

In Office365Users connection TelephoneNumber is same as mobilePhone. For both fields only mobile phone number is displayed. 

Any idea how to correct Office365Users connection mapping/database/bug...???

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

The Solution 😉

 

First(Office365Users.UserProfile((First(EmployeeProfile).UserPrincipalName)).BusinessPhones).Value

View solution in original post

10 REPLIES 10
v-monli-msft
Community Support
Community Support

Hi BorisP,

 

Outputs Properties only include the "TelephoneNumber" for Office365Users connection which is the mobile phone number in O365, see here:

 

https://powerapps.microsoft.com/en-us/tutorials/connection-office365-users/

 

1.PNG

 

So I think they are one thing and should return the same result.

 

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you Mona.

 

If I understand corret, out of the Office365Users connector I can get only one telephone number (in my case mobile number)?

Any advice how to get other info available in the user's AD profile (in my case office phone number)?

Hi Boris,

 

Yes, that's right. I've no idea how to get other info. Maybe you could post this idea in the PowerApps Ideas forum, so it might be considered for future releases.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Mona Li

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
stgiesbrecht
Kudo Commander
Kudo Commander

I am having the same issue, but there are two separate properties exposed when using the Office 365 Users connection (.mobilePhone and .TelephoneNumber) so I would guess that it would be coming from two separate sources.

 

Also, what are the options to retrieve additional properties that are not exposed to us through the connector.

 

Thanks

pezlin79
New Member

I too have the same problem and there are two properties so it seems very strange that only mobile phone is displayed no matter what you choose.

The Solution 😉

 

First(Office365Users.UserProfile((First(EmployeeProfile).UserPrincipalName)).BusinessPhones).Value

View solution in original post

thx, you saved my day!

Anonymous
Not applicable

Perfect!  Thanks


@MBC wrote:

The Solution 😉

 

First(Office365Users.UserProfile((First(EmployeeProfile).UserPrincipalName)).BusinessPhones).Value


 

I tried this but when I get to the EmployeeProfile portion...it doesn't resolve. It's like I can't choose Employee Profile from the list of commands at that point in the script. What am I missing here?!?

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,293)