Get profile pictures of all users in SharePoint hosted app (SharePoint online Office 365) issue in IE

394 Views Asked by At

I have created a SharePoint Hosted app to display all users (based on Search). Now the problem is that the profile pictures are not loaded in IE/Edge. (In Chrome it works).

But when I visit the location of the profile pictures in IE/Edge and refresh my app page it all works.. Location of profile pictures: : https://testdomain-my.sharepoint.com/User Photos/Profile Pictures/firstnameUser_lastnameUser_testdomainname_com_MThumb.jpg

Have someone an idea how to fix this issue?

Thanks in advance

1

There are 1 best solutions below

1
Anit On

You can Visit any user's Delve site. From there you can get User's display picture URL.Then you can format remaining user's Image URL in this format instaed of using "testdomain-my" URL format.