In this article, I will solve the below issue
User Profile Synchronization Service Stuck on ‘Starting’
In SharePoint 2013, I tried to start the User Profile Synchronization Service (UPSs) by doing the following:
- Open Central Administration > Manage Services On Server
- Beside User Profile Synchronization Service > I clicked Start.
- The service status is changed from Stopped to “Starting” and after 20 minutes the status is still “Starting” and then stuck as shown below:
Before starting the User Profile Synchronization Service, you should do the following:
Add the farm account to the Local Administrator group
- You should use the farm account to start the User Profile Synchronization Service.
Note: The farm account is the user that used to configure the farm during installing the SharePoint.
- Make sure that the farm account is a member of the Local Administrator group on the SharePoint Application Servers that you indent to run the User Profile Synchronization Service.
- Server Manager > Configuration > Local Users and Groups > Groups > Right click on Administrators group > Select Add to Group. In the Administrator Properties windows > click on Add.
Note: Adding the farm account to local administrator group is required only to start the User Profile Synchronization service.
After starting User Profile Synchronization service, you should remove the farm account from the Administrators group.
Note: Any changes to the farm account, requires restarting the SharePoint Timer service or restart the server.
This ensures that every SharePoint service that is currently running as the farm account is using the latest credentials.
Add the User Profile Sync Service account to Farm Administrator group
- Central Administration > Security > Manage the farm administrator Group.
- User Profile Sync Service account to Farm Administrator group.
Additional User Profile User Profile Synchronization Service prerequisites
- Ensure the User Profile Sync Service account is a member of “WSS_WSP” and “WSS_Admin_WPG” group.
- Delegate the User profile Synchronization account to have Replicating Directory Changes as mentioned in Replicate Directory Changes permission for its service account.
- Make sure that all updates have been applied successfully to all servers.
Note: In case, you have SharePoint 2013 SP1 with SQL Server 2014, you must patch your farm with a cumulative update May 2014 or later to can start User Profile Sync Service.
- Make sure that SecurityTokenServiceApplicationPool is started.
- Make sure that IIS authentication > Anonymous > Edit > Specific User is IUSER as shown below.
- Make sure that the following services are running
- Forefront Identity Manager Service.
- Forefront Identity Manager Service Synchronization
- Make Sure that the User Profile Service account has relevant permission in the user profile services.
Stop the SharePoint Application Service via PowerShell
After applying the above User Profile Sync Service Checklist, you will now able to start it without any issue.
get-spServiceInstance #to list all Application Services stop-spServiceInstance -identity "UPS Service GUID fro previous command result"
Start the User Profile Synchronization Service
- Open Central Administration > Manage Services On Server.
- Search for the User Profile Synchronization Service, start it.
If the User Profile Synchronization Service still stuck,
- Delete it > Create a new one.
- Open Central Administration > Application Management > Manage service application.
- SharePoint 2013.
- SharePoint 2010.
- This User Profile Application’s connection is currently not available
- User Profile Synchronization Service Starting and Stopped
- Delegate the user profile synchronization service account to have a replicating directory change in SharePoint server.