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

Microsoft.MetadirectoryServices.AttributeNotPresentException: Attribute "blah" is not present.

$
0
0

Hi,

I am trying to write a custom extension in Visual Basic that creates Exchange mail-enabled users (MEUs) in my target directory, for each mailbox in my source directory. I have the code below in my source MA extension, and have specified "targetAddress" as the flow rule name under the advanced attribute flow on the source MA. However, when I run a sync on the source MA, it returns the error "Microsoft.MetadirectoryServices.AttributeNotPresentException: Attribute "targetAddress" is not present."

Any idea what I could be doing wrong?

Thanks in advance,

Adam

 Case "targetAddress"
                If csentry("targetAddress").IsPresent Then
                    mventry("targetAddress").Value = csentry("targetAddress").Value
                Else
                    mventry("targetAddress").Value = ("SMTP:" & csentry("mailNickname").Value & "@contoso.com")
                End If


Viewing all articles
Browse latest Browse all 4767

Trending Articles



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