How to fully remove AADConnect cloud sync?

Sebastien ROGER 6 Reputation points
2022-05-25T16:17:15.853+00:00

Hi,

I need to fully uninstall AADConnect Cloud Sync, but 3 settings still remain :

  • DirSyncServiceAccount
  • PasswordSynchronizationEnabled
  • And AADConnect Cloud Sync agent is still present, but status is inactive.

I have uninstalled the agent and all binary on AADConnect server and restarted the server.
On AzureAD i have :

  • deleted the account ADToAADSyncServiceAccount
  • deleted the AADConnect Cloud sync configuration
  • disabled the AADConnect sync with Set-MsolDirSyncEnabled

How to remove the last AADConnect Cloud Sync agent, disable PasswordSync and reset DirSyncServiceAccount in Get-MsolCompanyInformation?
THanks,

Information with Get-MsolCompanyInformation:

Get-MsolCompanyInformation | FL sync
DirSyncApplicationType          :
DirSyncClientMachineName        :
DirSyncClientVersion            :
DirSyncServiceAccount           : ADToAADSyncServiceAccount@X .onmicrosoft.com
DirectorySynchronizationEnabled : False
DirectorySynchronizationStatus  : Disabled
LastDirSyncTime                 :
LastPasswordSyncTime            :
PasswordSynchronizationEnabled  : True

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,464 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Sebastien ROGER 6 Reputation points
    2022-05-25T19:33:52.037+00:00

    Hi Cedric,

    Thanks but this article isn’t for AADConnect Cloud Sync.
    Uninstall AADConnect Cloud Sync is an other process and there’s very few information about it.

    1 person found this answer helpful.

  2. Cédric Perion 171 Reputation points
    2022-05-25T18:36:33.157+00:00

    Hi @Sebastien ROGER ,

    Hope you are doing well.
    To ununstall completely AAD Connect you can follow this link its well explained.

    https://www.alitajran.com/uninstall-azure-ad-connect/

    You will see part for ServiceAccount.

    ----------------------------

    Hope this helps,
    Perion Cédric

    Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.

    NOTE: To answer you as quickly as possible, please mention me in your reply.

    0 comments No comments

  3. GS 0 Reputation points
    2023-01-18T10:11:36.64+00:00

    same issue here...

    0 comments No comments