The specified module ‘adsync’ was not loaded because no valid module file was found in any module directory

Issue:

When trying to Import-Module Adsync it is failing with below error

It not shown in the available modules as well, when we run Get-Module

Resolution:

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.

Leave a Reply

Your email address will not be published. Required fields are marked *