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!

  • Issues occur when images are not published. – Rishi Jagati Nov 29 '16 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 ? – Yashwanth Rao Nov 29 '16 at 10:47
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

  • This works for all subsites too , right ? – Yashwanth Rao Nov 29 '16 at 10:45
  • 1
    yes for subsites in this web application. – Gautam Sheth Nov 29 '16 at 10:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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