none
Public access to MySite User Photos / Profile Pictures

    Question

  • Hi,

    I have Microsoft SharePoint 2013 Enterprise, on premise.

    I have MySite with address https://mysite.mycompany.com 

    All user photos are imported from Active directory and are placed in Mysite as thumbnails with command:

    Update-SPProfilePhotoStore -MySiteHostLocation https://mysite.mycompany.com -CreateThumbnailsForImportedPhotos $true

    All users have their photo available on URL for example: 

    https://mysite.mycompany.com/User%20Photos/Profile%20Pictures/mycompany_myusername_LThumb.jpg

    What I want to accomplish that everyone on the Internet can access the following URL and download .jpg file, without having to authenticate or anything else.
    Please help...


    -- Hrvoje Kusulja

    Thursday, May 09, 2013 9:16 PM

Answers

  • Hi Hrvoje,

    You can try enabling the "Anonymous access" on your web application contained your MySite Host site per this article.

    Then go to your MySite Host site collection and select the option "Lists and library" on anonymous access settings page, then go to the User Photos library(e.g. http://yourMySiteHostSite/User%20Photos), check and make sure the option "View Items" permission is selected in Anonymous Access settings page per this article.

    Then you can access the photo picture url directly without user credential and password.

    Thanks


    Daniel Yang
    TechNet Community Support

    Friday, May 10, 2013 10:02 AM
    Moderator

All replies

  • Hi Hrvoje,

    You can try enabling the "Anonymous access" on your web application contained your MySite Host site per this article.

    Then go to your MySite Host site collection and select the option "Lists and library" on anonymous access settings page, then go to the User Photos library(e.g. http://yourMySiteHostSite/User%20Photos), check and make sure the option "View Items" permission is selected in Anonymous Access settings page per this article.

    Then you can access the photo picture url directly without user credential and password.

    Thanks


    Daniel Yang
    TechNet Community Support

    Friday, May 10, 2013 10:02 AM
    Moderator
  • Hi,

    thank you very much, this is a solution, it works.

    Tuesday, May 14, 2013 12:42 PM