Error saving the FIM Sync key set

Ran into something unusual just now with the FIM R2 Sync install – at the end of the install after having selected a folder to save the *.bin file to, there was a delay of about 30 seconds before I got the following error dialog:

“The Forefront Identity Manager Synchronization Service setup wizard was unable to back up the key set. <hr=0x80131904> … try again?”

I figured there was a permissions problem with the target folder location, so I tried several times, including creating c:\temp, giving full access permissions to everyone, and saving it there – but it didn’t matter how many times I tried I got the same error.  Eventually I selected “no” and the installer completed with a success status (nothing in the error log or any warning that the key was yet to be saved).

At this point I simply ran the Synchronization Service Key Management program and successfully saved my miiskeys-1.bin file without a problem.

So I still have no idea what the error actually was, but if anyone does have the same experience, rest assured that you can still happily skip this bit so long as you remember to do it straight afterwards using the utility.


About bobbradley1967

Microsoft Identity and Access Professional with 2 decades of successful IAM implementations in APAC, specialising in MIM and its predecessors (FIM/ILM/MIIS) and now with SoftwareIDM. A Microsoft IAM MVP prior to that with a background in MS.Net applications development/SI. Now with a particular interest how Identity and HyperSync Panel provide the Identity and Access orchestration presently missing in the Azure Entra Suite to effectively enforce Zero Trust on the M365 platform.
This entry was posted in FIM (ForeFront Identity Manager) 2010 and tagged , . Bookmark the permalink.

4 Responses to Error saving the FIM Sync key set

  1. Pete says:

    I have just had a similar issue installing the FIM Sync Service 2010 R2. installation has completed but when I try to backup my keys it errors saying:
    “The operation encountered an error and cannot be completed.
    Error: the user name or password is incorrect
    Error Code: 52e ”
    “The Forefront Identity Manager Synchronization Service Setup Wizard was unable to backup the key set. The username or password is incorrect. Do you want to try again? ”

    However I was also able to export my keys using the Sync Service Key manager tool.

  2. Adrian says:

    Same here, in the far flung future of 2018 running MIM 2016 SP1 :-\

  3. Bee says:

    @Bob, I encountered the same error recently. Solution: Uninstall, give MIMSync service account local administrator rights to both boxes (the box you install MIM sync service and the database), the installation completed successful with key set saved.

Leave a Reply to Pete Cancel reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.