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,869 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. Nathan BENICHOU 5 Reputation points
    2024-03-06T11:03:29.86+00:00

    Alert resolved by Microsoft for us in France!

    Thanks to everybody

    0 comments No comments

  2. D'Ambrosio Igor 0 Reputation points
    2024-03-06T11:09:07.24+00:00

    Works again for us in Switzerland

    0 comments No comments

  3. T.Wunderlich 0 Reputation points
    2024-03-06T11:13:57.58+00:00

    Last Email says "Alert resolved for XY"

    Looks like the issue was solved

    0 comments No comments

  4. Rich Bartlett 0 Reputation points
    2024-03-06T13:13:38.35+00:00

    Running the connectivity test I got a 404 response:

    Server rejected Eventhub data upload, here is the exception: System.Net.WebException: The remote server returned an error: (404) Not Found.

    So something at MS end is not happy.

    I had this for a client and their system is now reporting it's happy but my own is still unresolved.

    0 comments No comments