Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community
SOLVED

ADSync Module

Deleted
Not applicable

Hi Guys,

I recetly installed the Azure AD Connect on a lab DC.
I cannot however find the ADSync Powershell module that should be installed along with this.
I have search the Powershell Gallery and onlne to no avail.

Has anyone came across this?

 

Thanks in advance

DC

6 Replies

If I am not mistaken, this should have been installed by default.  Are you importing it with import-module adsync ?

 

Also, are you getting any errors? Is ADSync working?

Hi,

when i run a get-module -listavailable it is not registed in that mdule list.

 

Regards

DC

I have found it.
I had to manually import the module psd1 from the path 
C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync

 

Thanks

DC

best response confirmed by Vijay Ukalkar (Microsoft)
Solution

In Powershell:

 

Import-Module –Name "C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync" -Verbose

That worked! Good stuff bro!

Interesting thing is even with the full path doesn't work on my machine... "Import-Module : The specified module 'C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync' was not loaded because no
valid module file was found in any module directory."
1 best response

Accepted Solutions
best response confirmed by Vijay Ukalkar (Microsoft)
Solution

In Powershell:

 

Import-Module –Name "C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync" -Verbose

View solution in original post