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

Code question...

$
0
0
 Im having an issue when trying to do a check to see if an attribute is present or if the attribute has a value of not true, but when using the code snip below, the sync server returns a bunch of "extension-attribute-not-present" errors stating: Microsoft.MetadirectoryServices.AttributeNotPresentException: Attribute "Attribute1" is not present.  When i remove the "Or Not mventry("Attribute").Value = "True" Then" piece, it will run without errors, but skips accounts that should be run through the rest of the script to evaluate if the person should be termed or not.  basically, i would like to check to see if the attribute is present or not true.  Any ideas?

  If Not mventry("Attribute1").IsPresent Or Not mventry("Attribute").Value = "True" Then


Viewing all articles
Browse latest Browse all 6657

Latest Images

Trending Articles



Latest Images

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