Forum Discussion
Deleted
Aug 09, 2017Getting a user's photo correctly in SharePoint Online
In a client-side solution, we often like to use our users photos in rollups, search results etc. and we were used to use this endpoint: /_layouts/15/userphoto.aspx?size=M&accountname=<accountName> ...
René van den Ouden
Jan 11, 2018Copper Contributor
We encounter the exact same problem, building an overview page with profile pictures of people.
Using the DelveApi.ashx we get the placeholder image for most of the other users. Some are shown.
Using the following Delve URL directly, we get a 401 when we are not logged in into Delve already:
https://eur.delve.office.com/mt/v3/people/profileimage?userId=user@domain.nl&UA=0&size=L
When we are logged in, in Delve, we see all their images.
Any thoughts?