User Account Attributes in AD: Part 2 Outlook LDAP Attributes (Phone/Notes Tab)

11
18719

This article is the second in a series that offers a reference point between AD Attributes and their associated values displayed in Outlook. In this post, we explore the Phone/Notes Tab within Outlook and discuss the associated Outlook LDAP Attributes. On a semi-related note, we have included a comparison between a fairly typical VB and Powershell scripting example that demonstrates how to enumerate mandatory and optional attributes within the user class.

Outlook Attributes
Outlook Address Book General Tab – Ldap Attributes Mapping (Part 1)

ADUC Attributes
Active Directory Users and Computers – General Tab (Part 3)
Active Directory Users and Computers – Address Tab (Part 4)
Active Directory Users and Computers – Account Tab (Part 5)

Outlook LDAP Attributes: Mappings – “Phone/Notes” Fields

Here’s a mapping for Outlook LDAP Attributes within the Phone/Notes Tab:

[Move to General Tab]

outlook-phone-notes-tab-attributes

Name in Outlook LDAP Attribute Format Attribute-ID
DisplayName displayName Single 1.2.840.113556.1.2.13
Business telephoneNumber Single 2.5.4.20
Business 2 otherTelephone Multi 1.2.840.113556.1.2.18
Fax facsimileTelephoneNumber Single 2.5.4.23
Assistant telephoneAssistant Single 1.2.840.113556.1.2.79
Home homePhone Single 0.9.2342.19200300.100.1.20
Home 2 otherHomePhone Multi 1.2.840.113556.1.2.277
Mobile mobile Single 0.9.2342.19200300.100.1.41
Pager pager Single 0.9.2342.19200300.100.1.42
Notes info Single 1.2.840.113556.1.2.81
Picture thumbnailPhoto Single 2.16.840.1.113730.3.1.35

How many phone numbers can be listed against each phone type attribute?

The primary phone number fields are only able to store a single value, whilst the otherXXXXX attributes are able to store multiple values. That is, a user may have multiple “otherTelephone” numbers stored as an array but only one primary “telephoneNumber”. In addition to the fields listed above, there are a number of less visible fields, such as otherMobile and so on.

I thought telephoneNumber was already mapped out in the General Tab?

The telephoneNumber attribute is mapped in two places: The Phone number field under the general tab, and under the Phone/Notes tab it is mapped to the Business field within the “Phone numbers” section.

I thought assistant was already mapped in the General Tab?

You’d think so wouldn’t you? No – this is not the case. I guess it may seem intuitive for some, but the assistant field under the Phone/Notes field actually maps to a phone number – the telephoneAssistant attribute. This would be where the Assistant’s phone number would be stored (seems logical, I guess).

How do I retrieve a complete list of all User Attributes?

If you’d like to establish exactly which attributes are exposed through the user class,

$Schm = [DirectoryServices.ActiveDirectory.ActiveDirectorySchema]::GetCurrentSchema();
($Schm.FindClass("user")).MandatoryProperties|select name,syntax
($Schm.FindClass("user")).OptionalProperties|select name,syntax

Stay tuned for Part three – I promise, we’ll stop talking about Outlook LDAP attributes and properties – more about User Attributes in general.

11 COMMENTS

  1. Great !! Thanks a lot for this article !
    Very helpful 🙂

    Just a comment about “otherHomePhone” or “otherTelephone” which dont work. No data appear in outlook when i fill them, may be because they are in “Multi” format. Any ideas are welcome to issue. Others work correctly.

  2. Bonjour Phil!

    Unfortunately, some of the “Other” phone fields do not appear within Outlook (eg: otherMobile). Interestingly, some smart phones (ie: Blackberry devices) sync across these “Other” phone field values and they do display them natively within the phone’s client.

    “Business 2” is definitely populated by “otherTelephone” attribute and it will show multiple entries with a drop down. I have just tested this again to confirm. Depending on how you have updated the value, it can take some time for the new value to appear (many Exchange environments rebuild the OAB overnight). Depending on individual client configuration, it may take some time for the updated value to display – worst case a couple of days. However; you have indicated that other fields are updating fine, so perhaps this is not the problem.

    Are you sure your OAB or GAL is up to date? What client/server are you using? I have heard that the otherTelephone number attribute does not appear within the OWA client. There was also an issue with Exchange 2010 prior to SP1 with this attribute.

    • Thanks for answer. I just read it 🙂

      I got always this problem. otherTelephone and otherHomePhone never sync.

      I use Apache Directory Studio to test and populate LDAP.
      I try with Outlook 2007, 2010 and 2013 fully updated. Same problem.
      Today, i tried with Active Directory LDS instead of OpenLDAP. Same problem.

      Is there a specific syntax for multivalue string ? like {“+11 111 111″,”+11 222 222”} in Apache Directory Studio. What wysiwyg software are you using to populate your LDAP ?

      Thanks for help.

      • What type of mail server are you using (where is the outlook client connecting to at the back end, presumably not an Exchange Server)?
        (I normally use ADSI Edit or just write scripts to do what I need)

  3. Hi,
    Good article. I want my users change their own account attributes, loginshell, unixHomeDirectory. How can I provide this.

  4. I’m looking for a solution where I can create a distribution list in AD LDS which I can use in Outlook. I’ve created a group which I can see in Outlook. In AD LDS I’ve added a member in that group. But when I try to mail to the group it’s not working and the member doesn’t receives his mail. In outlook I also can’t see the member of the group when I look into the group property. Please help me find a solution

    Thanks

    Len

  5. Great post. I just wanted to point out that the easiest way to get a list of all user attributes is running the following command from a Domain Controller command prompt::

    CSVDE -f allusers.csv -r objectCategory=person

    This will export all users and their attributes to a csv file that can easily be manipulated in Excel.

  6. Hello,

    I’ve been doing this exact same task, before I stumbled across your article.

    I have amended my Details Template, User, English (US), specifically including:
    msExchAssistantName
    telephoneAssistant

    Those two worked perfectly.

    However; I am also trying to add:
    otherMobile
    ipPhone (aka extension number)

    The otherMobile and ipPhone fields are simply not available within the Details Template Editor. I found an old blog mentioning the “mAPIID” schema attribute needs to be set on the ‘phone-ip-primary’ (thats the defined attribute within the ldap schema, where the attribute ldapdisplayname=ipPhone). otherMobile has the identical missing mAPIID attribute. So I manually populated them with 50001 and 50002 using the LDP tool (schema upgrade value required before the change would take).
    Unfortunately that didn’t work…
    I repeated with a 16-bit integer; you know, just in case.. phone-ip-primary:mAPIID=30001, phone-mobile-other:mAPIID=30002… Nah that still didn’t work after rebuilding the GAL…

    Am baffled..

    Without shuffling data within AD between attributes; how can I use the correct in-built LDAP attributes to show this data in the GAL?

LEAVE A REPLY

Please enter your comment!
Please enter your name here