How to uninstall AD sync with on premise without Azure AD Connect

Piotr Janiszewski 21 Reputation points
2021-10-12T09:19:11.663+00:00

Hi,

How can we break AD sync with our on premise server without Azure AD Connect installed at the on premise server?

We had windows server 2019 with working Azure AD Connect Agent and we must reverted it to backup with windows server 2016. Additional we plan to move this on premise server to Azure cloud. And here is our question. How we can break Azure AD sync with our on premise server without Azure AD Connect installed? We can't install Azure AD Connect agent on windows server 2016 because of it requirements.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,928 questions
{count} votes

Accepted answer
  1. VipulSparsh-MSFT 16,281 Reputation points Microsoft Employee
    2021-10-12T09:53:17.11+00:00

    @Piotr Janiszewski Thanks for reaching out.

    You can run this command in Powershell to turn the sync off.

    Set-MsolDirSyncEnabled -EnableDirSync $false  
    

    Also do note that, If you use this command, you must wait 72 hours before you can turn directory synchronization back on.
    Check the official document here : https://learn.microsoft.com/en-us/microsoft-365/enterprise/turn-off-directory-synchronization?view=o365-worldwide

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

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.