If your User Profile Sync service Stuck on Starting. First thing you need to do is change the service status to Stop using below Powershell.
Add-PSSnapin Microsoft.SharePoint.Powershell
$TypeName = "User Profile Synchronization Service"
$ServerName = "Server Name"
$Serviceinstance = Get-SPServiceInstance | where-object {$_.TypeName -eq $TypeName -and $_.Server.Address -eq $ServerName}
$Serviceinstance.Unprovision()
Now, Go to Service.msc and check if both ForefrontIdentityManager Services are disabled.
- Run(Ctrl + R), type mmc.exe
- Click on file -> add/remove snap in
- select Certificates and click Add on Certificates snap-in screen choose Computer account
- select local computer and click finish
- click ok on "Add or remove snap-ins" screen
- go to Console root -> certificates -> Trusted Root Certification authorities -> Certificates -> Select all ForefrontIdentityManager certificates and delete them.
- Look for FIM certificates in other folder also if you find any delete them.
- Once all the certificates has been removed. Try to start the UPA sync service.
This time it wont be getting stuck.
Hope this post will help you out :)
No comments:
Post a Comment