Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Sync photos with AD

Brian Lancaster
Kilo Patron

I followed the KB article How to import photos from Active Directory (AD) into ServiceNow using an LDAP Import. But it is not pulling in any of the photos.

thumbnailPhoto - default was much longer then what shows in the article.

BrianLancaster_0-1748447115861.png

glide.ldap.binary_attributes 

BrianLancaster_1-1748447150146.png

glide.ldap.binary_attaributes (agent properties)

BrianLancaster_2-1748447206006.png

Also have the onAfter script as it it appears in the KB article.

 

Did I miss something? Sometimes nothing shows in sys_attachments and sometimes what I expect appear but its always for the same users.

 

6 REPLIES 6

I tried the updated function but that didn't make a difference.

Brian Lancaster
Kilo Patron

I think I figured it out. We seem to have a lot of users in AD who have pictures on there accounts but for some reason no thumbnail attribute in AD. This may be an AD issue as I did some google searching and found several things related to pictures showing in outlook and teams but there is no thumbnail attribute.