Introduction
This posting consolidates notes with regard to rebuilding the User Profile Service Application. A rebuild is sometimes indicated when experiencing failures in the service application, failures in profile synchronization, or other UPA issues. This procedure focuses on UPA installation and assumes that My Site remains available and is not removed. You will need to keep at hand the service account (and pwd) used specifically to read user profiles from Active Directory. The connection type used in this rebuild is SharePoint Profile Synchronization.
This posting consolidates notes with regard to rebuilding the User Profile Service Application. A rebuild is sometimes indicated when experiencing failures in the service application, failures in profile synchronization, or other UPA issues. This procedure focuses on UPA installation and assumes that My Site remains available and is not removed. You will need to keep at hand the service account (and pwd) used specifically to read user profiles from Active Directory. The connection type used in this rebuild is SharePoint Profile Synchronization.
Procedure
- Prepare for rebuild
- Review UPA concepts
- Identify the SharePoint Setup User Administrator account and its password
- Identify the profile synchronization account and its password.
- Verify that it has been granted Replicate Directory Changes permission (needed when using SharePoint Profile Synchronization).
- Verify that the NETWORK SERVICE account has read permission to the SharePoint root folder ("15.0" for 2013).
- SharePoint 2013: Detection of product '{90150000-104C-0000-1000-0000000FF1CE}', feature 'PeopleILM', component '{1C12B6E6-898C-4D58-9774-AAAFBDFE273C}' failed.
- SharePoint 2013: UserProfileImportJob Generic failure
- Planning Deployment of Farm Solutions for SharePoint 2013
- Verify that there are no active synchronization connections.
- CA > Application Management > Manage service applications > User Profile Service > Profile Synchronization Status
- CA > Application Management > Manage service applications > User Profile Service > Synchronization > configure Synchronization Connections
- Remove the User Profile Service Application
- Create, edit, or delete User Profile service applications in SharePoint Server 2013
- Delete a service application in SharePoint 2013
- Remove-SPServiceApplication
- Stop any in-progress User Profile synchronizations
- Restart the SharePoint Timer Service
- Install a new UPA instance
- Plan user profiles in SharePoint Server 2013
- Create, edit, or delete User Profile service applications in SharePoint Server 2013
- Synchronize user and group profiles in SharePoint Server 2013
- Start the UPA instance
- CA > System Settings > Manage Services on Server > start the User Profile Service.
- Synchronize user and group profiles in SharePoint Server 2013
- Configure a new synchronization connection
- CA > Application Management > Manage service applications > User Profile Service > Synchronization > configure Synchronization Connections
- Synchronize user and group profiles in SharePoint Server 2013
- Launch a new synchronization
Additional References
- Delete the Service Applications of SharePoint 2013
- User Profile Database Architecture In SharePoint 2013
- Overview of the User Profile service application in SharePoint Server 2013
- Get-SPServiceApplication
- Restore a User Profile Service service application in SharePoint Server 2013
- Planning Deployment of Farm Solutions for SharePoint 2013: outstanding article for learning more concerning the details of file installation.
- SharePoint 2013 - The 15 Hive and other important directories
Notes
- Whatever account you use to perform this procedure, it must be the same account as that used to originally install SharePoint. Microsoft indicates that this should be the SharePoint Setup User Administrator account
- User Profile Synchronization Service stuck on starting: I found that even after removing the User Profile service application that the User Profile Synchronization Service remained stuck on Starting. Even restarting the server did not change this. After further exploration, I was able to change it into the Stopped state by performing the following steps:
- Get-SPServiceInstance: this returned a listing of service instances on all SharePoint servers. You can clean up the output by using: Get-SPServiceInstance | Where-Object {$_.Server -Like "*yourserver*"} | Select-Object TypeName, ID | Sort-Object TypeName
- Searched through this listing for User Profile Synchronization Service, and then noted its Id (not the UserProfileApplicationGuid).
- Stop-SPServiceInstance -Identity <theID>: checking in CA > Manage Services on Server, this changed the status to Stopping.
- Restarted SharePoint Timer Service: checked Manage Services on Server again, and after a few seconds, the status changed to Stopped.
2 comments:
I am getting a user not found error on the mysites. Any idea what this could be?
Can you provide the full context of this message?
Post a Comment