Can’t stop Azure AD Connect Service

Have an on-prem server for Azure AD Connect service. Today I noticed that a Delta Import (we run a delta sync on the scheduler every 30 mins) was In-Progress with no estimated end time. It is sitting like that until the next scheduled sync, then it terminates it and starts the cycle over again.

I think I have pinpointed the issue (it’s with a change to the ADSYNC account) but I am unable to stop the AD Connect service to change the run profile properties.

I have:
– tried to stop the run profile from MSIClient (it just saying stopping and then running again immediately)
– tried to force stop the scheduler from powershell (hangs forever)
– tried to force stop the service on the server (hangs forever then errors out)

No windows updates have been applied in the last week and no one has touched the sync service on the server for over a month.

Event logs aren’t providing any information at all other than ProvisioningServiceAdapter::ExecuteWithRetry: Action: ImportV1 will be retried after 00:00:15. Attempt 0 of 5.

Is there any way to force stop this service beyond what I have tried? Anyone else experiencing this problem?

Sync Problem

Answer

If you run Azure AD Connect in configuration mode the synchronizations will stop.

Attribution
Source : Link , Question Author : Madwic , Answer Author : user5870571

Leave a Comment