Sync SharePoint 2010 User Profile PictureUrl attribute with AD attribute

This Powershell script allows you to synchronize an Active Directory custom attribute with the SharePoint 2010 user profile service application PictureUrl property

 
 
 
 
 
4 Star
(3)
1,469 times
Add to favorites
SharePoint
5/2/2012
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • DotNetMethodExeption
    3 Posts | Last post September 19, 2012
    • Hi,
      
      When I try to run this code I get this error:
      Exception calling "FindAll" with "0" argument(s): "A referral was returned from the server."
      at file...
      + $colResults = $objSearcher.FindAll <<<< ()
      + CategoryInfo: NotSpecified: (:) [], MethodInvocationException
      + FullyQualifiedErrorId : DotNetMethodException
      
      What could be my mistake?
    • my LDAP connection was wrong...
    • Hi, that could indeed cause your error. Glad you were able to solve it.