EntraCP icon indicating copy to clipboard operation
EntraCP copied to clipboard

Workphone is not mapped and cannot be mapped

Open Richter79 opened this issue 2 years ago • 7 comments

EntryCP seems to read MobilePhone correctly, but not the Workphone property, Also I'm not able to map it via /_admin/EntraCP/ClaimTypesConfig.aspx.

Environment: SP2019

Richter79 avatar Oct 26 '23 12:10 Richter79

Thank you for reporting this, I will repro and give you a feedback asap on this

Yvand avatar Oct 26 '23 16:10 Yvand

@Richter79 sorry for the delay, I checked and the property Workphone does not exist for users. See below the list of user properties: https://learn.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties

Yvand avatar Nov 08 '23 09:11 Yvand

@Yvand : Thanks for the feedback.

It should be mapped to 'businessPhones': The telephone numbers for the user. NOTE: Although this is a string collection, only one number can be set for this property.

Richter79 avatar Nov 08 '23 09:11 Richter79

Thank you, I will work on this soon, hopefully today, I'll keep you posted on the progress

Yvand avatar Nov 08 '23 09:11 Yvand

I did some tests, and the work required to support property BusinessPhones is significant, because it requires the $filter to be very specifically crafted to be able to use it:

  • using startsWith: businessPhones/any(p:startsWith(p, '%2B1'))
  • using eq: businessPhones/any(s:s eq '1234')

It can be done, but it requires work I cannot commit to do right now. I will put this request in the backlog and keep you posted on the progress

Yvand avatar Nov 08 '23 13:11 Yvand

Many thanks!

Richter79 avatar Nov 09 '23 13:11 Richter79