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

gputker
Tera Contributor

Above I connected to Ms exchange because that's what was made available to me by our support team and the rights that they supplied to me.

 

Go to your Microsoft support team and tell them you want access to download/extract user profile data via the Graph api and they will be able to set you up and tell you what URI you need to hit to get the data. 

Hi gputker
Thanks for your post - it's really helpful!
So I've got my connection set up and receive a token and I'm just configuring the action but I can't see where you've got the variable for the resource path from?

Steve29_1-1700224986125.png

 


Is there a step prior to the action to set some variables that I'm missing?

With a resource path of '/v1.0/me/photo/$value' I get a successful request:

Steve29_0-1700224923941.png

Also in the Response Handling - where does the Attachment File Record come from? Is this a separate action that needs to be configured?

Steve29_2-1700225095759.png

 

I'm very new to Flow Designer so any help would be appreciated

Thanks

EB3
Kilo Explorer

how do we import profile photos from office 365 through Azure into service now?

gputker
Tera Contributor

Try my solution above

Kendal1
Tera Contributor

Hello,

 

anything new to this?