I had to create 6 Sync rules each one with 100+ attribute flows. It would take me at least 2 dedicated workdays to do this repetitive task. My research revealed that the only means available to automate this task is to adapt the Migration deployment steps
FIM 2010 Configuration Migration Deployment Steps
Here is how I adapted these steps to accomplish this work in less than 20 minutes.
Introduction to Inbound Synchronization
Introduction to Outbound Synchronization
ExportPolicy.ps1
SyncPolicy.ps1 In this script make the following changes
$pilot_filename = "updatepolicy.xml"
$production_filename = "policy.xml"
CommitChanges.ps1
="<string><export-flow allows-null="&$J$1&"true"&$J$1&"><src><attr>"&A1&"</attr></src><dest>"&B1&"</dest><scoping></scoping></export-flow></string>"
Note that I configured my outbound flow to allow null, if you do not want that you can take it out.
Enter the following for Inbound attribute flows
="<string><import-flow ><src><attr>"&B1&"</attr></src><dest>"&A1&"</dest><scoping></scoping></import-flow></string>"
In Excel copy the formula down column C to all the attributes listed.
I did find that even though no errors were reported during the update processes I had to manually match 3-5 attributes. I will post an update but if you run into this you can update this article too.
Ed Price - MSFT edited Revision 2. Comment: TOC font style
Ed Price - MSFT edited Revision 1. Comment: Title & tags
Congratulations on winning the gold medal! blogs.technet.com/.../technet-guru-awards-july-2013.aspx
First, we featured your article on the home page of TechNet Wiki!
Your article was featured on MSDN Blogs here: blogs.msdn.com/.../fim-guru-how-to-bulk-import-attributes-flow-rules-into-a-synchronization-rule-in-the-portal.aspx
Your article was also featured on the Wiki Ninjas blog here: blogs.technet.com/.../fim-guru-ike-ugochuku-brings-us-quot-how-to-bulk-import-attributes-flow-rules-into-a-synchronization-rule-in-the-portal-quot.aspx