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.

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

7 answers

Sort by: Most helpful
  1. Thierry DEMAN-BARCELO 476 Reputation points Microsoft 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.

    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.

    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?

    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)

    No comments

  5. Manu Philip 14,061 Reputation points Microsoft 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

    No comments