2

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 ?

Thanks!

2
  • Issues occur when images are not published. Commented 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 ? Commented Nov 29, 2016 at 10:47

1 Answer 1

4

You need to enable cross domain photo setting.

Try below code:

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

Reference- Enable cross domain photo

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

Your Answer

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

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