How to Map (Sync) profile photo from Azure AD

ahmed26
Tera Contributor

Hi Team,

We have requirment to map Profile photo from Azure to ServiceNow. Is it possible and anyone done it?

Thanks,

Ahamed Rahiman

23 REPLIES 23

corina
ServiceNow Employee
ServiceNow Employee

Hello Ahamed.



Many users are using this way ti import from LDAP:


Import User Photo from LDAP — ServiceNow Elite


ahmed26
Tera Contributor

Thanks Corina, However we do not have any LDAP integration with AD Server. We are using only Azure AD integration for user population.


lks
ServiceNow Employee
ServiceNow Employee

Hello Ahamed,



When you're not using LDAP integration and instead using Azure then the only option left to try this is SAML user provisioning. Have you configured Azure using MultiProvider SSO or old SAML plugin. When using MultiProvider SSO, you see an option of Auto Provisioning User, you need to enable it. Enabling this option allows to import uses data from Azure directory with the parameters configured on your Azure side.



Importing profile photos from Azure AD is not OOB and little difficult therefore, you may use below logic for this implementation:


1. Try sending profile in base 64 format from the AD


2. User provisioning data comes in the form of SOAP transactions.


3. Add the related logic in the respective transform map for moving those images from source to target.



Please note, I just shared an idea what comes to my mind but I have never implemented it. Please give it a try and we'll be glad to assist you further when possible.


ahmed26
Tera Contributor

Thanks Lalit, We are configured the integration from Azure AD Management console and were able Sync the users to ServiceNow with most of all attributes, I will check for how they are sync the profile photo from Local AD to Azure AD and the format stored in Azure.