User Profile Sync Service stuck on starting

Alexandru ILIE 1 Reputation point
2021-03-30T14:22:10.11+00:00

I have a SharePoint 2013 farm, version 15.0.5259.1001, one web server and one application server. I had to rebuild the User Profile Service application. All fine and dandy until I try to start User Profile Sync service from Manage Services on server. I've done most of the checks found online with no success. The UPSS (User Profile Synchronization Service ) is stuck in starting. From the ULS logs : "03-30-2021 11:57:35.70 w3wp.exe (0x4408) 0x3CC8 SharePoint Portal Server User Profiles amrxy Medium Checking whether Site Creation online notification tooltip should be display. e04bb99f-9553-f05d-b5e1-1349df75a682" "03-30-2021 11:57:35.70 w3wp.exe (0x4408) 0x3CC8 SharePoint Portal Server User Profiles amrxz Medium Site creation online tooltip: hybrid is not configured yet. e04bb99f-9553-f05d-b5e1-1349df75a682" "03-30-2021 11:57:51.48 w3wp.exe (0x1C78) 0x0AC0 SharePoint Portal Server User Profiles ahqt1 Medium UserProfileDBCache.GetChangedDBItemsPrimaryKeys: m_AllPropertyIDs = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx14;22;5065;5061;5062;5040;5042;5091;5092;5093;5096;5097;5098; " "03-30-2021 11:58:51.49 w3wp.exe (0x1C78) 0x2724 SharePoint Portal Server User Profiles ahqt1 Medium UserProfileDBCache.GetChangedDBItemsPrimaryKeys: m_AllPropertyIDs = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;5061;5062;5040;5042;5091;5092;5093;5096;5097;5098; " "03-30-2021 11:59:51.50 w3wp.exe (0x1C78) 0x1324 SharePoint Portal Server User Profiles ahqt1 Medium UserProfileDBCache.GetChangedDBItemsPrimaryKeys: m_AllPropertyIDs = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx5061;5062;5040;5042;5091;5092;5093;5096;5097;5098; " "03-30-2021 12:00:51.51 w3wp.exe (0x1C78) 0x1C50 SharePoint Portal Server User Profiles ahqt1 Medium UserProfileDBCache.GetChangedDBItemsPrimaryKeys: m_AllPropertyIDs = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx5061;5062;5040;5042;5091;5092;5093;5096;5097;5098; " "03-30-2021 12:01:01.51 w3wp.exe (0x4408) 0x3EBC SharePoint Portal Server User Profiles amrxy Medium Checking whether Site Creation online notification tooltip should be display. 124cb99f-7593-f05d-b5e1-17574c07fbec" "03-30-2021 12:01:01.51 w3wp.exe (0x4408) 0x3EBC SharePoint Portal Server User Profiles amrxz Medium Site creation online tooltip: hybrid is not configured yet. 124cb99f-7593-f05d-b5e1-17574c07fbec" "03-30-2021 12:01:50.33 w3wp.exe (0x4408) 0x3E58 SharePoint Portal Server User Profiles ajk4d Medium UserProfileProperty_WCFLogging::Begin ProfilePropertyServiceClient.ExecuteOnChannel " "03-30-2021 12:01:50.33 w3wp.exe (0x4408) 0x3E58 SharePoint Portal Server User Profiles ajk35 Medium MossClientBase_WCFLogging::Begin MossClientBase.ExecuteOnChannel " "03-30-2021 12:01:50.33 w3wp.exe (0x4408) 0x3E58 SharePoint Portal Server User Profiles ajk36 Medium MossClientBase_WCFLogging:: MossClientBase.ExecuteOnChannel - Executing codeblock on channel " "03-30-2021 12:01:50.33 w3wp.exe (0x1C78) 0x1860 SharePoint Portal Server User Profiles ajk4b Medium UserProfileProperty_WCFLogging :: Begin ProfilePropertyService.GetProfileProperties " "03-30-2021 12:01:50.33 w3wp.exe (0x1C78) 0x1860 SharePoint Portal Server User Profiles ajk4c Medium UserProfileProperty_WCFLogging :: ProfilePropertyService.GetProfileProperties - Call userProfileApplication.GetProperties " "03-30-2021 12:01:50.33 w3wp.exe (0x1C78) 0x1860 SharePoint Portal Server User Profiles ajk33 Medium UserProfileProperty_WCFLogging :: Begin UserProfileApplication.GetProperties " "03-30-2021 12:01:50.33 w3wp.exe (0x1C78) 0x1860 SharePoint Portal Server User Profiles ajk34 Medium UserProfileProperty_WCFLogging :: End UserProfileApplication.GetProperties " "03-30-2021 12:01:50.33 w3wp.exe (0x4408) 0x3E58 SharePoint Portal Server User Profiles ajk37 Medium MossClientBase_WCFLogging:: MossClientBase.ExecuteOnChannel - Executed codeblock on channel " "03-30-2021 12:01:50.33 w3wp.exe (0x4408) 0x3E58 SharePoint Portal Server User Profiles ajk4e Medium UserProfileProperty_WCFLogging::End ProfilePropertyServiceClient.ExecuteOnChannel " "03-30-2021 12:01:51.52 w3wp.exe (0x1C78) 0x078C SharePoint Portal Server User Profiles ahqt1 Medium UserProfileDBCache.GetChangedDBItemsPrimaryKeys: m_AllPropertyIDs = xxxxxxxxxxxxxxxxxxxxxxxxxxxxx;5061;5062;5040;5042;5091;5092;5093;5096;5097;5098; " "03-30-2021 12:02:51.53 w3wp.exe (0x1C78) 0x2714 SharePoint Portal Server User Profiles ahqt1 Medium UserProfileDBCache.GetChangedDBItemsPrimaryKeys: m_AllPropertyIDs = xxxxxxxxxxxxxxxxxxxxxxxxxxxxx;5061;5062;5040;5042;5091;5092;5093;5096;5097;5098; " "03-30-2021 12:03:51.55 w3wp.exe (0x1C78) 0x2714 SharePoint Portal Server User Profiles ahqt1 Medium UserProfileDBCache.GetChangedDBItemsPrimaryKeys: m_AllPropertyIDs = xxxxxxxxxxxxxxxxxxxxxxxxxxxxx;5061;5062;5040;5042;5091;5092;5093;5096;5097;5098; " "03-30-2021 12:04:51.56 w3wp.exe (0x1C78) 0x187C SharePoint Portal Server User Profiles ahqt1 Medium UserProfileDBCache.GetChangedDBItemsPrimaryKeys: m_AllPropertyIDs = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;5061;5062;5040;5042;5091;5092;5093;5096;5097;5098; " "03-30-2021 12:04:51.56 w3wp.exe (0x1C78) 0x187C SharePoint Portal Server User Profiles ahqt2 Medium UserProfileDBCache.GetChangedDBItemsPrimaryKeys: changedItemPrimaryKeys.Count=3 "

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,229 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Echo Du_MSFT 17,116 Reputation points
    2021-03-31T02:06:30.327+00:00

    Hello @Alexandru ILIE ,

    Please perform the following troubleshooting:

    1)Security Token Service Application Pool is started

    Make sure that SecurityTokenServiceApplicationPool is started.

    82925-1.png

    Also, make sure you can browse the SecurityTokenService without any issue.

    83044-2.png

    2)The Forefront Identity Manager services are running properly. (for SharePoint 2013 / 2010)

    By default, the Sharepoint starts the Forefront Identity Manager services when the User Profile Synchronization Service is started. therefore, you should make sure that the below services are not disabled and its identity user credentials have been provided correctly.

    • Forefront Identity Manager Service.
    • Forefront Identity Manager Service Synchronization

    82926-3.png

    3)Recreate User Profile Sync Service Application

    Again, If you followed all the above steps and you are still facing “SharePoint User Profile Sync Service Stuck on Starting“, so you should delete the User Profile Service Appplication and create it again.

    4) Check Product and Patch Status

    Make sure that all updates have been applied on all servers successfully.

    82936-4.png

    • If the latest update was failed, try to fix the issues where you can’t rollback the update process.
    • Also, If your current installed update is old, try to patch your farm with the latest cumulative update.

    Thanks,
    Echo Du

    =====================

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.