Not a bug

LDAP error on bulk export

Andrew Silcock 5 years ago in UNIFYBroker/Microsoft Identity Manager updated by anonymous 4 years ago 3

Was running a bulk export of 966 users to Office 365 using the Graph API connector, the MIM MA finished running in approx 2mins 30secs however the Identity Broker save entities process continued running for an additional 20mins.

MIM received an ma-extension-error for each users object with unexpected error has occurred however all the user objects were successfully created in Office 365. Using version 5.0.4 for both IDB and the FIM connector

Found the following error entries in the IDB logs which are timestamped approx 20secs after the MIM MA finished its run.

Entry 1

Handling of LDAP Bulk Update request.
Handling of LDAP Bulk Update request received from user admin on connection failed with error "Cannot access a disposed object.
Object name: 'System.Net.Sockets.NetworkStream'.". Duration 00:01:44.1525241.

Entry 2

An error occurred on client from More details:
Internal Server Error #11: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.NetworkStream'.
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at Unify.Framework.Visitor.Visit[T](IEnumerable`1 visitCollection, Action`2 visitor)
at Unify.Product.IdentityBroker.LDAPConnection.<RespondToMessageAsync>d__33.MoveNext()

I'm currently running another full sync to generate an additional bulk export to test further.

Affected Versions:
Fixed by Version:
Under review

Hi Andrew,

That's very strange. I'm investigating this now, please let me know if you are able to reproduce it reliably.

Hi Andrew,

Sorry for not checking back in. I wasn't able to reproduce this error. Did you have any luck?