.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

User profile sync - Replication of manager, physical office location and work phone number back to a

Posted By:      Posted Date: October 08, 2010    Points: 0   Category :SharePoint

SharePoint 2010 user profile synchronisation successfully up and running following the super guide from Harbar (thank you!).

Setup the property for first name to replicate back into active directory and this has worked perfectly.

Now trying to configure the following functionality and getting issues.

1] Allow the users to edit the manager property and replicate back into AD

2] Allow the users to change their phone number and replicate back to active directory

3] Allow the users to edit the office location using a drop down list.

So these are the problems

1] Allow the users to edit the manager property and replicate back into AD

Have made the property editable and the users can change it.  The org chart browser works using the new values.  The profile property, however, will not allow you to set is as 'user overridable' in central admin and it never goes back into AD.  Indeed there is a warning displayed in the users my site to this effect.

2] Allow the users to change their phone number and replicate back to active directory

Have made the property editable and the users can change it.  The profile property, however, will not allow you to set is as 'user overridable' in central admin and it never goes back into AD.  Indeed there is a warning displayed in the users my site to t

View Complete Post

More Related Resource Links

Sharepoint 2010: User Profile Sync with Person attributes

Sorry for opening another post following this, but I think this case is quite concrete: http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/2fa02093-630e-4131-bdc7-0b979067f601 When trying to configure in Sharepoint 2010 - User Profile Application, an additional sync source from BDC (as at least, one LDAP Profile is required). The first approach was to create a straightforward SQL Connection with SP Designer, and it seemed everything ok, except I'm not able to setup synchronization of "Manager" property, which is great in order to see Silverlight Organization Explorer Webpart. As I have read in the previous post, someone pointed to setup a BDC with Visual Studio 2010, so one attribute is of type: Microsoft.SharePoint.SPUser. It seamed very logical, and so I tried to do such task. Once I have deployed correctly a BDC with this strong type (SPUser), the result is that I'm still unable to see any attribute when trying to synchronize Manager attribute. In Sharepoint 2007 this was possible, but not able in SP 2010. Any idea of how to do it? Just a bug? I have one very dirty workaround: setup a Timer job to run after Sync, so I can setup this field by code. But, for doing this, I would not need to run Sync process with BDC anymore.    Evotec Consulting

Issues with updating Lists with Manager Names and User Profile Imports in SharePoint 2010 Server

I am having a curious problem with SharePoint 2010 Server. I have imported all the user profiles of our organization into SharePoint User Profile Service Application from our Active Directory. When the Manager name imports it comes in as domain/login. The organizational browser seems to work for MOST people, but not all. I believe this is contributing to my second problem, which is, I have setup a very simple workflow in SharePoint Designer that simply looks up the persons Manager, then places that information into a field called "Approval 1". After that it looks at Approval 1 and get the Manager name and populated "Approval 2" with that information, and so on. I have used an Impersonation Step as the Farm Administrator in the workflow and I have done it without the impersonation step. Both results in the same problem. When I enter my name into the list and run the workflow it runs beautifully give every manager up the chain to the top. However, if I put any other person's name in there it gives me the error "Workflow failed to get user profile for user: ____". I went to my supervisor's office and asked him to run the workflow. Using his login he had the exact same result--if my name was in there it worked great, otherwise, it gave an error. Any help with this strange error would be greatly appreciated.  Thanks

User Profile Sync not starting anymore

Hi! http://www.harbar.net/articles/sp2010ups.aspx Followed this guide to enable User Profile syncronization excluded the creation of the two Web applications and User Profile Service. I had these already setup by default when I installed SharePoint Server 2010. The first time I started Syncronization service it did succesfully started the Forefront services in windows and the sync service, but when I began configuring import connection settings I got connection to AD and saw all the users in AD groups, but never got it done because a error that said something about "??? WA"...don't remember anymore. I figured out that it was just because that I didn't do "IIS reset" nor the  system restart. So I did IIS reset and also restarted the system just incase. When system got back up ForeFront Manager Service was down, cause everyone told that you shouldn't mess around Service.msc so I figured that I could just stop sync service and start it again. And here I am figuring out why nothing will come back on. Both ForeFronts are in disabled state and sync service stopped. When I try to start sync service it tries a while, "ForeFront sync service" -startup change to automatic but returns to disabled state and in SharePoint sync service comes back to stopped state. Yes SharePoint farm account is in local admin group! Any suggestion

User Profile Sync - Profile Picture Export to AD Problem

