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

9 REPLIES 9
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (67,973)