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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,993)