Azure AD connect Delta Synchronization Error

Chris Tsang 21 Reputation points
2022-12-15T14:43:18.277+00:00

Hi,

Our Active Directory Synchronization has started fail on the Delta Synchronization steps. The Status shows stopped-server for the 2 delta sync steps. The Export and Delta import steps show success, but our AD domains and AAD are not syncing correctly. The first error event showing "Azure AD Connect Upgrader is only supported on Windows Server 2016 or higher", the Azure AD connect we are installation on a Windows 2012R2 server but we had not upgrade the Azure AD Connect manually and it running ok without problems since Year2019.

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

LOG REGISTERED ON EVENTVIEWER

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

Log Name: Application

Source: MsiInstaller

Date: 12/14/2022 6:12:18 AM

Event ID: 10005

Task Category: None

Level: Error

Keywords: Classic

User: SYSTEM

Computer: CTICMLFLEX01.citictrust.local

Description:

Product: Microsoft Azure AD Connect Upgrader -- Azure AD Connect Upgrader is only supported on Windows Server 2016 or higher.

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

<System>

<Provider Name="MsiInstaller" />  

<EventID Qualifiers="0">10005</EventID>  

<Level>2</Level>  

<Task>0</Task>  

<Keywords>0x80000000000000</Keywords>  

<TimeCreated SystemTime="2022-12-13T22:12:18.000000000Z" />  

<EventRecordID>7090805</EventRecordID>  

<Channel>Application</Channel>  

<Computer>CTICMLFLEX01.citictrust.local</Computer>  

<Security UserID="S-1-5-18" />  

</System>

<EventData>

<Data>Product: Microsoft Azure AD Connect Upgrader -- Azure AD Connect Upgrader is only supported on Windows Server 2016 or higher.</Data>  

<Data>(NULL)</Data>  

<Data>(NULL)</Data>  

<Data>(NULL)</Data>  

<Data>(NULL)</Data>  

<Data>(NULL)</Data>  

<Data>  

</Data>  

<Binary>7B36363342463045392D333633362D343238312D424436422D4636443434323041363734357D</Binary>  

</EventData>

</Event>

Log Name: Application

Source: ADSync

Date: 12/14/2022 6:18:34 AM

Event ID: 6301

Task Category: Server

Level: Error

Keywords: Classic

User: N/A

Computer: CTICMLFLEX01.citictrust.local

Description:

The server encountered an unexpected error in the synchronization engine:

"BAIL: MMS(1852): ..\ManagedSyncRulesEngine.cpp(1315): 0x80231368 (The operation failed because the container is excluded from the configured list of partitions and OUs)

BAIL: MMS(1852): ..\synccoreimp.cpp(1205): 0x80231368 (The operation failed because the container is excluded from the configured list of partitions and OUs)

BAIL: MMS(1852): ..\synccoreimp.cpp(934): 0x80231368 (The operation failed because the container is excluded from the configured list of partitions and OUs)

Azure AD Sync 1.6.16.0"

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

<System>

<Provider Name="ADSync" />  

<EventID Qualifiers="49152">6301</EventID>  

<Level>2</Level>  

<Task>3</Task>  

<Keywords>0x80000000000000</Keywords>  

<TimeCreated SystemTime="2022-12-13T22:18:34.000000000Z" />  

<EventRecordID>7090861</EventRecordID>  

<Channel>Application</Channel>  

<Computer>CTICMLFLEX01.citictrust.local</Computer>  

<Security />  

</System>

<EventData>

<Data>BAIL: MMS(1852): ..\ManagedSyncRulesEngine.cpp(1315): 0x80231368 (The operation failed because the container is excluded from the configured list of partitions and OUs)  

BAIL: MMS(1852): ..\synccoreimp.cpp(1205): 0x80231368 (The operation failed because the container is excluded from the configured list of partitions and OUs)

BAIL: MMS(1852): ..\synccoreimp.cpp(934): 0x80231368 (The operation failed because the container is excluded from the configured list of partitions and OUs)

Azure AD Sync 1.6.16.0</Data>

</EventData>

</Event>

Log Name: Application

Source: ADSync

Date: 12/14/2022 6:18:34 AM

Event ID: 6301

Task Category: Server

Level: Error

Keywords: Classic

User: N/A

Computer: CTICMLFLEX01.citictrust.local

Description:

The server encountered an unexpected error in the synchronization engine:

"ERR_: MMS(1852): ..\syncprocess.cpp(1667): Critical or unexpected error 0x80231368

Azure AD Sync 1.6.16.0"

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

<System>

<Provider Name="ADSync" />  

<EventID Qualifiers="49152">6301</EventID>  

<Level>2</Level>  

<Task>3</Task>  

<Keywords>0x80000000000000</Keywords>  

<TimeCreated SystemTime="2022-12-13T22:18:34.000000000Z" />  

<EventRecordID>7090862</EventRecordID>  

<Channel>Application</Channel>  

<Computer>CTICMLFLEX01.citictrust.local</Computer>  

<Security />  

</System>

<EventData>

<Data>ERR_: MMS(1852): ..\syncprocess.cpp(1667): Critical or unexpected error 0x80231368  

Azure AD Sync 1.6.16.0</Data>

</EventData>

</Event>

Log Name: Application

Source: ADSync

Date: 12/14/2022 6:18:34 AM

Event ID: 6301

Task Category: Server

Level: Error

Keywords: Classic

User: N/A

Computer: CTICMLFLEX01.citictrust.local

Description:

The server encountered an unexpected error in the synchronization engine:

"BAIL: MMS(1852): ..\syncapply.cpp(467): 0x80231368 (The operation failed because the container is excluded from the configured list of partitions and OUs)

