Mim sync using Group Managed serviceaccount (GMSA) - Export enc keys

SteinIP 271 Reputation points
2021-01-15T11:26:03.663+00:00

In an effort to modernize our infrastructure we are working on a new installation of MIM and wanted to use GMSA to run our sync service. It works perfectly, but now our question is how to export encryption keys?

When using the gui we are promted for the serviceaccounts username and password, but the password is not known for a GMSA...

Has anyone done this?
Can it be done?

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
752 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tom Houston 176 Reputation points
    2021-01-26T13:01:31.643+00:00

    Hey there @SteinIP ,

    Give the following a go with PowerShell:

    Set-Location -Path 'C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\bin'  
    

    and then

    .\miiskmu.exe /e C:\miis-encryption-keys\sync-service.bin /u DOMAIN\mimsync *  
    

    Hope this helps

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.