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?

Exchange Hybrid management
Microsoft Security Microsoft Entra Microsoft Entra ID
Windows for business Windows Server User experience Other
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
    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

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.