Pages

Wednesday, September 16, 2015

Enable cross domain sharepoint profile picture in sharepoint 2013

I just enabled custom claim provider Authentication in the 80 web application, After that I just enabled My Site with custom claim provider Authentication .

When I open my 80 website and click on the my site link then My Profile picture is not showing in the first time.  So I just enabled in the below solution. It is working fine.


Run the code in the PowerShell skills. Basically all you need to do is to set the CrossDomainPhotosEnabled property on the SPWebApplication object to true, like this:
 
 
 
 
asnp Microsoft.SharePoint.PowerShell
$wa = Get-SPWebApplication http://spsxyz.com
$wa.CrossDomainPhotosEnabled = $true
$wa.Update()