Troubleshooting FIM: Event ID 6401 – management agent controller encountered an unexpected error

OVERVIEW

This scenario covers provisioning accounts into a Microsoft Exchange 2010 Service Pack 1 Forest. Utilizing the ExchangeUtils.CreateMailbox function using the five (5) parameter version, the Synchronization Service Engine throws the following error into the Application Event Log.

APPLICATION EVENT LOG

Log Name: Application

Source: FIMSynchronizationService

Date: 11/16/2011 3:56:27 PM

Event ID: 6401

Task Category: Server

Level: Error

Keywords: Classic

User: N/A

Computer:

Description:

The management agent controller encountered an unexpected error.

 

"ERR: MMS(8392): session.cpp(5290): ldap_get_values_len (attr=nTSecurityDescriptor) failed

BAIL: MMS(8392): session.cpp(5292): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(8392): LDAPUtils.h(1558): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(8392): admaexport.cpp(1741): 0x80070057 (The parameter is incorrect.)

BAIL: MMS(8392): ldapmaexportcore.cpp(906): 0x80070057 (The parameter is incorrect.)

ERR: MMS(8392): ldapmaexportcore.cpp(1260): Unexpected export failure: local result = 0x80070057

ERR: MMS(8392): cntrler.cpp(6210): Invalid export error code received: 0x 80230808

ERR: MMS(8392): cntrler.cpp(6931): Invalid error code from MA 'E2k10' while running run profile 'Export'.

Forefront Identity Manager 4.0.3558.2"

 

RESOLUTION

This is fixed in build 4.0.3644.2