Hi
I'm looking for some guidance and examples please.
I have a classic FIM 2010 R2 installation with an SQL MA acting as the primary source for my users. This works fine and users are provisioned to AD without issue. The problem started when I was informed we needed to also provision some users via the FIM Portal (those that come into the business as consultants or contractors and bypass HR).
I've tried various methods to get this to work but I simply don't know how to get the DN constructed for AD for a user that has been created via the portal.
When a user is created in the portal and imported into the Metaverse, the object never arrives. The object appears to get as far as the connector space for the FIM MA (I can find it if I search the connector space), but when I do a sync, I get the following error:
"Microsoft.MetadirectoryServices.ProvisioningBySyncRuleException: The DN must be set before calling CSEntry.CommitNewConnector."
My outbound sync rule to AD generates the DN in the classic way by contactenating various values but, I guess when you add a user via the FIM Portal, these values aren't in the Metaverse yet which is why the sync fails.
I thought I might be able to work around this and I guess I've followed the trail of many who have gone before me learning that you can't do certain things with the FIM MA.
Currently I'm thinking that I should create a rule extension for the Metaverse - I'm very experienced with VB.NET but I've not worked with rules extensions before and I'm finding it difficult to get up and running quickly. Pehaps I'm running down the wrong alley but my current thinking is that I should write an extension that queries the FIM MA connector space, checks thet Metaverse and creates a unique DN from the values in the connector space as the object passes through to the MV.
So I guess my question is:
How would I construct a unique DN for each user object that is added via the FIM Portal so that they can be provisioned to AD?
In addition, may you please point me at some real primers that get you started on coding rules extensions using VB.NET (or some examples of what I actually want to do.
Thank you for any help you can provide.
- Changed type Markus VilcinskasMicrosoft employee, Owner Wednesday, February 13, 2013 8:38 PM