Disable AD Connect

azure-training2 31 Reputation points
2020-11-03T18:18:53.267+00:00

For the love of god can someone tell me how to turn AD Connect off? This is a training account, the on-prem server doesn't exist anymore, I am just trying to delete everything and kill AD connect. I get emails all the time saying this.. I do not care, how do I stop it from notifying me?

"Your identity synchronization from on-premises is unhealthy"

37126-image.png

I am able to connect to my Azure account using PowerShell (connect-azaccount), but none of the Get/Set-Az commands seem to have the ability to enable/disable AD Connect features. I've found tons of articles related to some msol cmdlet set, but I cannot connect to my azure account with that module at all. Tried to contact M$ support, they won't talk to me. Free chat support never loads and they want money.

Regards,
Adam Tyler

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

Accepted answer
  1. Danny Zollner 10,801 Reputation points Microsoft Employee Moderator
    2020-11-03T18:43:10.557+00:00

    Hi @azure-training2 - please see the following document: https://learn.microsoft.com/en-us/microsoft-365/enterprise/turn-off-directory-synchronization?view=o365-worldwide

    You'll need to install the MSOnline (Azure AD v1 PowerShell) module, and then run Set-MsolDirSyncEnabled -EnableDirSync $false. This will disable directory synchronization on your Azure AD tenant and will convert all synchronized objects (DirSyncEnabled = True) to cloud objects(DirsyncEnabled = False).

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Najwan Khazem (MEA) 1 Reputation point
    2024-02-04T07:00:01.05+00:00

    i have a question that cant find its answer when we stop the synchrnization and users are covnerted to cloud mode. what will be the password, they can keep using the same AD password or the password is autmtically reset?

    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.