Share via

ProfilePicture

Anonymous
2015-09-24T08:00:54+00:00

Hi,

i've an office 365 account where i've set a profile picture via the OWA site.  Now i would like to use the profile picture in a different azure application and would like to access the picture using the graph api.

However when i query my user object via graphexplorer "https://graph.windows.net/achieve-it.be/users/1396066d-7687-4e92-8232-95ee6392fc67?api-version=1.6" i don't see a thumbnailPhoto.  When reading the documentation i should ask the thumbnailPhoto explicitly in my query.  So I tried using the link https://graph.windows.net/achieve-it.be/users/1396066d-7687-4e92-8232-95ee6392fc67/thumbnailPhoto?api-version=1.6 but then i get the response :

Error: 404 - Not Found
 See Response Headers for details.
{"odata.error":{"code":"Request_ResourceNotFound","message":{"lang":"en","value":"Resource 'thumbnailPhoto' does not exist or one of its queried reference-property objects are not present."}}}thank you for your assistanceYves
Microsoft 365 and Office | Subscription, account, billing | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2015-09-24T23:48:39+00:00

    Hi Yves,

    Photo is stored in mailbox not in thumbnailPhoto attribute. Meanwhile, we have a dedicated MSDN forum as Vasil mentioned for developers. You can post this question there via the following link:

    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/home?category=usingforums&filter=alltypes&sort=lastpostdesc

    Thanks for your time.

    Best regards,

    Ran

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-09-24T13:47:44+00:00

    If the user uploaded photo via OWA, it will be stored in his mailbox, not in the thumbnailPhoto attribute. Not sure if/how you can access this via the Graph API, you are probably better of asking this question on the MSDN forums.

    Was this answer helpful?

    0 comments No comments