LDAP - Deactivating Groups in SN when deleted in Active Directory

Eric148
Tera Guru

I am looking for assistance with a solution to an LDAP issue I found recently.   When a group is deleted in Active Directory it continues to be active in ServiceNow.  The Updated field does not appear to be very useful in this case as it is not changing very often, even when new members are added to groups. 

 

Does anyone have a method of marking these deleted groups as Inactive?  

 

Thanks in advance,

10 REPLIES 10

This does not seem to work. The adGroupList is just getting filled with blank entries. I logged it in the onStart and onComplete to see what it has.. So the script is just disabling every group in my environment.