Scheduled LDAP update of departments

timothycott
Tera Contributor

Hello all,

 

My company uses a separate SSO provider that provisions accounts, but it unfortunately will not create departments if the user's department does not already exist. I have completed our LDAP integration and was hoping to setup a scheduled import from LDAP that only updates the department field of each user in ServiceNow, and creates the department if it doesn't already exist. The problem is that I am unsure how to accomplish this. Any help would be greatly appreciated.

2 REPLIES 2

timothycott
Tera Contributor

I was able to resolve this myself by creating a new data source for it that only gets the fields I needed to validate the account and the field I wanted to update (Department). I then built a custom transform map and it worked perfectly.

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @timothycott 

 

LDAP prime purpose is to get the users and roles from AD to SN. As you want to bring deparemmt so it like you need to integration the way it has been doen from user and groups.

 

You can create the import set table and then map that to the target table on SN.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0961314

 

https://www.servicenow.com/docs/de-DE/bundle/xanadu-platform-security/page/integrate/ldap/concept/c_...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************