We are looking to sync our AD Windows 2012 R2 to Azure AD using the command:
Start-ADSyncSyncCycle -PolicyType Delta
We have imported the module using:
Import-Module -Name "C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync" -Verbose
But we still get the error:
Start-ADSyncSyncCycle : The term 'Start-ADSyncSyncCycle' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ Start-ADSyncSyncCycle -PolicyType Delta
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Start-ADSyncSyncCycle:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Please advise how to get the ADSyncSyncCycle cmdlet installed.
Thanks