Disabling Azure AD Connect

Stefan Diedericks 125 Reputation points
2024-01-09T09:00:00.5666667+00:00

Hi

I have some users left on prem and would like to convert them to Cloud accounts. I have come across a script to disable AD Connect and convert everyone at once 'Set-MsolDirSyncEnabled -EnableDirSync $false'.

However, I need to know that the users will not have any issues and that this will not reset their passwords.

Please advise on any possible user issues and whether their passwords will be reset.

Once everyone is cloud only I will remove AD connect

Regards

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. Thameur-BOURBITA 36,261 Reputation points Moderator
    2024-01-09T10:32:12.26+00:00

    Hi @Stefan Diedericks

    If you want users use the same password , you should enabling the synchronization of password hash before disabling the directory synchronization. If it's the case the user will able to resuse the same password when his Entra ID account will be converted to cloud only.


    Please don't forget to accept helpful answer

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sedat SALMAN 14,180 Reputation points MVP
    2024-01-09T09:15:24.8133333+00:00

    Disabling it client-side means objects continue to be managed on-premises, and updates made will not be synchronized to Azure AD. However, if you disable it server-side, as in your case using the 'Set-MsolDirSyncEnabled -EnableDirSync $false' command, the objects will be "converted" to cloud-only and can be managed directly in Azure AD/Office 365. After disabling Azure AD Connect, passwords will no longer sync from your on-premises AD to Azure AD. Azure AD offers a feature called password writeback, which allows you to sync passwords reset in the cloud back to the on-premises AD. This feature is useful if you are using federation or password hash sync. When enabled, if users reset their passwords in Azure AD, these changes can be synchronized back to your local AD environment. It's worth noting that this feature requires DirSync to be up-to-date and enabled​

    https://365tips.be/en/remove-azure-ad-connect-and-make-all-objects-cloud-managed/#:~:text=,Premise%20disappear%20instantaneously

    https://techcommunity.microsoft.com/t5/microsoft-entra-blog/deep-dive-password-reset-with-on-premise-sync-in-azure-ad/ba-p/243687

    1 person found this answer 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.