ECMA2 / Sync Engine hangs on need-full-object RRS feed

  • Question

  • I’m writing an ECMA2 MA for a customer and want to support the ‘need-full-object’ on import where you can return a full object representation of a newly added delta object. I can get the logic around this to work, but it only works if I need to return one or two objects as FullObjects – however if there are more than that, i.e. 50 object that need to be returned, my MA code returns this successfully to the Sync Engine and the ECMA2 exits gracefully – BUT the Sync Engine (miiserver.exe) just hangs and the MA never exists a running state and eventually I have to take down the miiserver.exe process which results in an error like “The RPC server is unavailable”. I then have to restart the Sync Engine service to get it running again. I found a old thread in the forum where the same issue is mentioned. That thread is on FIM2010R2 and I’m getting the same on MIM2016. The thread is here - https://social.technet.microsoft.com/Forums/lync/en-US/16def4da-d798-4933-b5e3-f6cfc7e7fcc1/needfullobject-in-call-based-ecma2-sync-server-crashes-if-too-many-objects?forum=ilm2

    I’ve tried to dive deep into Andreas’ great “Undocumented Sync Engine” but that doesn’t provide me with any answers and from what I can gather, my ECMA code is behaving as it should. (http://www.theundocumentedsyncengine.com/content/ecma2-import.html)

    Has anyone run into similar issues and maybe found a solution or have an idea for a workaround?

    Regards, Soren Granfeldt
    blog is at http://blog.goverco.com | facebook https://www.facebook.com/TheIdentityManagementExplorer | twitter at https://twitter.com/#!/MrGranfeldt

    Wednesday, February 28, 2018 3:35 PM