Map AD enable value to ServiceNow using LDAP

Admin7267
Tera Guru

We're storing the AD admin account data in one of the custom table u_admin and the issue we're facing is when admin account in AD is inactive we're trying to get 'userAccountControl' values from AD and updating same account inactive in u_admin in ServiceNow.

 

Admin7267_0-1757125455226.png

 

Now I wanted to validate if admin account is active or not using Enable field in AD and if enable is false for a particular account then I wanted to make admin account active false in custom table u_admin 

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@Admin7267 

how are you grabbing the Admin account from LDAP and storing in custom table?

In that logic itself you can handle this part as well

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader