People Search Core results Web Part is prompting user credentials for each result on the page. For instance if I get 3 results, the credentials prompt is appearing three times. I suspect that these prompts are only for the images of the user as other properties are getting displayed if I cancel the prompt. Is there a workaround for this issue ?


  • Issues occur when images are not published. Nov 29, 2016 at 10:34
  • Those images are not a part of site assets. They are profile pictures from user profiles. Do they need publishing as well ? Nov 29, 2016 at 10:47

1 Answer 1


You need to enable cross domain photo setting.

Try below code:

$wa = Get-SPWebApplication http://sitecollectionurl
$wa.CrossDomainPhotosEnabled = $true

Reference- Enable cross domain photo

  • This works for all subsites too , right ? Nov 29, 2016 at 10:45
  • 1
    yes for subsites in this web application. Nov 29, 2016 at 10:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.