Troubleshooting FIM: sync-rule-invalid-xml-attribute-flow

PROBLEM STATEMENT

Running a synchronization on a management agent, you receive an error “sync-rule-invalid-xml-attribute-flow”.  

 


TROUBLESHOOTING STEPS:

  1. Full Import (Stage Only) on the FIM Service Management Agent
  2. Full Synchronization on the FIM Service Management Agent 

CAUSE

In doing the Full Synchronization on the FIM Service Management Agent, I noticed that same error “sync-rule-invalid-xml-attribute-flow” appeared on a Synchronization Rule. 

Investigation into the error “sync-rule-invalid-xml-attribute-flow” found the following error:

Synchronization Rule Flow: <import-flow><src><attr>Manager</attr></src><dest>manager</dest><scoping></scoping></import-flow>
Synchronization Rule Error: Direct mapping has a type mismatch between the source attribute and the destination attribute.

 

 

  • The manager attribute in the Source Management Agent was defined as a string data type. 
  • The manager attribute in the Metaverse on the Person object was defined as a Reference(DN) data type.

 

 

This would create a type mismatch error!


RESOLUTION

  1. In the Source Management Agent, change the data type on the Manager attribute to a Reference (DN).
  2. Modify the Synchronization Rule in question
    1. In the FIM Portal, select Administration and then Synchronization Rules
    2. Select the Synchronization Rule in question
    3. Click on the Inbound Attribute Flow
    4. Find the reference for Manager => Manager
    5. Delete the reference for Manager => Manager
    6. Click ok, and then Submit the information
    7. Go to the Synchronization Service Engine
    8. Select the FIM Service Management Agent on the Management Agents Tab
    9. Execute a Full Import (Stage Only) – [Actions menu > Run > Full Import (Stage Only) run profile]
    10. Execute a Full Synchronization on the FIM Service Management Agent

 

Note

 if you are familiar with working with Preview, you can Commit Preview the Synchronization Rule

** **

    1. Go back to the Synchronization Rule
    2. Click on Inbound Attribute Flow
    3. Add a new attribute flow for Manager => Manager
    4. Click ok and then Submit the information
    5. Go to the Synchronization Service Engine
    6. Select the FIM Service Management Agent on the Management Agents Tab
    7. Execute a Full Import (Stage Only) – [Actions menu > Run > Full Import (Stage Only) run profile]
    8. Execute a Full Synchronization on the FIM Service Management Agent

Note

 if you are familiar with working with Preview, you can Commit Preview the Synchronization Rule