ECMA2: how to process deletes in the connected system during a full import?

I have an ECMA2 ma, and in the Full Import I create a list of CSEntryChange objects with ObjectModificationType Add, like in this example:

// iterate through the objects in the connected system
foreach (var website in theListOfWebsitesInTheConnectedSystem) {
    // create a CSEntryChange object
    var entry = CSEntryChange.Create();
    entry.ObjectType = "website";
    entry.ObjectModificationType = ObjectModificationType.Add;
    entry.AnchorAttributes.Add(AnchorAttribute.Create("Name", website.NAME));
    entry.AttributeChanges.Add(AttributeChange.CreateAttributeAdd("Description", website.DESCRIPTION));
    entry.AttributeChanges.Add(AttributeChange.CreateAttributeAdd("Category", website.CATEGORY));
    // add it to the list (this list will be split somewhere else to manage the page size)
    listOfEntries.Add(entry);
}

My understanding was that if an object is not in the list of objects I return, FIM should understand that the object has been deleted in the connected system, and try to recreate it.

However, if I delete an object in the Connected System and then run a Full Import, the object is NOT returned in the list, but FIM still sees it as a connector in the connector space of my MA, and I see no deletion in the import results.

How is this supposed to work? What should I do to make FIM realize that an object was de

May 7th, 2015 9:36am

I checked the documentation for the IMAExtensible2CallImport.GetImportEntries method, and it says:

A Full Import should be designed so it will always return the data as if it was the first time the data has been read from the connected directory, i.e. everything should be returned as new (Add) objects. All objects must be returned and they should only be presented once to the engine. The engine is responsible for correlating the supplied information with the data already present in the connector space. At the end of the run all objects not returned but present in the connector space will be marked as obsolete and deleted.

However, this does not seem to work in my case.

Has anyone experienced a similar problem?

Free Windows Admin Tool Kit Click here and download it now
May 8th, 2015 3:35am

Do you have any discovery-errors on the Import? If so, obsoletion is not done.
May 8th, 2015 4:58am

Do you have any discovery-errors on the Import? If so, obsoletion is not done.
Free Windows Admin Tool Kit Click here and download it now
May 8th, 2015 8:58am

Do you have any discovery-errors on the Import? If so, obsoletion is not done.
May 8th, 2015 8:58am

Thanks, that was the problem.

There are some "duplicate-object" entries - I'm trying to figure out why, since I'm pretty sure I'm returning each object only once...

Free Windows Admin Tool Kit Click here and download it now
May 8th, 2015 9:09am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics