none
Connector Space Highest Retry Counts RRS feed

  • Question

  • Just wanted to ask the Community,

    how would I get all accounts that have a high Retry count: value from the Connector Space?

    Tuesday, November 29, 2016 10:25 AM

Answers

  • Hi,

    The supported method would be to use WMI or CSEXPORT.  Both methods require parsing the XML formatted output.  The <retry-count> element is what you are looking for.

    WMI:  Look at the MIIS_RunHistory Class and the RunDetails method.

    CSEXPORT: Look in the Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\Bin folder for the CSEXPORT tool.  Run the command to get its syntax.

    An unofficial/unsupported method is to stop the FIMSynchronizationService and query [FIMSynchronizationService].[dbo].[mms_step_history] and look in the column sync_errors_xml.  It is the same data.  Do not do direct queries to the database while the service is running because you can cause a deadlock condition. The supported and safest method is to use WMI or CSEXPORT and then parse the XML.

    References to help you get started:

    WMI Run Details Method with example script

    CSEXPORT: Connector Space Export Tool

    Best,

    Jeff Ingalls

    • Marked as answer by Killer47x Monday, December 5, 2016 8:24 AM
    Thursday, December 1, 2016 4:52 AM

All replies

  • Hi,

    The supported method would be to use WMI or CSEXPORT.  Both methods require parsing the XML formatted output.  The <retry-count> element is what you are looking for.

    WMI:  Look at the MIIS_RunHistory Class and the RunDetails method.

    CSEXPORT: Look in the Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\Bin folder for the CSEXPORT tool.  Run the command to get its syntax.

    An unofficial/unsupported method is to stop the FIMSynchronizationService and query [FIMSynchronizationService].[dbo].[mms_step_history] and look in the column sync_errors_xml.  It is the same data.  Do not do direct queries to the database while the service is running because you can cause a deadlock condition. The supported and safest method is to use WMI or CSEXPORT and then parse the XML.

    References to help you get started:

    WMI Run Details Method with example script

    CSEXPORT: Connector Space Export Tool

    Best,

    Jeff Ingalls

    • Marked as answer by Killer47x Monday, December 5, 2016 8:24 AM
    Thursday, December 1, 2016 4:52 AM
  • Thanks for the info,

    Monday, December 5, 2016 8:24 AM