did you check Sharepoint logs (ULS) and Windows Event log like it suggests? It may contain more details of the error.
AD Synchronization issue in SharePoint 2013 Issue
We are Facing and AD synchronization issue, user profile are not get synced with AD.
When I trying to open User profile service Application following error occur " Sorry, Something went wrong error" has been occurred. (Snapshot1 is attached)
when i try to start and stop the User Profile services from "Manage services on SERVER", it is get hanged in stopping stage. (Snapshot2 is attached)
but in the manage services application it is showing started but when i try to open it gives error.
i also checked in the windows services and when ever i try to start forefront identity manager services' it is showing error (Snapshot3 is attached
3 answers
Sort by: Newest
-
-
Tehreem Mujeeb 1 Reputation point
2022-04-11T10:12:51.227+00:00 Hi Concerns,
I was trying to execute the above commands below are the outputs.
==========================================================================
PS C:\Users\spfarm> Get-SPServiceInstance | where {$_.typename -eq "User Profile Synchronization Service"} | select Server, Status, ID | FLServer : SPServer Name=##########
Status : Provisioning
Id : ca496801-51ab-4f2c-b012-0bd9aca825efPS C:\Users\sp####> Stop-spserviceinstance -id ca496801-51ab-4f2c-b012-0bd9aca825ef
Confirm
Are you sure you want to perform this action?
Performing the operation "Stop-SPServiceInstance" on target "ProfileSynchronizationServiceInstance".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
Stop-spserviceinstance : An object of the type Microsoft.SharePoint.Administration.SPServiceInstanceJobDefinition named "job-service-instance-ca496801-51ab-4f2c-b012-0bd9aca825ef" already exists under the parent Microsoft.SharePoint.Administration.SPTimerService named "SPTimerV4". Rename your object or delete the existing object.
At line:1 char:1- Stop-spserviceinstance -id ca496801-51ab-4f2c-b012-0bd9aca825ef
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidData: (Microsoft.Share...ServiceInstance:SPCmdletStopServiceInstance) [Stop-SPServiceInstance], SPDuplicateObjectException
- FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletStopServiceInstance
PS C:\Users\spfarm> $Timer = Get-SPTimerJob -Identity "job-service-instance-ca496801-51ab-4f2c-b012-0bd9aca825ef"
PS C:\Users\spfarm> $Timer.Delete()
PS C:\Users\spfarm> Stop-spserviceinstance -id ca496801-51ab-4f2c-b012-0bd9aca825efConfirm
Are you sure you want to perform this action?
Performing the operation "Stop-SPServiceInstance" on target "ProfileSynchronizationServiceInstance".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): YTypeName Status Id
User Profile Synchronization ... Unpro... ca496801-51ab-4f2c-b012-0bd9aca825ef
PS C:\Users\spfarm>
-
Emily Du-MSFT 41,941 Reputation points Microsoft Vendor
2022-04-07T09:21:18.747+00:00 Please use following steps to stop the User Profile Sync Service.
1.Run below PowerShell in the SharePoint Online Management Shell.
Get-SPServiceInstance | where {$_.typename -eq "User Profile Synchronization Service"} | select Server, Status, ID | FL
2.From the output, find out the server with Status as "Unprovisioning". This is the server where the User Profile Sync service is stuck in Stopping stage.
3.Run below PowerShell in the SharePoint Management Shell to stop the User Profile Sync service.
Stop-spserviceinstance -id <GUID for the Synch service>
4.Wait for few minutes and check the status of the User Profile Sync service again.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.