Can we get DL(distribution list) members to ServiceNow from AD?

amaradiswamy
Kilo Sage

Hi All,    


Can we get DL(distribution list) members to ServiceNow from AD?


Thanks & Regards,

Swamy

4 REPLIES 4

Robert Beeman
Kilo Sage

Are you already importing those AD groups through an LDAP integration? If so, the default onAfter transform script should have this line adding the members:


ldapUtils.addMembers(source, target);


Hi Beeman,



Thank you so much for your quick reply.



We are importing only users from AD to LDAP Integration.



We are maintaining the assignment groups in servicenow manually.



Could you please suggest me on how to get DL mebers and AD groups from AD.


You would need to import those Distribution Lists and let the transform script add the members to those groups. You could use the Groups LDAP OU Definition in the Example LDAP Server as a reference and modify the filter to only include the Distribution List AD Groups that you want. It would probably be easiest if they were all in the same OU.


Hi Robert,


I have a table called distribution group created for storing the DL's. I used ldapUtils.addMembers(source, target); but it doesnt add the members into a group. Any idea on why its not adding the members? Thanks in advance.