Thursday, September 05, 2013

Installing the FIM PowerShell Workflow Activity

Thoughts I’d share some useful pointers for the FIM PowerShell Workflow Activity.  There are helper scripts in the CodePlex project that are not very well known.  I use these scripts every time I deploy this activity, just because it saves a LOT of clicking around and it always works the same way. 

Also, if you’re a FIM scripter the scripts might show some neat tricks you can use elsewhere in FIM.

Creating the FIM Service service account as a FIM Person object:
  • Finds the FIM Service
  • Gets the account name running the service
  • Gets the ObjectSID of that account
  • Creates the corresponding FIM Person object in the FIM Service
  • Adds the new person object to the FIM Administrators Set

http://fimpowershellwf.codeplex.com/SourceControl/latest#Release/Version1/Activity/Create-FimServiceAccountAsFimPerson.ps1

Installing the FIM PowerShell Workflow Activity:
  • Puts the DLL in the Global Assembly Cache (without using gacutil ;-)
  • Creates the ActivityInformationConfiguration object in the FIM Service
  • Creates the EventLog source in case you ever turn on logging

http://fimpowershellwf.codeplex.com/SourceControl/latest#Release/Version1/Activity/Install-FimPowerShellWF.ps1

Updating the FIM Service Configuration File:
  • Corrects the resourceManagementServiceBaseAddress configuration item
  • Adds the System.Diagnostics entries for the FIM PowerShell Workflow

http://fimpowershellwf.codeplex.com/SourceControl/latest#Release/Version1/Activity/Update-FimServiceConfigFile.ps1

No comments: