FIM CM Management Agent
Hi,
I am trying to create a simple CM MA, that creates an eroll request when a new user is created in the AD. While synching with the AD i got an stopped-extension-dll-exception. The MVExtension I am using is running on another Machine without errors.
Imports Microsoft.MetadirectoryServices
Public Class MVExtensionObject
Implements IMVSynchronization
Dim CLMUtils As ClmUtils
Public Sub Initialize() Implements IMVSynchronization.Initialize
CLMUtils = New ClmUtils(New String() {"CM MA"})
End Sub
Public Sub Terminate() Implements IMVSynchronization.Terminate
End Sub
Public Sub Provision(ByVal mventry As MVEntry) Implements IMVSynchronization.Provision
Dim clmMA As ConnectedMA = mventry.ConnectedMAs("CM MA")
Dim profileCSEntryList As Generic.List(Of Microsoft.MetadirectoryServices.CSEntry)
profileCSEntryList = CLMUtils.GetConnectedProfiles(clmMA)
Dim objectGUID As New Guid(mventry("objectGUID").BinaryValue)
If 0 = profileCSEntryList.Count Then
CLMUtils.CreateEnrollRequest(clmMA, objectGUID, "FIM CM Smart Card Logon Profile Template")
End If
End Sub
Public Function ShouldDeleteFromMV(ByVal csentry As CSEntry, ByVal mventry As MVEntry) _
As Boolean Implements IMVSynchronization.ShouldDeleteFromMV
Throw New EntryPointNotImplementedException()
End Function
End Class
I have seen that it fails during the initialization process (while writing each step into a file).
I' ve already checked the version of Shared, Common and Business DLL's and they are the same.
Could anyone give me a hint?
July 23rd, 2010 11:13am
Have you looked at the
Introduction to the Management Agent for Certificate and Smart Card Management yet?
Cheers,
MarkusMarkus Vilcinskas, Knowledge Engineer, Microsoft Corporation
Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2010 8:07pm
As Markus says, the guide is the best place to start.
There should be error detail in the Event Log, please post that error message.
The CM MA loads the Profile Templates into the MV Extension, so might be having trouble finding them. A common cause if forgetting to run a Full Import on the CM MA before trying to run a synchronization cycle. Full Import loads the Profile Templates
into the CM MA Connector Space. If they are not in the CS when IMV.Initialize() runs then CLMUtils will throw an exception.
BTW - so glad it got renamed to the 'Craig Martin' MA.CraigMartin Edgile, Inc. http://identitytrench.com
July 23rd, 2010 8:26pm
Hi Craig,
Hi Markus,
first thanks for your quick reply...
@Markus: yes, i've already looked at the document you reffered above. I am using the FIMSyncService-Account as ilmsvc. Is this correct?
@Craig: Even the full import results to the same error.
Could it be that the CLMUtils file is corrupt? Could you post an md5sum of this file?
Thanks
Christos
Free Windows Admin Tool Kit Click here and download it now
July 26th, 2010 2:52pm
The first thing to troubleshoot is Full Imports on the CM MA. If you cannot get that step working then nothing else will work.
So at this stage you want to troubleshoot the Full Import (Stage Only) step on the CM MA.
The
guide mentioned by Markus is your best starting point. It includes steps for configuring a working environment.
Almero also posted some troubleshooting steps just recently that might match some of the errors you may be getting in your event log.CraigMartin Edgile, Inc. http://identitytrench.com
July 26th, 2010 8:55pm
Hi,
finally i got the CM MA working. I changed the connection settings from localhost to 127.0.0.1 and afterwards it is working.
Thanks for your help.
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2010 12:09pm


