This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LYNC Server ARS 7.1.2 UndoDeprovision Script Policy Enable

I am having an issue with provisioning LYNC accounts onPostUndoDeprovision with the Built in LYNC Attribute Triggers using the script below onPostUndoDeprovision Event Handler. The Change History indicates that the script fires and sets the attributes, but ARS never actually writes these attributes on the user object and never creates the LYNC account. I am able to use other event onPostModify, OnPostCreate...etc. I have tried most of the built in methods including writing the changes to another ARS Server with no success. I have created a workaround loading another shell using start-process passing the appropriate arguments to an external script but i would like to continue its usage as a last resort.

            $DirObj.put('edsva-Lync-Enable',$True)

            $DirObj.put('edsva-Lync-RegistrarPool',$MEMLYNCServer)

            $DirObj.put('edsva-Lync-SIPDomain',[string]$SIPDomain)

            $DirObj.put('edsva-Lync-SIPUserName',[string]$SIPUserName)

            $DirObj.put('edsva-Lync-SIPAddress',[string]$SIPAddress)

            $DirObj.setInfo()

Any suggestions?