BAIL: MMS(1852): ..\syncapply.cpp(618): 0x80231368 (The operation failed because the container is excluded from the configured list of partitions and OUs)

ERR_: MMS(1852): ..\syncapply.cpp(632): Apply rules terminated unexpectedly with 0x80231368

Azure AD Sync 1.6.16.0"

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

<System>

<Provider Name="ADSync" />  

<EventID Qualifiers="49152">6301</EventID>  

<Level>2</Level>  

<Task>3</Task>  

<Keywords>0x80000000000000</Keywords>  

<TimeCreated SystemTime="2022-12-13T22:18:34.000000000Z" />  

<EventRecordID>7090863</EventRecordID>  

<Channel>Application</Channel>  

<Computer>CTICMLFLEX01.citictrust.local</Computer>  

<Security />  

</System>

<EventData>

<Data>BAIL: MMS(1852): ..\syncapply.cpp(467): 0x80231368 (The operation failed because the container is excluded from the configured list of partitions and OUs)  

BAIL: MMS(1852): ..\syncapply.cpp(618): 0x80231368 (The operation failed because the container is excluded from the configured list of partitions and OUs)

ERR_: MMS(1852): ..\syncapply.cpp(632): Apply rules terminated unexpectedly with 0x80231368

Azure AD Sync 1.6.16.0</Data>

</EventData>

</Event>

Log Name: Application

Source: ADSync

Date: 12/14/2022 6:18:34 AM

Event ID: 6401

Task Category: Server

Level: Error

Keywords: Classic

User: N/A

Computer: CTICMLFLEX01.citictrust.local

Description:

The management agent controller encountered an unexpected error.

"BAIL: MMS(1852): ..\crcntrl.cpp(448): 0x80230801 (The management agent run was terminated as there were unspecified server errors on import.)

BAIL: MMS(1852): ..\crcntrl.cpp(301): 0x80230801 (The management agent run was terminated as there were unspecified server errors on import.)

Azure AD Sync 1.6.16.0"

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

<System>

<Provider Name="ADSync" />  

<EventID Qualifiers="49152">6401</EventID>  

<Level>2</Level>  

<Task>3</Task>  

<Keywords>0x80000000000000</Keywords>  

<TimeCreated SystemTime="2022-12-13T22:18:34.000000000Z" />  

<EventRecordID>7090864</EventRecordID>  

<Channel>Application</Channel>  

<Computer>CTICMLFLEX01.citictrust.local</Computer>  

<Security />  

</System>

<EventData>

<Data>BAIL: MMS(1852): ..\crcntrl.cpp(448): 0x80230801 (The management agent run was terminated as there were unspecified server errors on import.)  

BAIL: MMS(1852): ..\crcntrl.cpp(301): 0x80230801 (The management agent run was terminated as there were unspecified server errors on import.)

Azure AD Sync 1.6.16.0</Data>

</EventData>

</Event>

Log Name: Application

Source: ADSync

Date: 12/14/2022 6:18:34 AM

Event ID: 6401

Task Category: Server

Level: Error

Keywords: Classic

User: N/A

Computer: CTICMLFLEX01.citictrust.local

Description:

The management agent controller encountered an unexpected error.

"ERR_: MMS(1852): ..\memutils.cpp(7448): Unspecified server import error reported 0x80230801

Azure AD Sync 1.6.16.0"

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

<System>

<Provider Name="ADSync" />  

<EventID Qualifiers="49152">6401</EventID>  

<Level>2</Level>  

<Task>3</Task>  

<Keywords>0x80000000000000</Keywords>  

<TimeCreated SystemTime="2022-12-13T22:18:34.000000000Z" />  

<EventRecordID>7090865</EventRecordID>  

<Channel>Application</Channel>  

<Computer>CTICMLFLEX01.citictrust.local</Computer>  

<Security />  

</System>

<EventData>

<Data>ERR_: MMS(1852): ..\memutils.cpp(7448): Unspecified server import error reported 0x80230801  

Azure AD Sync 1.6.16.0</Data>

</EventData>

</Event>

Log Name: Application

Source: ADSync

Date: 12/14/2022 6:18:34 AM

Event ID: 6056

Task Category: Management Agent Run Profile

Level: Error

Keywords: Classic

User: N/A

Computer: CTICMLFLEX01.citictrust.local

Description:

The management agent "citictrust.local" failed on run profile "Delta Synchronization" because the server encountered errors.

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

<System>

<Provider Name="ADSync" />  

<EventID Qualifiers="49152">6056</EventID>  

<Level>2</Level>  

<Task>1</Task>  

<Keywords>0x80000000000000</Keywords>  

<TimeCreated SystemTime="2022-12-13T22:18:34.000000000Z" />  

<EventRecordID>7090866</EventRecordID>  

<Channel>Application</Channel>  

<Computer>CTICMLFLEX01.citictrust.local</Computer>  

<Security />  

</System>

<EventData>

<Data>citictrust.local</Data>  

<Data>Delta Synchronization</Data>  

</EventData>

</Event>

BR

Chris Tsang

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Answer accepted by question author
  1. Andy David - MVP 159.7K Reputation points MVP Volunteer Moderator
    2022-12-17T14:14:45.48+00:00

    You can do an inplace upgrade if that is easiest
    https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-upgrade-previous-version#in-place-upgrade

    Honestly, At this point there is no use troubleshooting the sync issues since you are running a version that is no longer supported and it could be the cause of the failures:
    https://learn.microsoft.com/en-us/azure/active-directory/hybrid/whatis-azure-ad-connect-v2

    271589-image.png

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 159.7K Reputation points MVP Volunteer Moderator
    2022-12-15T14:48:46.077+00:00

Your answer

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