SharePoint E-Mail enabled lists are not displayed in the Outlook Address List

This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Tech Community.

Problem

 

I recently worked on an issue where lists in SharePoint were enabled for incoming e-mail and created in Active Directory / Exchange using the “Directory Management Service.  These new lists should be created as e-mail enabled contacts with an external e-mail target address in Exchange. However, after setting an e-mail address on a SharePoint list, these contact would never show up in Outlook or OWA.

 

Enabling incoming e-mail on a list:

 

clipboard_image_0.png

The “Directory Management Service” will create contact with an external e-mail address in the destination OU.

 

clipboard_image_1.png

 

However, when looking at this contact in Exchange, you will see it’s missing e-mail addresses. Also, the “Email Address Policy Enabled” is not set.

 

clipboard_image_2.png

 

When looking at “All Contacts” in Outlook, this new contact will not be displayed.

 

clipboard_image_3.png

 

Attempting to update the “All Contacts” address list, will allow using “Update-AddressList” from the Exchange Management Console, will force the contact to be displayed.

 

clipboard_image_4.png

 

Now the new contact will be displayed.

 

clipboard_image_5.png

 

However, when selecting the contact, there will be an error stating, “The recipient couldn’t be added. There is no email address

clipboard_image_6.png

 

To work around this issue, you can update the existing contact with an e-mail address that matches your Internal Exchange users.

 

clipboard_image_7.png

 

 

However, when saving your changes and error stating, “The object must be upgraded to the current Exchange Version”.

 

clipboard_image_8.png

 

 

Now the contact has the email address policy enabled.

 

clipboard_image_9.png

 

After going through this process, the e-mail contact should be displayed in the address book and functional.

 

clipboard_image_10.png

 

Cause

This issue occurs because SharePoint is creating the e-mail enabled contact with an incompatible object version, as a result the e-mail address policy cannot be applied.

 

Resolution

E-mail enabled objects that are created by the SharePoint Directory Management Service is not setting the “ExchangeVersion”, so it defaults to “0.0 (6.5.6500.0)”. However, when creating an e-mail enabled contact from within Exchange Management Tool, the “ExchangeVersion” is set to “0.20 (15.0.0.0)”.

 

To resolve this issue, we can “touch” each effected object based on the “ExchangeVersion” that is created by the SharePoint Directory Management Service.

 

To accomplish this, use “Set-contact” from the Exchange Management Shell to loop through all contacts that reside in the SharePoint OU (Organizational Unit).

 

For example, I used “SharePoint Groups” in my case.

 

clipboard_image_11.png

 

Here is an example of the command based on my Organizational Unit.

 

Get-contact -organizationalunit “SharePoint Groups” | where {$_.Exchangeversion -like “0.0 *”} | Set-contact

 

This command will find all objects in the “SharePoint Groups” OU that have “0.0 *” set in the “Exchangeversion” property and update the object the current supported version.

After running this command all objects that were created by the SharePoint Directory Management Service and are not displayed in the address book will updated by the recipient update service and accessible by Outlook clients.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.