Correct way to convert 365 tenant from AAD Connect Sync to cloud-only

Caspar - ABO 276 Reputation points
2024-04-30T15:08:44.93+00:00

Hi, about a year ago, one of my customers has enabled AAD Connect Sync to synchronize all users, security groups from their existing on-premise Active Directory to a freshly setup Microsoft 365 tenant. This past year all applications and services have been fully migrated to 365. (Teams, Exchange, Sharepoint)

The old Active Directory is no longer needed and we want to completely shutdown all remaining on-premise servers and get rid of all the old server-hardware.

The customer wants me to completely remove the old synchronization so that all objects become "cloud-only" in such a way that we can fully edit everything from the 365 portal and also create users from the tenant without having to first create them on-premise and wait for the sync to happen. There are no services or applications left that depend on the old AD. So this should be simple.

What are the exact steps to make this happen? Does the command "Set-MsolDirSyncEnabled -EnableDirSync $ false" still work? I'm having a little trouble finding what to do exactly in what steps, turn off the sync tool and then run this command (if still available?) Hopefully someone has the exact steps as multiple websites tell me a different story every time.

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 119.6K Reputation points MVP Volunteer Moderator
    2024-04-30T15:17:59.2366667+00:00

    The only thing you need to do is to disable the synchronization process, which indeed can be achieved by the above cmdlet. The Graph API/SDK does not currently offer a method to disable synchronization, so you're stuck with the good old Set-MsolDirSyncEnabled cmdlet.

    After you run the cmdlet, it might take some time to process the changes on the backend, depending on the size of your tenant. Once the process completes, you will be able to manage any previously synchronized object directly within the M365/Entra admin center, or via PowerShell/Graph API. No further steps are needed.

    Just for the sake of completeness, how are your users authenticating? Those additional steps you might have read about apply to scenarios where you have configured federation or leverages the PTA/SSO features that similarly redirect the sign-in process. If that's the case, additional steps such as converting the users or provisioning a password for them might be needed. If you are leveraging "native" cloud authentication or password sync, no further steps are needed.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 157.8K Reputation points MVP Volunteer Moderator
    2024-04-30T15:18:55.2666667+00:00

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.