To start, I think I've read every post/blog/etc there is on this subject.  Currently I have user profile import to Sharepoint 2010 working.  It imports profile data just fine.  Everything in the FIM Synchronization manager show success even.  Its the export from Sharepoint to AD of the user profile picture that isn't working at all.  I've gone thru the steps of adding the thumbnailphoto export under the picture properties.  I can see the export inside of the FIM manager.  I notice though that in FIM there is there a DS_EXPORT of the objects.  I've looked into the SyncDB and noticed in the metaverse table the SPS_MV_OctetString_PictureURL never gets updated with the information from the PictureURL column of the ProfileDB.  It is always Null.  Actually in FIM it only shows one person with an update, and keep showing the PictureURL property as being not applied, which is probably because it is showing it as blank only.  In the connector for the object in FIM, I get the error that I've seen in some blog posts where it says PictureURL (String) is not compatible with SPS_MV_OctetString_PicutreURL (binary), but that seems to be how Sharepoint builds the connection even though FIM finds it invalid.  I've had that created, deleted several times, so I guess that is ordinary, and not sure that is even the problem.

a bit confuse with the requirements of the user profile sync

Hi,   I'm setting up a SP 2010 farm environment, where I want to configure the user profile synchronization (AD based). After some difficulties resolved, I finally was able to make it works.   After that, the health analyser tells me it's bad to have services running with a user in the local administrator group. However, the setup guide tells me to add the user to the group.   In order to clarify, can you tell me what are the exact prerequisites of the user account for : * the service User profile synchronization service (same as farm admin service) ? On my farm, domain\spadmin by now * the instance of the user profile synchronization application ? On my farm, domain\spusersync   I've granted on the domain (w2K3 domain) all required permissions to write properties on both accounts (spadmin and spuser).   What are the next steps ? as my profile synchronization is set up, can I simply remove the user from the local admin group ?   thanks for clarifications, steve  Paying back the community for its help by writing articles : Have a Nice Day.Net Blog

User Profile Sync - Picture to thumbnailphoto export


Hi there,

I'm trying to get the staff pictures from My Sites to update the thumbnailphoto attribute in Active Directory.

I've setup the User Profile Sync, and I'm able to import and export to AD. However, I'm having a problem getting the Picture property to update the thumbnailphoto attribute. I can't find any errors, and it looks as though the sync is working to some extent because any previous information in thumbnailphoto is cleared after a sync.

If I look at what's going on in Forefront Identity Manager for 'DS_EXPORT', i can see that it has deleted the old value, and that the new value is empty.

Any suggestions are greatly appreciated!



Multi Tenant - User Profile Sync Issue




I ahve the user profile setup in partition mode. Every thin appears to be installed fine and running. On the main central admin page it list mulitple tenants. I have to seperate subscriptions setup with the following commands

Add-SPSiteSubscriptionProfileConfig -Identity $sub1 -ProfileServiceApplicationProxy $pUPSP -SynchronizationOU $ou -mysitehostlocation $mysiteurl

The subscription also has a featurepack and userauthenticationpath set


I recive the foloing erro when the MOS FIM connector tryes to export any user profiles

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Specified cast is not valid.
   at Microsoft.Office.Server.UserProfiles.ProfileChangeData.GetPartitionId(UserProfileApplicationProxy upaProxy)
   at Microsoft.Office.Server.UserProfiles.ProfileImportExportService.UpdateWithProfileChangeData(Int64 importExportId, ProfileChangeData[] profileChangeData)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,

Restarting Server: How to restart User Profile Sync Service?


Greetings all,


We had to restart our server, and once restarted, the User Profile Service (that we so laboriously fixed/reconfigured a month back) isn't starting. We get a retry on "User Profile Sync is provisioning, please wait..." before it terminates.

Can someone please recommend the best order in which to re-start the services so User Profile Sync restarts and continues to update?

Thanks SO MUCH,


Error adding connection filter for user profile sync


Trying to setup a connection filter for the user profile sync. I don't want to include any users in the sync with ExtensionAttribute12 = Exclude. When I click OK to confirm the filter, I receive the following error page:

An unexpected error has occurred.
C orrelation ID: 834e3e93-0b47-4d6b-a1f9-3bbc1c6a52df
Date and Time: 10/1/2010 1:32:33 PM

I have searched the logs for the correlation ID. I found the following error messages in the logs.

