Reputation: 11543
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
Reputation: 4998
Update 2017: There is now a REST'ful way to get both of those pictures:
User : https://msdn.microsoft.com/office/office365/APi/photo-rest-operations#get-photo
Upvotes: 0
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
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
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