question

TomD13 avatar image
0 Votes"
TomD13 asked CdricPerion-5162 commented

How to fully remove AADConnect cloud sync?

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@xxx.onmicrosoft.com
DirectorySynchronizationEnabled : False
DirectorySynchronizationStatus  : Disabled
LastDirSyncTime                 :
LastPasswordSyncTime            :
PasswordSynchronizationEnabled  : True








azure-ad-connectazure-ad-cloud-provisioning
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

CdricPerion-5162 avatar image
0 Votes"
CdricPerion-5162 answered

Hi @TomD13 ,

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TomD13 avatar image
0 Votes"
TomD13 answered CdricPerion-5162 commented

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.

· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @TomD13

Thank you for your post.

I would say that you need to check this "Azure AD Connect sync: Scheduler" as it is shown on the link below:

https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sync-feature-scheduler

Cheers,

Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

0 Votes 0 ·
TomD13 avatar image TomD13 ricardosolisvillegas-4678 ·

Sorry, again it’s not the classic AADConnect but the Cloud Sync version ;)

The sync between AD and AAD is already disabled with the MSOL module.
This module can’t revolve the remaining problems :
- DirSyncServiceAccount
- PasswordSynchronizationEnabled
- And AADConnect Cloud Sync agent is still present, but status is inactive.

0 Votes 0 ·

Hi @TomD13

Many thanks for your clarification... Yes it is only CloudSync and not using the normal AD connector : )

Now I am wondering if the steps taken to remove the agent were:

Microsoft Azure AD Connect Agent Updater
Microsoft Azure AD Connect Provisioning Agent
Microsoft Azure AD Connect Provisioning Agent Package

Looking forward to your response.

BR,

0 Votes 0 ·
Show more comments