Hello.

As we continue to compile information pertaining to problems either connecting to the backend FIM Service Database, or Retrieving the Schema during the creation of the FIM Service Management Agent and/or modifying the FIM Service Management Agent.  The below Microsoft TechNet Wiki Articles that we in support have written.  Please let us know if the information is useful, beneficial, helps you resolve your issue.