May 19, 2011 at 8:04 AM
Check out this presentation on Channel9 from the ongoing TechEd Atlanta!
Oops! Looks like the presentation isn’t live yet but stay tuned and it’ll show up according to the Identity and Access blogIt´s alive!!!
May 16, 2011 at 10:51 PM
For me WIF has been a cripple without the support for SAML2/SAMLP and I’ve been forced to look at products like the SAML2 from ComponentSpace and “SAML 2 for WIF” from Safewhere (not with us anymore and globeteam.comthat took over the product charged a fortune for using it) but finally I got stuck with OIOSAML/dk.nita originally developed by Safewhere financed by the national E-ID initiative in Denmark and released as Open Source that I’ve been delivering to a bunch of customers after a few changes to make it “less Danish”.
Except for throwing a lot of time away finding the right SAML2 component to deliver I’ve also been a pain in the a** on my Microsoft contacts for not delivering this and I hope my struggle has at least a bit made them understand why SAML2/SAMLP is so important to make WIF complete. I mean WS-Fed is not where the industry is heading even though others are supporting it…unwillingly…
I’ve heard a lot of excuses like “Why don’t you use WS-Fed instead?”, “Why don’t you set up an ADFS 2.0 environment for protocol translation?” - (at least 4 servers) and “I’m sorry, I don’t understand why we haven’t released it either!” but finally it’s almost here and you can (and I will) check it out here!
…and additionally a note from Vittorio!…
…Never heard about Vittorio or WIF – check this out from Techdays 2010: http://channel9.msdn.com/Blogs/liese/TechDays-2010--Windows-Identity-Foundation-Overview
I just love his – As you can hear from my accent… I’m from Redmond (with Italian accent).
May 11, 2011 at 8:49 PM
To start with, I’m not sure this is supported and maybe this is old news…
Anyway, have you ever wanted to interrupt a request with an approval when a new resource is provisioned into FIM (and already written to App DB) when you can’t do it in the authorization stage or maybe when a resource is transitioning in or out of a set even though the approval activity is an authorization activity and you OOB can’t add it to an action workflow?
With a small tweak this is possible…
- Head for Administration (within the portal, are you with me?)
- Click All Resources and then probably as number one the resource type - Activity Information Configuration
- What you see now is all the available activities within FIM and what we want to do is create a new one so go ahead and click the New button (maybe you have to give yourself rights as an administrator to add Activity Information Configuration resources)
- Add the following values to the Common Attributes page:
Description: This activity applies for approval from specific approvers by mail and from action workflows.
Display Name: Action Approval
- Switch to the Extended Attributes page and add the following values (these values are the same as for the AuthZ Approval activity, the only difference is “Is Action activity”):
Activity Name: Microsoft.ResourceManagement.Workflow.Activities.ApprovalActivity
Assembly Name: Microsoft.IdentityManagement.Activities, Version=4.0.2592.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Is Action Activity: Checked
Type Name: Microsoft.IdentityManagement.WebUI.Controls.ApprovalActivitySettingsPart
- Click OK and then Submit.
What we’ve just done is created a new Activity resource that’s basically a copy of the original Approval activity (leaving the OOB FIM configuration unchanged is a best practice) but with the difference it’s available for interrupting action workflows before subsequent activities actually do anything that requires an approval.
April 6, 2011 at 9:45 PM
One of the wishes for additional functionality in FIM I’ve had since ILM2 has been custom Sync Rule Functions and except for adding a feature request to Connect that got a lot of votes (and was closed with “Won’t Fix) I blogged about it here.
The reason I want preferably custom and more OOB functions is simply the available functions are way too limited and much too often you’ll have to fall back on MA Extensions or creating custom workflows/activities where the Function Evaluator can’t help.
I’ve discussed this with a member of the product team and he claims that even though there is a public Sync Service interface allowing for this and a FIM Service system resource type (Function) this has never been a plan, instead this has just been a way of implementing the current functions that remains in the Functionlibrary.dll that is hardcoded to both the FIM service and the Sync Service.
Since I’m not a person that takes no as an answer I did a little survey that I addressed my MVP friends and some other FIM initiated friends (and their friends within Microsoft) giving them my ideas for new OOB functions since I’ve got the hint that custom functions are far away from being a reality and asked them to suggest functions they would like to see in FIM in a not too far future.
Even though the hint I got and communicated in the survey that custom functions are far away and instead asked for ideas for OOB functions they wished almost everyone said that custom and reusable functions is the only way to satisfy our demands, here are some of the comments …
- Quite frankly I don't see how they could ever satisfy all the requirements we could come up with. Allowing us to add functions is the only logical solution.
- Please allow an extension to provide our own custom functions - this was also suggested during the summit. And while we're at it, please allow the same extension to be used for relationship criteria.
- Could not agree more :), it's what's missing.. I can't stand sync rules.... this would help with the pain...
- However, I totally agree that custom functions are the only way to satisfy all our requirements, including those that we can't think of right now but that we will have to face some day. In this way, no matter how many more functions we get, we won't be able to use only codeless provisioning.
As you can see above, there’s also a demand for allowing functions in the Sync Rule relationship and I totally agree, as it is now it could be hard to get usable “joins” when having similar but not perfectly equal values for joining on!
Except for custom functions there’s a demand for more OOB functions that could be used by those who isn’t considering themselves developers. Some of the ideas were so similar that I took the freedom to join them. I got an answer with code examples where I choose not to include the code for readability and I hope it is clear enough anyway.
Issue a .Delete on the MV Attribute to clear out unwanted or orphaned data due to removal of flow rules
Cast the string to an integer, useful when you have to change an integer based anchor into a string to contribute elsewhere but need to provision it out
- GetBitOperator(int bitmask, mask)
Returns true/false of whether or not a bit is active in the mask
- ConvertGeneralTimeToISO8601(string generalizedtime)
Converts a flat string date
- ConvertFileTimeToISO8601(datetime filetime)
Converts a FileTime attribute to a format the FIM WS can accept
- GeneratePassword(number length)
Generate complex password from some predefined character group.
- GeneratePassword(number length, string chargroup1)
Generate complex password using characters from chargroup1.
- GeneratePassword(number length, string chargroup1, string chargroup2)
Generate complex password using characters from chargroup1 and chargroup2.
- GeneratePassword(number length, string chargroup1, string chargroup2, string chargroup3)
Generate complex password using characters from chargroup1 and chargroup2 and chargroup3.
- AddDays(Now(), 15)
- AddMonths(Now(), 6)
- Len (string value)
Function that returns the length of a string, 0 if null or empty.
- ToString (any type value)
Function that converts any datatype to string.
(it’s so irritating trying to map an integer value to a string during inbound sync, for example to employeeID and you get an error)
- Split (string value, string separators)
Function that splits a string into a multi-valued string.
- Join (string multi-valued value, optional string separator)
Function that joins a multi-valued string value into a single-valued value with an optional separator string.
- Index (any type multivalued value, number index)
Function that returns a single value of the same datatype as the multi-valued input value by index.
- Add (any type multivalued value, any type single-valued value to add)
Function that adds a single-valued value to a multi-valued value of the same type (one use could be for handling object classes in LDAP directories)
- Remove(any type multivalued value, any type single-valued value to remove)
Function that removes a single-valued value from a multi-valued value of the same type.
- RegexReplace(string value, string pattern, string replace)
Function that does a string replace using a regex pattern.
- StartsWith(string value, string startswith)
Function useful for finding out if a string starts with a specific string when doing IIF’s.
Could maybe be solved using the already available Mid function but this is easier.
- EndsWith(string value, string endswith)
Function useful for finding out if a string ends with a specific string when doing IIF’s.
Could maybe be solved using the already available Mid function but this is easier.
- IsValid(string value, string pattern)
Function for validating an input value using a regex pattern when doing IIF’s
- Format(string format, string value1, string value2, string value3… )
Function that replaces the format item in a specified string with the string representation of a corresponding string in a specified parameter. I just love this function on the .Net string object and I think it could be really useful even thought I understand it could be hard implementing a user interface for and since the FIM functions can’t accept arbitrary number of parameters.
Function that returns the current date and time.
- Normalize(string value)
Function for normalizing characters like ÅÖÄÜ etc. and removing all kinds of diacritics when for example creating email addresses. I’m told this could be done using the EscapeDNComponent function but that’s only available for outbound sync rules.
- Word (string value, number index, string separators)
This already available function doesn’t allow you to use an attribute as value only a fixed string.
I’m not the only one asking for this functionality but in order to make a change we need to get votes for it on Connect therefore I’ve made a new request that you can find here:
Go ahead and vote for it but don’t forget to make a comment why you wish to be able to create custom functions that can be reused and have a larger set of OOB functions. Also don’t be afraid inviting you friends to vote and publish this or the connect feature request on any social media!
January 3, 2011 at 9:29 PM
I’m proud to announce I’m now a Microsoft Certified Trainer and this spring I’ll hold the 4 day Implementing Forefront Identity Manager 2010course at Cornerstonein Stockholm, Gothenburg and Malmö (in Swedish). If you’re interested to attend the course go ahead and visit Cornerstone and don’t be confused Cornerstone calls the course T207.
These are the preliminary course dates:
- 22-25 February in Malmö
- 15-18 March in Stockholm
- 5-8 April in Gothenburg
- 3-6 May in Stockholm
December 9, 2010 at 2:33 PM
A little bird whispered in my ear that SQL Server 2008 R2 is now supported for FIM 2010 from yesterday, still no update of the Hardware and Software Requirements and nothing about an update for making the installer work but hopefully we’ll hear about it soon.
December 5, 2010 at 11:47 AM
I know, I haven’t been blogging as much as I should but a lot of work and a whole bunch of interesting development projects have been taking up my time but I’m very pleased I can finally report that one of these projects have reached it’s first release to CodePlex.
FIM is of course the ultimate place for attributes to issue as claims using ADFS 2.0 since you typically store attributes from all different kinds of connected directories there. Not only will you be able to issue standard attributes - you can do lookups for groups, sets or roles and publish these as claims as well, perfect for authorization scenarios.
The footprint on ADFS 2.0 is minimal and it doesn't require more than the usual attribute store configuration. The attribute store also comes with a command-line test client that allows you to get the communication with FIM correct and also enables you to run custom queries against FIM. The test client is pretty much a command-line version of the FIM Query Tool once published by Joe Zamora from Ensynch except it uses the attribute store under the hood that also can be attached directly to ADFS 2.0.
It's currently in Beta so please try it out and report issues to the project page on CodePlex so that I can make it better!
The ADFS 2.0 configuration of the attribute store.
Example output from the Test client.
September 4, 2010 at 8:31 AM
Carol(MissMiis) has created a really nice activity for executing PowerShell scripts, both local and remote and it opens up for all kinds of possibilities! Check it out!