Monday, February 1, 2010

FIM Query Tool for FIM 2010 RC1

I forgot to mention that I updated the FIM Query Tool to work with RC1 and the new unsupported web service client. So, if you haven't already stumbled upon it, you can download the latest release and take it for a test drive:

http://fimquerytool.codeplex.com/

And please leave me any feedback on the Codeplex site or here; thanks!

Error defining Activity Information Configuration: Access denied

I know the answer to this one is trivial, but if you encounter it, I thought I'd let you know that, no, you're not going crazy. Evidently, there is no default MPR for creating Activity Information Configuration's in the FIM portal.

So, if you're defining a custom workflow, and you're adding your interface to the portal for the first time, you may get the error, "Create Resource: Access denied." Here's a screen shot:



So the fix is to define an MPR to allow you to create these guys. Note that there is already an MPR that allows Administrators to read all resources, so we'll avoid the redundancy here.

Display NameAdministration: Administrators have full control over Activity Information Configuration resources
Action Parameter*
Action TypeAdd; Create; Delete; Modify; Remove
Action Workflows0
Authentication Workflows0
Authorization Workflows0
DescriptionAdministration: Administrators have full control over Activity Information Configuration resources
Grant RightTRUE
Principal SetAdministrators
Resource Current SetAll Activity Information Configurations
Resource Final SetAll Activity Information Configurations

Where is the ActivitySettingsPart?

If you're building a custom workflow/activity for FIM 2010, you may be wondering where you can find the ActivitySettingsPart (which you must override in your web interface class). As of RC1, they've made it a bit harder to find, but here's where you can find the DLL that it's in:

ClassActivitySettingsPart
NamespaceMicrosoft.IdentityManagement.WebUI.Controls
AssemblyMicrosoft.IdentityManagement.WFExtensionInterfaces
Where to find(Copy it out of the Global Assembly Cache from a DOS prompt.)

copy C:\Windows\assembly\GAC_MSIL\Microsoft.IdentityManagement.WFExtensionInterfaces\4.0.2574.0__31bf3856ad364e35\Microsoft.IdentityManagement.WFExtensionInterfaces.dll .

Update for RTM:
copy /y C:\Windows\assembly\GAC_MSIL\Microsoft.IdentityManagement.WFExtensionInterfaces\4.0.2592.0__31bf3856ad364e35\Microsoft.IdentityManagement.WFExtensionInterfaces.dll .


Additionally, forum users have suggested a couple other ways to get it:

http://social.technet.microsoft.com/Forums/en-US/ilm2/thread/ce902e07-15fe-40ef-9872-c4f8da83cf80/

While I'm at it, I'll show you where to find all of the building block activities for FIM custom workflow dev:

ClassApprovalActivity
AuthenticationGateActivity
AuthenticationWorkflow
CreateResourceActivity
CurrentRequestActivity
DeleteResourceActivity
DomainSynchronizationActivity
EmailDeliveryActivity
EmailNotificationActivity
EnumerateResourcesActivity
FilterValidationActivity
FunctionActivity
GroupMembershipValidationActivity
GroupValidationActivity
PWResetActivity
QueuedInputActivity
ReadResourceActivity
ReceiveCreateResourceActivity
RequestorValidationActivity
ResolveGrammarActivity
SequentialWorkflow
SynchronizationRuleActivity
UpdateRequestActivity
UpdateResourceActivity
XmlInteractiveActivity
NamespaceMicrosoft.ResourceManagement.Workflow.Activities
AssemblyMicrosoft.ResourceManagement
Where to findC:\Program Files\Microsoft Forefront Identity Manager\2010\Service


Enjoy!