Teams PSTN phone number, AD telePhoneNumber and WorkPhone in SharePoint association

Iron Contributor

Is there a way to display Teams PSTN phone number in SharePoint/Delve people directory? Currently, SharePoint displays workPhone which maps to telePhoneNumber/OfficePhone in on-prem AD.

 

Also, which number is displayed in Teams person contact card. Is it the PSTN one or the AAD phone attribute?

2 Replies

Hi,

 

Create a script that copies the Teams PSTN phone number to the Office phone field in Active directory or do it manual.

 

 

The number that you see in the contact card in Teams is the Office phone number from AAD.

 

@Linus Cansby hello! Any sample code to get this script up and running?