Event Viewer shows error, but Sync operations history is clean - Microsoft Identity Manager 2016

2xTsei 1 Reputation point


I am strugling with the following issue. I am getting an Windows Event Viewer error message described below:

Error encountered during evaluation of Sync Rule: 'ADMA User Outbound Internal'. Details: Object reference not set to an instance of an object. at Microsoft.MetadirectoryServices. FunctionLibrary.AttributeFlowMappingHandler.ExecuteOutboundTransformation(CSEntry csentry, MVEntry mventry, String strSyncRuleGuid, String xmlExpression, String workflowParameterTypes, String workflowParameterValues) at Microsoft.MetadirectoryServices.Impl.ScriptHost.InvokeMA_ExecuteOutboundTransformation(_OCTET octMVPreImage, _OCTET octMVDelta, _OCTET octCSHologram, _OCTET octUnappliedDelta, _OCTET octEscrowedDelta, _OCTET octUnconfirmedDelta, _OCTET octImportDelta, UInt32 nMappings, _SyncRuleAttributeFlowMapping rgMappings, _OCTET* poctChanges, _MappingResults* pMappingResults, Int32* pOverallResult) InnerException=> none* 

The message itself is pretty clear, but the problem is that when I go and check the Operations History from Synchronization Service Manager, the history is clean and there are no errors.

Any suggestions how to go forward? I have no idea how to figure out what object could cause the problem.

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
627 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SteinIP 271 Reputation points

    I've seen the same behavior in our system, and come to the conclution that this happens when an error occurs in our coded metaverse-extension. I belive we are trying to access an attribute that has not been set on some users, so I've worked on the code to verify and validate all attributes before trying to access them.