The specified module ‘adsync’ was not loaded because no valid module file was found in any module directory
- Radhakrishnan Govindan
- Jan 1, 2020
- 1 min read
Updated: Dec 29, 2023
Issue:
When trying to Import-Module Adsync it fails with below error
It is not shown in the available modules as well, when we run Get-Module
Resolution for this Azure AD Connect Issue:
Use the below command to get the AzureADSync Module imported manually from the AADConnect Installed Path Location
Import-Module –Name “C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync” -Verbose
Now do validate the Cmdlets of Azure ADSync and you could see it gets resolved without any issues.
Comments