Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 6944

ECMA - DN define issue

$
0
0

Hi All,

I have been developing test call-based ECMA 2.0 connector. I have a case to have separate dn and anchor attributes. But I face an issue while do Full Import operation.

Capabilities code:

            Dim Caps As New MACapabilities
            Caps.ConcurrentOperation = True
            Caps.ObjectRename = True
            Caps.DeleteAddAsReplace = True
            Caps.DeltaImport = False
            Caps.DistinguishedNameStyle = MADistinguishedNameStyle.Generic
            Caps.ExportType = MAExportType.AttributeUpdate
            Caps.NoReferenceValuesInFirstExport = False
            Caps.Normalizations = MANormalizations.None
            Caps.IsDNAsAnchor = False
            Return Caps

GetSchema code:

Dim personType As SchemaType = SchemaType.Create("User", False)

personType.Attributes.Add(SchemaAttribute.CreateAnchorAttribute(<anchor name>, AttributeType.String))

personType.Attributes.Add(SchemaAttribute.CreateSingleValuedAttribute(<attribute name>, AttributeType.String))

GetImportEntries code:

csEntryChange.AttributeChanges.Add(AttributeChange.CreateAttributeAdd(<anchor name>, <anchor value>))
csEntryChange.AttributeChanges.Add(AttributeChange.CreateAttributeAdd(<attribute name>, <attribute value>))

The code above works fine. But when I try to define dn in GetImportEntries block

csEntryChange.DN = <dn string value>

I face an error message in Synchonization Service Manager - "missing-change-type":

The question is how to define DN value correctly?


Emil Valiev


Viewing all articles
Browse latest Browse all 6944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>