Photo by AbsolutVision / Unsplash
Entra Connect health for ADDS sur serveur Core

Entra Connect health for ADDS sur serveur Core

Published on 22 Aug 2024

Bastien Perez
Bastien Perez

Clap

Information officielle de Microsoft

L'agent Microsoft Entra Connect Health n'est pas officiellement pris en charge par Windows Server Core.

Windows Server Core doesn't support installing the Microsoft Entra Connect Health agent.

source : https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-health-agent-install

Entra Connect Health for ADDS et DC en serveur Core - solution

Pour minimiser la surface d'attaque, de nombreux contrôleurs de domaine sont maintenant dans l'édition Server Core.

L'agent Entra Connect for ADDS s'installe sans problème, mais l'exécution de Register-MicrosoftEntraConnectHealthAgent génère un message d'erreur.

Pour résoudre ce problème, installe le pack de compatibilité.

# Force TLS1.2 dans la session PowerShell en cours
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [N                et.SecurityProtocolType]::Tls12

# installe le pack de compatibilité
Add-WindowsCapability -Online -Name ServerCore.AppCompatibility~~~~0.0.1.0

(Si la commande précédente a échoué, essayez encore une fois).

Redémarre le serveur.

Tu peux désormais exécuter la commande Register-MicrosoftEntraConnectHealthAgent sans problème. Ton DC remontera dans Entra ID Connect Health.

Comments

banner-Bastien Perez
Bastien Perez

Freelance Microsoft 365 - Active Directory - Modern Workplace

France