Photo by Najmul Hasan on Pexels.com

Introduction

It was a common thing to customize outlook contact card in Exchange Servers but this is not the same in Office 365 and can only be controlled by registry keys of end user machines.

Office 365 doesn’t provide a Template Editor same as Exchange Servers, hence we would have to play with registry keys. In my options, we should refrain to make changes to outlook contact card in Office 365 but again, every org is differnet. Let’s dive into the details :

Options

There are 2 way to achieve and each has pros and cons. Hence you can use the one, which suits you the best. Both options depend on below table to modify outlook contact card, hence keep note of these :

Note: Replace <#> with an integer between 1 and 16, based on the values listed in Table 2: Contact labels on the profile card.

Below table controls, What would be shown for the Labels in Contact Card, Suppose you have to show IPPhone field

LabelValueNote
Email/Email address1The label cannot be replaced. If you replace it via registry keys, an additional label will show on the card.
Work phone2The label cannot be replaced. If you replace it via registry keys, an additional label will show on the card.
Work phone 23
Work Fax4
Mobile/Call Mobile5The label cannot be replaced. If you replace it via registry keys, an additional label will show on the card.
Home phone6
Home phone 27
Other phone8
IM address9
Office Location11
Company12
Work Address13
Home Address14
Other Address15
Birthday16

Option 1 (preferred) : Make changes to Contact Cards using registry keys. There isn’t any way to modify the first screen (number 4) and related registry changes will only update middle section of contact cards. (number 5).

I added these registry keys and updated Pager value to 007 for Sourabh in AD, which enforced outlook to show label as ‘IP Phone’ and value as 007. Earlier this value wasn’t there.

[HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0\Common\ContactCard]
"TurnOnContactTabMAPIReplace8"=dword:3a21001f
"TurnOnContactTabLabelReplace8"="IP Phone"

Option 2 : Replace current contact card with ‘legacy outlook contact card’ and update ipphone value to a Pager LDAP attribute. Pager display name can’t be renamed to ‘IP Phone’ in legacy outlook contact card.

This would require registry changes to all users and would only work for outlook on windows.

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Contactcard]
"turnonlegacygaldialog"=dword:00000001

This will reduce the modern look of contact cards, which shows a merged view from different sources.

Name in OutlookLDAP AttributeFormat
BusinesstelephoneNumberSingle
Business 2otherTelephoneMulti
FaxfacsimileTelephoneNumberSingle
AssisanttelephoneAssistantSingle
HomehomePhoneSingle
Home 2otherHomePhoneMulti
MobilemobileSingle
PagerpagerSingle

https://support.microsoft.com/en-in/help/981022/the-contact-card-in-outlook-2010-does-not-change-when-you-try-to-custo

https://support.office.com/en-gb/article/customize-the-profile-card-in-win32-apps-using-registry-keys-449afd21-6e5e-4b1f-8051-6515630d7537

Till title3a17001f
  • This has changed the value from ‘IM’ to ‘Team’ and started displaying value of extensionattribute1

This has changed the value from ‘IM’ to ‘Team’ and started displaying value of extensionattribute1

To replace labels and values using registry keys, These detils are must :

https://support.office.com/en-gb/article/customize-the-profile-card-in-win32-apps-using-registry-keys-449afd21-6e5e-4b1f-8051-6515630d7537

Value # of the label you want to replace (See Table 2: Contact labels on the profile card). Note: Some labels cannot be replaced. If you indicate a label that cannot be replaced, a new label will display on the profile card. For details, see Table 2: Contact labels on the profile card.

ValueTypeNote
TurnOnContactTabLabelReplace#Value: “New Label”REG_SZThis Registry will replace the default label shown in Table 2.Example: If you want to change the label IM to Team, change the # to 9 and Value to Team.
TurnOnContactTabMAPIReplace#Value: The hexadecimal value as per Table 3REG_DWORDThis Registry will replace the Value of the corresponding Label (#) via MAPI.Example: If you want to use extensionAttribute1, use 802D001F (as shown in Table 3).
TurnonContactTabADReplace#Value: AD attribute as per Table 3REG_SZThis Registry will replace the Value of the corresponding label (#) via AD.Example: If you want to use ExtensionAttribute1, use ExtensionAttribute 1

MAPI value and/or AD attribute name of the field you want to show on the profile card. See Table 3: Active Directory attributes.

[HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0\Common\ContactCard]
"TurnOnContactTabMAPIReplace1"=dword:3003001f
"TurnOnContactTabMAPIReplace2"=dword:3004001f
"TurnOnContactTabMAPIReplace3"=dword:39fe001f
"TurnOnContactTabMAPIReplace4"=dword:39ff001f
"TurnOnContactTabMAPIReplace5"=dword:3a00001f
"TurnOnContactTabMAPIReplace6"=dword:3a06001f
"TurnOnContactTabMAPIReplace7"=dword:3a08001f
"TurnOnContactTabMAPIReplace8"=dword:3a09001f
"TurnOnContactTabMAPIReplace9"=dword:3a0a001f
"TurnOnContactTabMAPIReplace10"=dword:3a0f001f
"TurnOnContactTabMAPIReplace11"=dword:3a11001f
"TurnOnContactTabMAPIReplace12"=dword:3a16001f
"TurnOnContactTabMAPIReplace13"=dword:3a17001f

Reference Table

Name in OutlookLDAP AttributeFormat
DisplayNamedisplayNameSingle
BusinesstelephoneNumberSingle
Business 2otherTelephoneMulti
FaxfacsimileTelephoneNumberSingle
AssisanttelephoneAssistantSingle
HomehomePhoneSingle
Home 2otherHomePhoneMulti
MobilemobileSingle
PagerpagerSingle
NotesinfoSingle
PicturethumbnailPhotoSingle

Thank you for reading !