ADConnect reinstallation problem

Administrador Sistemas 1 Reputation point

Hi everybody.

Trying to start from scartch, I'd first disabled DirSync with

Set-MsolDirSyncEnabled -EnableDirsync $False

and then uninstalled ADConnect from Add/Remove programs.

My initial setup was with Hash sync and SSO.

Now, when I try to install again, I got an error telling that it's in a pending disabling state. If I check with


it's in a False state.

But PasswordSynchronizationEnabled is in true state.

At Azure portal, I can see that DirSync is not installed but Hash syn is still enabled, and SSO too. No other related is enabled.
Thanks for your help in advance.

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,648 questions
{count} votes

7 answers

Sort by: Most helpful
  1. Thierry DEMAN-BARCELO 476 Reputation points MVP


    when synchronization is disabled, you could have to wait until 72 hours before the change is fully applied to all users, converting them in managed accounts.

    That is the reason of the "pending state".

    After finishing this step, you would be able to reconfigure the new ADConnect server.


    1 person found this answer helpful.
    0 comments No comments

  2. Administrador Sistemas 1 Reputation point

    Thanks, I knew it, but the False state result of (get-msolcompanyinformation).DirectorySynchronizationEnabled, confuse me. I think it should be Pending.

    Today I manage to reinstall.


    0 comments No comments

  3. Administrador Sistemas 1 Reputation point

    I've uninstalled last wednesday and today (more than 72 h) when reinstalling got the same error, pending disable, but

    DirectorySynchronizationEnabled : False

    LastDirSyncTime : 20/05/2020 16:43:25

    LastPasswordSyncTime : 20/05/2020 16:45:58

    PasswordSynchronizationEnabled : True

    Need to wait more?

    0 comments No comments

  4. Administrador Sistemas 1 Reputation point

    Ok, I was checking the wrong parameter
    (Get-MsolCompanyInformation).directorysynchronizationstatus is still in PendingDisabled status so need to wait more (than 72 hours)

    0 comments No comments

  5. Manu Philip 14,541 Reputation points MVP

    Hello @Administrador Sistemas ,

    The steps below can help to resolve the issue:

    Run the PowerShell cmdlets:


    It it shows as "PendingEnabled" or "PendingDisabled" still, follow the below steps. It is a known bug and to report to Microsoft with the details

    Context ID: Type the following cmdlet and enter


    Service instance: Type the following cmdlet and enter


    Please mark as "Accept the answer" if the above helps you. Others with similar issue can follow the solution



    0 comments No comments