Sharepoint 2010 AD Sync - missing picture from AD to pictureURL
-
Friday, July 16, 2010 2:35 PM
Hi all:
I have followed Jie Lie (Technical sharepoint Product Manger) steps in entirety (http://blogs.msdn.com/b/opal/archive/2009/11/19/user-profile-sync-setup-in-sharepoint-server-2010-beta.aspx), my sync with AD is working fine except it is not pulling the pictures in the AD.
Here is my issue, we have photos of all employees stored as domain.xyz.jpg in the custom attribute (emp_pics_2001) with type string, but the picture url type is url (is this the culprit type change), I am using the custom attribute to map the field in the Sharepoint 2010 miis client.
I am using the below url to do the set up: http://goodbadtechnology.blogspot.com/2010/05/setting-up-pictureurl-user-profile.html
i did check the profile db picture url field is NULL, i have all the other values for person except the picture.., I have already wasted more than 2 days in figuring this out
If i just get domain.xyz.jpg pulled to sharepoint, then i can prefix a url in front of it using powershell
I am using a full trusted service account with full permissions to the domainplease help me out..
thank you
Neel
neelbh@yahoo.com
All Replies
-
Thursday, July 22, 2010 6:16 PMHere are the links:
http://blogs.msdn.com/b/russmax/archive/2010/02/27/sharepoint-2010-profile-picture-property-101.aspx
http://technet.microsoft.com/en-us/library/ff182925(office.14).aspx
Question:
I already store pictures in Active Directory via the thumbnailphoto attribute. I would rather set my mapping to import and sync pictures from AD to SharePoint.
Answer:
The direction must be set to Export when syncing against the thumbnailphoto attribute. It’s possible to set a mapping as import but this particular mapping will not work against this attribute.
From the following:
http://technet.microsoft.com/en-us/library/ff182925(office.14).aspx
“In order to synchronize user profile pictures between Microsoft SharePoint Server, AD DS, and Outlook 2010 by using the Microsoft Outlook Social Connector, you must set the Data Source Connection for the Picture property mapping to Export. “
-
Thursday, July 22, 2010 8:03 PM
I have a support case with Microsoft about this issue. We store the photo in the AD Fields Thumbnailphoto, jpegphoto and a URL in the ExtensionAttribute1, photos work with Outlook 2010. yet we can't get Sharepoint to be able to pull these settings.
Dbiz comment is correct, the MS tech confirmed that setting to import does nothing and setting it to export is only supported. So it seems SharePoint 2010 is only capable of exporting images to AD. Which seems to be a terrible limitation concidering Moss 2007 could import from a URL field...
If anyone has an answer for this, please let us know.
-
Monday, July 26, 2010 2:21 PM
Kristofer,
Finally, it is working for me, I put in a complete URL of the photo in the Acticve directory, then it started pulling the pictures
we had just an image neel.jpeg, during shrepoint import it was not importing
I created url for the photos in extensionattribute7, it is all fine.
Thanks for all contributing to my problems
Neel
- Marked As Answer by Neel0 Monday, July 26, 2010 2:56 PM
-
Thursday, August 05, 2010 4:27 PM
Neel,
Hope you can help me. I am following the same article as you did.
http://goodbadtechnology.blogspot.com/2010/05/setting-up-pictureurl-user-profile.html
What was the field type you set for the new attribute in MIIS client? When I set it as string, it is not importing my picture URL to the PictureURL field.
I can see that the attribute is retrieve from Active Directory, but it cannot successfully export to SharePoint. The error message is: invalid-attribute-value
however, my data looks like: http://sites/photos/person1.jpg
So data is in the URL format which it should be expecting. Can you shed some light on field details?
Hope to hear from you soon.
Thanks,
nilesh
Sharepoint Exchange CRM BizTalk CMS LCS -
Friday, August 06, 2010 4:08 PM
Nilesh,
Here is what i did to get it right
I used extenattribute7 in AD to add some test photos
then I used the the extensionattribute7 map to the PictureURL attribute, (which is already existing)
Active Directory Domain Services - Configure attribute flow
MOSSAD-SHAREPOINT : extensionattribute7 -------> extensionattribute7
Extensible Connectivity - Configure attribute flow
PictureURL <------- extensionattribute7
also make sure when you define object type, Picture URL should be in "Must have attributes" list box
Let me know how it goes
Thank you
Neel
- Edited by Neel0 Friday, August 06, 2010 4:16 PM spelling
-
Saturday, August 07, 2010 1:04 AMcool. I directed the MS Tech to this forum. I tried the stuff in this thread and it's still not working for me...
-
Friday, August 13, 2010 12:37 PM
Hi,
I've created a simple visual web part to synchronize user profile photo export and import to and from the thumbnailPhoto Active Directory property:
Synchronizing user image between Active Directory and SharePoint profile
http://pholpar.wordpress.com/2010/08/10/synchronizing-user-image-between-active-directory-and-sharepoint-profile/I'm planning to create a timer job that does all these things (both export and import) as my time allows that. I'll update you about the results.
Peter
-
Monday, August 16, 2010 2:23 PM
Peter,
That would be cool.
I actually was able to synchronize pictures to SharePoint using the article from the good bad technologies link above. Not sure what was missing but after setting the properties a couple of times and performing a full sync, I was able to get the pictures to synchronize from AD.
Looking forward to your update on the web part. I am out of office for the next two weeks, but will test out your web part once I get back.
Cheers,
Nilesh
Sharepoint Exchange CRM BizTalk CMS LCS -
Sunday, August 22, 2010 9:30 AM
Out of curiosity how did you specify the extensionattribute, as it's never listed as a valid field inside the user profile property mapper and you can't manually type it in with 2010 like you could in 2007? I ask because I store the full url to pictures in extensionattribute3 and have no way of specifying it within 2010 as far as I can tell.Kristofer,
Finally, it is working for me, I put in a complete URL of the photo in the Acticve directory, then it started pulling the pictures
we had just an image neel.jpeg, during shrepoint import it was not importing
I created url for the photos in extensionattribute7, it is all fine.
Thanks for all contributing to my problems
Neel
-
Thursday, October 07, 2010 11:22 PMawesome keep us in the know. I had opened a case but MS wasn't able to get it to sycn either. I'll try this webpart
, Kristofer Olafsson -
Friday, December 03, 2010 5:20 AM
When you say complete URL, did you include the http:// ?Kristofer,
Finally, it is working for me, I put in a complete URL of the photo in the Acticve directory, then it started pulling the pictures
we had just an image neel.jpeg, during shrepoint import it was not importing
I created url for the photos in extensionattribute7, it is all fine.
Thanks for all contributing to my problems
Neel
-Mike -
Friday, December 03, 2010 2:55 PM
Mike,
Yes, I pointed the complete url, we have photos in one directory, we tacked on an url to that folder on server, that was it
let me know
Neel
-
Friday, December 03, 2010 2:56 PM
marten,
Just check the below URl, explains in detail on how to add an attribute, if you do not see one
http://goodbadtechnology.blogspot.com/2010/05/setting-up-pictureurl-user-profile.html
let me know
Neel

