Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Updated user photos don't appear in the address book in Office 365


View products that this article applies to.

Symptoms

You update a contact's photo in the on-premises Active Directory Domain Services (AD DS). However, the photo isn’t updated in Exchange Online.

↑ Back to the top


Cause

This problem occurs if you upload a photo by using Outlook Web App (OWA) or by using the Set-UserPhoto cmdlet. These methods update the photo that's stored in the top level of the user's mailbox. This means that the photo that's stored in the AD DS ThumbnailPhoto attribute isn’t updated.

↑ Back to the top


Resolution

In Exchange Online, pictures are stored in two locations, as follows:
  • In the ThumbnailPhoto attribute in AD DS
  • In the top level of the user's mailbox
If there's a photo in the user's mailbox, it will be displayed in OWA, the Exchange address book, and the Get-UserPhoto cmdlet. The ThumbnailPhoto attribute in AD DS won’t be used. 

If you want the Active Directory attribute to be displayed instead of the photo that was uploaded directly to the mailbox, follow these steps:
  1. Remove the photos. To do this, run the following cmdlet: 
    Remove-UserPhoto <userUPN> -ClearMailboxPhotoRecord 
    Note This step removes all photos from the Exchange Online user object. This includes the one that's stored in the mailbox and in the AD DS attribute, ThumbnailPhoto.

    Note The -ClearMailboxPhotoRecord switch is required for an Active Directory photo to be used.
  2. In the on-premises AD DS, clear the ThumbnailPhoto attribute for the user.
  3. Start AD DS replication to Azure.
  4. Upload the photo to the on-premises AD DS ThumbnailPhoto attribute. This should trigger a new dirsync operation to send the photo to the Azure account, which will forwardsync the photo to the Exchange Online object. By starting AD DS replication to Azure, you may speed up this process.

↑ Back to the top


More Information

For more information, see Remove-UserPhoto.

↑ Back to the top


Keywords: vkbportal226, vkbportal250, uacrossref, pscommand, kb

↑ Back to the top

Article Info
Article ID : 3163369
Revision : 3
Created on : 2/25/2019
Published on : 2/25/2019
Exists online : False
Views : 822