Failed to find the XML file at location '14\Template\Features\ExcelServerEditStapler\feature.xml'    c39758da-0b2b-4b84-969d-c24625b15963
Feature definition missing for Feature 'ExcelServerEditStapler' (Id: '

User Profile Synchronization service is not designed to work on a stand-alone installation


There were tons of discussions and blog posts about User Profile Synch service never starting. And now it appears that this is not even supposed to work....



User Profile Sync Service Crashed


I had set up the user profile manually by usiing the walk-through at http://www.harbar.net/articles/sp2010ups.aspx which seems to be the best post on this based on the attention it is getting.

I determined that  the User Profile service had no tbeen updating. I went to the connections page and the original connection was not listed. When I tried to create a connection it would give me the error "Cannot navigate to the requested page while user profile synchronization is running.  Please wait for the current Synchronization to finish"  So I tried to stop all Profile Jobs manually.

Still unable to get acces to create a new connection

Found a post that recomended hotfix KB983497 should help the user profile issues. Installed  that / rebooted.

Now I can not even navigate to the User Profile Management Page. Get an error "File Not Found , Correlation ID: d3e18550-edd0-4f9e-bf9d-eee89c5dc3af ".

I tried to uninstall this update but it will not give me that option. It also shows this installed 3 times with today's date as install date.

On the Manage Service on this server Page > User Profile Synchronization Service is stuck i

Cannot get user profile service application to work using the guide on harbar.net?



I'm hoping someone on here can help with this, as I've really been round the houses with this.

Anyway I've attempted to provision the UPS Service App probably 4 times now, each time learning more and more about the common problems.

The last time, I rolled my VM back to just after the installation of SharePoint 2010 binaries, and then ran the PCW and created the farm again from scratch.

I then followed this guide: http://www.harbar.net/articles/sp2010ups.aspx

Everything seemed to work perfectly well, after provisioning UPS I did a couple of iisresets as welll as execadmsvcjobs until I could see the timer job that provisions the FIM services.

These services came up and the following errors were reported in the event log:


The first one is lies, I did start the service and verified it was running, anyway for completeness:

"There are no instances of the User Profile Service started on any server in this farm. Ensure that at least one instance is started on an application server in the farm using the Services on Server page in Central Administration."

This one I have seen constantly on my Farm through various builds:

"An exception occurred when trying to issue security token: An error occurred while receiving t

Adding back deleted User Profile Property


I've made a bit of an error. My SharePoint User Synchroniztion was all setup and working with My Sites and My Profile but the address was being duplicated. I removed one of the user profile properties under the contact collection. Now SharePoint can't render the My Profile pages. With logging turned up I get the following:

Unhandled exception caught during execution of Microsoft.SharePoint.Portal.PageBase::ErrorHandler()

Watson bucket parameters: SharePoint Server 2010, ULSException14, 06d8f9f3 "sharepoint portal server", 0e00129b "14.0.4763.0", b2be5063 "microsoft.office.server.userprofiles", 0e001294 "14.0.4756.0", 4b9b2905 "sat mar 13 05:56:21 2010", 0000082d "0000082d", 00000049 "00000049", 10bc7a81 "propertynotdefinedexception", 37706d61 "7pma"

Microsoft.Office.Server.UserProfiles.PropertyNotDefinedException: Property Not Defined: SPS-Location.  An administrator must create this property in the Profile Administration tool.    at

Problem is if I try to recreate a User Property with the name SPS-Location it won't let me so how do I get this back?



How can I change identity of User Profile Sync Service?


1) I cannot remove duplicate managed account with remove-spmanagedaccount because this account is used by user profile synchronization service.

2) I cannot change the account in CA-Configure Service Accounts, it says "item has already been added..." because of duplicate managed account (1)

Is there a way of changing the account of user profile sync service so that it can be removed with remove-spmanagedaccount?


User Profile Sync with AD - very odd behaviour, some profiles not working


1 x SP WFE, 1 x Dedicated SQL backend

So this has been driving me mad now for over a week....

SharePoint Server 2010 Enterprise trying to sync 3000 users from Active Directory. Everything appears to be setup fine;

- Replicate directory changes granted
- Netbios fix applied with powershell
- SharePoint Sync Service running
- FIM services running (although one does occasionaly stop)
- August Cumulative Update applied

I have created the Service Application and the Connection to AD - choosing the OU's I want to sync.

3000+ user profiles appear to sync correctly, from Central Admin browsing through the users ALL of their profile information is complete and ready to go. No errors in MIISClient.exe or on the server anywhere.

The problem occurs from the front end when we try to add user to SharePoint groups. Seemingly by random one morning a large proportion of the user profiles when you browse for them through the SharePoint interface appear only as DOMAIN\USERNAME with no other profile information available.

If you login with one of these users (having granted them direct access) their login name top right is DOMAIN\USERNAME and in My Settings the profile information is BLANK.

After the user has logged in, 20 minutes later or so their profile information is suddenly avai

User Profile Replication Engine -



We're moving our production MOSS 2007 environment to new servers, and I'm attempting to use the User Profile Replication Engine to synch the data from old prod to new prod.  Everything seems to work like a charm, but after processing about 25-30 users out of 7800, the system just hangs, and every user after that logs an error in the logs:

CurrentProfileIndex: 24
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full xx.xx.xx.xx:5000
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] pa

User profile sync failing after changing username when another administrator got married recently.

I changed the username in Active Directory for the administrator who set up most of our Sharepoint 2010 server and now neither she nor I (as domain admin) can manage library settings, services on farm, or a number of other places where apparently sharepoint relies on user profile sync to succeed to grant privileges.  Checking back in the logfiles, it would appear that sharepoint profile sync hasn't been working since the last cumulative update but no one noticed (I don't adminster the server) until the sharepoint admin user person got married and their username (and display name) changed.  Since then, many links are broken in both central admin and all other sites.  The error is always the following (the date/time changes obviously):  "


User cannot be found.


Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: a13766dc-6604-46ef-9abc-e5daade

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend