Test-AzureADConnectHealthConnectivity is not recognized

Andreas 1,301 Reputation points
2024-03-06T07:40:19.1566667+00:00

Hi,

We have a hybrid setup with Entra ID connect installed on our Windows Server 2022 domain controller. The sync service is running fine, and i cannot see any issues. Today we got a email notifying us about Health service data is not up to date.

We have check that the services are running, we have rebooted the server.

User's image

I was going to try the Test-AzureADConnectHealthConnectivity, but this command I cannot seem to find. I have imported AzureAD, but still no command. Is there another module I need to import ?

/R

Andreas

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

Accepted answer
  1. Timmerman, Michiel 140 Reputation points
    2024-03-06T08:52:15.2666667+00:00

    Seems to be a more global issue as we have it here too. Not much to do about until Microsoft fixes the issue.

    The module is located in C:\Program Files\Microsoft Azure AD Connect Health Agent\Modules, so import it from there to run the command(s).

    Import-Module "C:\Program Files\Microsoft Azure AD Connect Health Agent\Modules\AdHealthConfiguration\AdHealthConfiguration.psd1"

    13 people found this answer helpful.

16 additional answers

Sort by: Most helpful
  1. Pascal 0 Reputation points
    2024-03-06T08:08:40.1433333+00:00

    And for me, its not just the sync of accounts, but also the Password Hash Synchronization?

    User's image


  2. Hugo Santos 0 Reputation points
    2024-03-06T08:44:02.4066667+00:00

    Hello all,

    one more here.
    Everything running as usual, but a alarm has been raised by 6h00 AM GMT.

    0 comments No comments

  3. Andreas 1,301 Reputation points
    2024-03-06T08:51:39.5933333+00:00

    Hi,

    Hmm.. .this seems like a problem not locally on our end then, is there someone how can see if Microsoft has published anything about this ?

    /R

    Andreas


  4. Claudio 0 Reputation points
    2024-03-06T09:03:37.24+00:00

    Hi all from Switzerland,

    Glad I've found this post. We're on the same boat.

    Testet removing a User and creating a new one. Seems to work just fine.

    Regards