Remove extension properties from sync

Tomass Pētersons 336 Reputation points
2020-01-20T13:00:01.143+00:00

Hi,

For testing I added some directory extensions to sync with Azure AD:
alt text

After that I started to receive error messages:

Unable to update this object in Azure Active Directory, because the attribute  
[extension_2241f0b77381486bb25ee28906a52afd_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  

I removed those directory extensions from sync. But I still receive error messages. Powershell returns this:
alt text

How I can remove those extension properties from sync?

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

4 answers

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,306 Reputation points
    2020-01-21T03:45:29.957+00:00

    @Tomass Pētersons Did you run full sync after you removed these extension attributes? Removing extension attributes from sync scope requires a full sync.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept as answer" wherever the information provided helps you to help others in the community.

    1 person found this answer helpful.
    0 comments No comments

  2. bwd 1 Reputation point
    2020-01-28T16:05:36.773+00:00

    Same thing is happening to me, and I performed a full sync after removing the attribute extension. I don't know why it is trying to sync an attribute that does not exist.


  3. Karan Sharma 1 Reputation point
    2021-07-13T00:40:09.23+00:00

    Agree with ShadabBasha-7764's comment. I am experiencing the same where I cant remove the attribute even though I have deselected it from AAD sync.

    We need a way of removing the extension attribute. Can anyone from Microsoft suggest a way to resolve this?


  4. Radina Mileva (Tek Experts) 0 Reputation points
    2023-06-29T11:08:21.04+00:00

    Refresh schema, run full sync

    0 comments No comments