Uninstall Azure AD Connect
In this article we are going to uninstall AD Connect because the customer is fully migrated to the cloud.
On the server where AD Connect is installed run the following powershell commands:
1
2
Import-Module ADSync
Set-ADSyncScheduler -SyncCycleEnabled $false
Verify that the sync is disabled:
1
Get-ADSyncScheduler | ft SyncCycleEnabled
Then connect to the Azure tenant:
1
Connect-MsolService
Turn off DirSync:
1
Set-MsolDirSyncEnabled -EnableDirSync $false
Verify that the sync is disabled:
1
(Get-MSOLCompanyInformation).DirectorySynchronizationEnabled
Next:
Uninstall Azure AD Connect from server
- Click on Start > Control Panel > Programs and Features.
- Click on Microsoft Azure AD Connect and press on Uninstall.
- The Uninstall Azure AD Connect wizard shows up. Check the checkbox Also uninstall supporting components. Click Remove
This post is licensed under CC BY 4.0 by the author.