How to remove ADSync tool if access to the domain controller is unavailable

PCCAdmin 0 Reputation points
2023-05-06T03:53:22.0533333+00:00

Hardware: 2012 VMWare ESX 6 Host Server running iSCSI off a QNAP for an office.

Situation: Hybrid O365 with AD Sync Tool. Due to a downsize of their office, client removed the server from the environment. Looking to see if there there is a way to remove the AD Sync relationship and convert all users to be cloud users only managed from O365 directly? Or is it required to get the server back online to remove the AD Sync service/ tool?

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,538 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,908 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,781 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 96,516 Reputation points MVP
    2023-05-06T07:26:43.43+00:00

    You can disable dirsync from the cloud-side, which will also result in converting all users to cloud-only. The steps are covered here: https://learn.microsoft.com/en-us/microsoft-365/enterprise/turn-off-directory-synchronization?view=o365-worldwide

    In a nutshell, you need to connect via the MSOnline module and run the following cmdlet:

    Set-MsolDirSyncEnabled -EnableDirSync $false

    0 comments No comments