I'm trying to start a provisioning rule (FIM -> AD) for distribution groups and I get the following error during the sync process (on FIM MA) :
Microsoft.MetadirectoryServices.FunctionEvaluationException: Error encountered during evaluation of Sync Rule: 'My SYNC RULE Name'. 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)
This sounds like it could be a data issue. Take a look at the values of the attributes used in any sync rule functions and ensure that they have data. For example, the outbound flow for groupType uses the following expression:
You will want to make sure that you have a value for scope and type in the MV so this function can be fully evaluated. Take a look and see if there are any others. If any of these attributes are missing a value you will get an "Object reference
not set to an instance of an object" error.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.