User Profile Sync Service stuck on Starting, Multi Tenant version


Spent some quality time configuring a SharePoint 2010 Multi Tenant environment.  It’s a really cool feature for hosting scenarios in which you need to ensure client data is isolated at the service application level.  Check out Spencer Harbar’s Rational Guide to Multi Tenancy and the Microsoft Hosting Model Poster for info on setting it up.

I ended up making a major mistake in the User Profile service application proxy command.  I was copying and pasting some of the PowerShell commands from another set of scripts I had, and didn’t notice the –PartitionMode switch was missing on the New-SPProfileServiceApplicationProxy command.  Everything in the Manage Service Application page looked correct, but the User Profile Synchronization service would hang on Starting.

Somehow, I managed to miss the following ULS entry…multiple times…face palm :

OWSTIMER.EXE
SharePoint Portal Server
User Profiles
g11n
High
UserProfileApplicationProxy.InitializePropertyCache: Microsoft.Office.Server.UserProfiles.UserProfileException: The User Profile Application Proxy has different partition options than the User Profile Application it is connected to. at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.RefreshProperties(Guid applicationID) at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValueNow(K key) at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValue(K key, Boolean asynchronous) at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.InitializePropertyCache() dda9a914-b654-4ae2-989a-634b1f462aea

I checked my script, and confirmed the –PartitionMode switch was missing from my proxy command.  Recreated the proxy with the right switch, and the User Profile Synchronization service started.

Skip to main content