Friday, September 14, 2018

Powershell MA version released

Glad to announce that the Powershell MA has a new version out. It's has been a while since the last release since there has been no reports of bugs or any feature request lately, the previous version seems to be pretty stable.

This new version hasn't changed all that much and there are no breaking changes either. It has, however, a new feature that I personally have missed from time to time; an extra parameter $Schema is added to the Import and Export scripts. And as you may have guessed, it is an PSObject that describes the schema for the particular MA. Having this information allows you to build a little more dynamic into your Powershell scripts used with the PSMA.

Also, a litte logging / tracing bug has been fixed. It is something, you may not have noticed but now it is fixed. It has to do with how the PSMA catches Write-Warning and Write-Error output from your scripts. Remember, you can set your $WarningPreference, $ErrorPreference and other preferences such as Verbose and Debug in your scripts and have the PSMA pick up any output from these statements and output to the Trace log.

Anyways, give the new version of the MA a spin and let me know if you can how it goes.


Monday, July 16, 2018

Microsoft Identity Manager 2016 SP1 hotfix ( Released

A new hotfix for MIM 2016 has been released. A little interesting note is the support for Group Managed Service Accounts that is mentioned in the release notes. I'll have to dig further into that.

Anyway, you can grab it here -

See you in the metaverse,

Thursday, April 19, 2018

Saving FIM / MIM configuration

Just a quick note with a small Powershell script that I made to export configuration for the Synchronization Engine. I use this script on and off at customers to make sure that we can get back to a former state - or move existing configuration from environment to environment when building.

Feel free to use and modify

    $miispath = 'C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\Bin\',
    $maexport = ( join-path $miispath 'maexport.exe' ),
    $svrexport = ( join-path $miispath 'svrexport.exe' ),
    $managementagents = ('ad', 'crm-emp','crm-emp-ad','db-member','crm-member', 'sp-profile'),
    $exportdir = 'export-config'
$date = (get-date).tostring('yyyy-MM-dd')

# create base folders with current date
$madir = join-path (join-path (join-path . $exportdir ) $date) 'ma'
write-debug $madir
$null = new-item -path $madir -type directory -force

$svrdir = join-path (join-path (join-path . $exportdir ) $date) 'svrexport'
write-debug $svrdir
$null = new-item -path $svrdir -type directory -force

foreach ($ma in $managementagents)
    $null = new-item -path test -type directory -force
    & $maexport $ma (join-path $madir "$($ma).xml")

& $svrexport $svrdir


Sunday, November 26, 2017

Codeplex down, Github up!!!

I finally got around to moving all my FIM/MIM projects from Codeplex to Github. If you use any of the following FIM projects of mine, please consider changing all links and maybe following the projects on Github now.

FIM/MIM SQL Management Agent -
FIM 2010 Workflow Activity Library -
Codeless Provisioning Framework, FIM.MRE -
FIM/MIM MA Rules Extension Framework -

I still need to visit the documentations and fix a few mistakes after migration - I'll do that in the near future.

Søren Granfeldt

Monday, February 20, 2017

FIM.MARE has moved to Github

Just a quick note to let you know that the project FIM.MARE has moved from CodePlex to Github. So please help spread the word and update any links that you may have sitting out there.

So if you want to continue doing advanced codeless flow rules without Synchronization Rules, then the new place to be is