Azure Sync Issue With Thumbnails

Mark Zavorski 1 Reputation point
2021-06-07T19:47:19.953+00:00

Out of no where about a week ago, we started having sync errors with most if not all of my user objects. The error on each of them is that the thumbnail is too big. But we haven't touched anything. We've made no changes. Anyone know any causes to look at?

"Unable to update this object in Azure Active Directory, because the attribute [extension_8c8da6d3b024455b8c907efe87d588f1_thumbnailPhoto], in the local Directory exceeds the maximum allowed length. If you want to update, reduce the length in the local directory services, and then try again."

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,812 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Siva-kumar-selvaraj 15,636 Reputation points
    2021-06-10T12:36:40.203+00:00

    Hello @Mark Zavorski ,

    Thanks for reaching out.

    Usually, this happens when someone configured an thumbnailPhoto attribute to flow by creating new extension from "Directory extensions" wizard from Azure AD connect as shown below, you can re-run the wizard by going to "customize synchronization options" to confirm if thumbnailPhoto attribute present there? if so then try removing them.

    Moreover, just removing them from wizard doesn't clear pending export error from Azure AD connect local database, so I would recommend you to create custom sync rule which clear pending error from local database, then you can delete this custom sync rule once all pending errors cleanup.

    104146-image.png

    Resolution:

    1) Re-run the wizard by going to "customize synchronization options" and remove thumbnailPhoto attribute
    2) Then, go to Sync rules editor and configure the following outbound rule exactly as in the pictures below:

    104130-image.png
    104267-image.png
    104149-image.png

    3) Run an initial sync through powershell Start-ADSyncSyncCycle -PolicyType Initial

    Once all export errors cleaned up then delete above custom rule which is no longer required.

    Sharing here similar post for your reference. Hope this helps.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

  2. McFarlane, Craig 0 Reputation points
    2023-10-16T12:40:04.0466667+00:00

    Hello. This post has helped sort out the Thumbnail on user accounts. Can someone let me know the steps for Groups please.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.