Azure Active Directory Sync : erreur Windows Powershell 2.0 (DirSync)

Lorsque vous souhaitez installer l’outil Azure Active Directory Sync (DirSync) sur une machine Windows Server 2008 R2 en français, vous pouvez rencontrer l’erreur suivante :

The minimum version of Windows Powershell is 2.0. Please install the minimum version required (or higher) and try again.

 

Erreur Powershell Dirsync

 

Cependant, vous n’êtes pas sans savoir que Windows Server 2008 R2 est livré avec… Powershell 2.0 ! Vous ne devriez donc pas rencontrer cette erreur sur un serveur 2008 R2 ou supérieur.

 

Solution

Cette erreur est due à une mauvaise gestion du format régional par l’outil d’installation DirSync. En effet, le programme d’installation est incompatible avec le format régional français, qui a comme symbole décimal la virgule, au lieu du point aux Etats-Unis. Le problème est connu de Microsoft et sera corrigé dans la prochaine version de l’outil.

Pour pouvoir installer DirSync, vous devez donc changer temporairement le format régional de votre serveur en Anglais (Etats-Unis) le temps de l’installation.

 

Format régional Windows

 

Alernativement, vous pouvez également changer le symbole décimal en cliquant sur le bouton Paramètres supplémentaires.

 

Symbole décimal Windows

Cannot access to Teams Admin Center because of Administrative Unit Role Assignment

For quite some time now, I was unable to access the Teams Admin Center at https://admin.teams.microsoft.com. My account was the only one impacted as other admins could connect just fine. There are issues loading the site.We can’t get to the...

Avoid certificate prompt for Azure Active Directory Certificate-Based Authentication (CBA)

Azure Active Directory Certificate-Based Authentication (Azure AD CBA) allows you to authenticate to Azure Active Directory using a certificate from your internal Public Key Infrastructure (PKI). To know how to implement Azure Active Directory CBA, please refer to the Microsoft...

Manually re-enroll a Hybrid Azure AD Join Windows 10 / Windows 11 device to Microsoft Endpoint Manager without loosing the current configuration

Edit 01/06/2022 : updating this article to include Azure Virtual Desktop Windows 10 / Windows 11 multi-session enrollment command using Device Credential ——– There are several ways to enroll a Windows 10 PC to Microsoft Intune: Manually During the Out-of-the-box...