Online Docs

Get Avatar user

Retrieve the image of a user.

To return avatar of user from O365 using url: api/users/photo/Microsoft.Graph.User/{email}. To return avatar of user from source using url: api/users/photo/{source-code}/{user-id}.

1
2
3
4
5
GET api/users/photo/Microsoft.Graph.User/{email} 
--Cookie: graphNodeCookie=[ID]
Or
GET api/users/photo/{source-code}/{user-id}
--Cookie: graphNodeCookie=[ID] |

URL Endpoint

api/users/photo/Microsoft.Graph.User/{email-user}

OR

api/users/photo/{source-code}/{user-id}

Method

GET.

Parameters

No support OData Filter syntax.

Request Header

1
2
3
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]

Body

This method does not supply the request body.

Response

Success

Retrieve the image of user.

Comment

Was this article helpful?
Thanks For Your Feedback