pasine
pasine

Reputation: 11543

Retrieve user photo with Office365 REST API

I am using Office365 REST API to get details about my contacts, but I noticed there is no information about user's profile picture in the response.
I suppose I need to retrieve in some other way, but I wasn't able to figure out how.
Any suggestion?

Upvotes: 4

Views: 9011

Answers (4)

Syed Muhammad Ahmad
Syed Muhammad Ahmad

Reputation: 438

I think you would lose your time because there is no image property returned bu graph api. I already checked it.

Upvotes: 1

Jason Johnston
Jason Johnston

Reputation: 17702

Right now, the REST APIs don't support contact photos or user profile photos. We're working on adding that soon. Keep an eye on our blog or follow me on @JasonJohMSFT) for announcements regarding new features.

UPDATE: The User Photo API is now in preview: https://msdn.microsoft.com/office/office365/APi/photo-rest-operations

Upvotes: 6

Venkat Ayyadevara - MSFT
Venkat Ayyadevara - MSFT

Reputation: 2893

Thanks for your interest in Office 365 REST APIs! We don't yet support retrieving user's picture but it is in the works. Stay tuned for an update from us on http://blogs.office.com/dev/ when this feature is ready.

In the mean time, you could use our Exchange Web Services SOAP API to retrieve the user's picture. See here for more info. Let me know if you have any questions or need more info.

Thanks,

Venkat

Upvotes: 1

Related Questions