Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 4767

Applying outbound AD SyncRule ... DN "null()" is not valid

$
0
0

Hello

Scenario:

  • I import a user from my import source (File MA)
  • User is exported to FIM and the AD outbound provisioning rule is calculated and "pending"
  • Im using a CN generator workflow to create CN based on firstname and lastname.
  • User is imported back into MV...with CN... EREs imported also.
  • Export attribute flow back to FIM portal and provisioning rule dosent apply.

The error is in creating a DN for only 1 category out of the 3 (the contractors)...both staff and students work...the outbound expression is as below (this is fine and has no validation errors)... 

IIF(Eq(employeeCategory,"Staff"),"CN="+cn+",OU=staff,OU=Accounts,DC=test,DC=local",IIF(Eq(employeeCategory,"students"),"CN="+cn+",OU=students,OU=Accounts,DC=test,DC=local","CN="+cn+",OU=contractors,OU=Accounts,DC=test,DC=local")) 

>> "dn"

The error i get is as below:

Microsoft.MetadirectoryServices.FunctionEvaluationException: Error encountered during evaluation of Sync Rule: '(Sync Rule) Provision Active Directory Users Inbound/Outbound'. Details: DN "null()" is not valid.   at Microsoft.MetadirectoryServices.FunctionLibrary.AttributeFlowMappingHandler.ExecuteOutboundTransformation(CSEntry csentry, MVEntry mventry, String strSyncRuleGuid, String xmlExpression, String workflowParameterTypes, String workflowParameterValues)

hence its returning NULL() and not applying the provisioning rule.

Coincidentally im getting these errors in eventvwr, not sure if these are related...

 

The server encountered an unexpected error in the synchronization engine:

 "BAIL: MMS(2884): d:\bt\800\private\source\miis\server\sqlstore\sproc.cpp(1571): 0x80230405 (The operation failed because the object cannot be found)
BAIL: MMS(2884): d:\bt\800\private\source\miis\server\sqlstore\imgbldr.cpp(1226): 0x80230405 (The operation failed because the object cannot be found)
BAIL: MMS(2884): d:\bt\800\private\source\miis\server\sqlstore\imgbldr.cpp(1086): 0x80230405 (The operation failed because the object cannot be found)
BAIL: MMS(2884): d:\bt\800\private\source\miis\server\sqlstore\imgbldr.cpp(3176): 0x80230405 (The operation failed because the object cannot be found)
BAIL: MMS(2884): d:\bt\800\private\source\miis\server\sqlstore\mvobj.cpp(199): 0x80230405 (The operation failed because the object cannot be found)
BAIL: MMS(2884): d:\bt\800\private\source\miis\server\sqlstore\nsmvimp.cpp(285): 0x80230405 (The operation failed because the object cannot be found)
BAIL: MMS(2884): d:\bt\800\private\source\miis\server\sqlstore\csobj.cpp(1881): 0x80230405 (The operation failed because the object cannot be found)
BAIL: MMS(2884): d:\bt\800\private\source\miis\server\sync\synccore.cpp(548): 0x80230405 (The operation failed because the object cannot be found)
BAIL: MMS(2884): d:\bt\800\private\source\miis\server\sync\synccoreimp.cpp(143): 0x80230405 (The operation failed because the object cannot be found)
BAIL: MMS(2884): d:\bt\800\private\source\miis\server\sync\synccoreimp.cpp(8635): 0x80230405 (The operation failed because the object cannot be found)
BAIL: MMS(2884): d:\bt\800\private\source\miis\server\sync\synccoreimp.cpp(3792): 0x80230405 (The operation failed because the object cannot be found)
ERR_: MMS(2884): d:\bt\800\private\source\miis\server\sync\synccoreimp.cpp(3823): 0x80230405 - CS to MV to CS synchronization failed 0x80230405: [1e4cc3dc-c55e-44be-ad34-d9ab90844969]
BAIL: MMS(2884): d:\bt\800\private\source\miis\server\sync\synccoreimp.cpp(3573): 0x80230405 (The operation failed because the object cannot be found)
ERR_: MMS(2884): d:\bt\800\private\source\miis\server\sync\syncmonitor.cpp(2528): SE: Rollback SQL transaction for: 0x80230405

appreciate any insight




Viewing all articles
Browse latest Browse all 4767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>