ADConnect reinstallation problem

Administrador Sistemas 1 Reputation point
2020-05-13T18:19:25.5+00:00

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

(get-msolcompanyinformation).DirectorySynchronizationEnabled

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.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,389 questions
{count} votes

7 answers

Sort by: Most helpful
  1. Thierry DEMAN-BARCELO 491 Reputation points MVP
    2020-05-13T20:35:22.87+00:00

    Hello,

    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.

    Bye.

    1 person found this answer helpful.
    0 comments No comments

  2. Administrador Sistemas 1 Reputation point
    2020-05-18T15:22:48.597+00:00

    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.

    Regards.

    0 comments No comments

  3. Administrador Sistemas 1 Reputation point
    2020-05-25T15:23:40.6+00:00

    HI.
    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
    2020-05-25T16:06:03.217+00:00

    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 16,966 Reputation points MVP
    2020-05-25T16:23:20.067+00:00

    Hello @Administrador Sistemas ,

    The steps below can help to resolve the issue:

    Run the PowerShell cmdlets:

    Connect-MSOLService   
    
    (Get-MSOLCompanyInformation).DirectorySynchronizationStatus  
    

    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

    (Get-MSOLCompanyInformation).objectID   
    

    Service instance: Type the following cmdlet and enter

    (Get-MSOLCompanyInformation).AuthorizedServiceInstances   
    

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

    Regards,

    Manu

    0 comments No comments