Are you running the command on the AADConnect Server?
Start-ADSyncSyncCycle -PolicyType Delta
You dont need to import if so
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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
Please advise how to get the ADSyncSyncCycle cmdlet installed.
Thanks
Are you running the command on the AADConnect Server?
Start-ADSyncSyncCycle -PolicyType Delta
You dont need to import if so
Yes, and I do not see the Start-ADSyncSyncCycle in the list of commands.
Please try to Set-ExecutionPolicy RemoteSigned or enable your staging server if you have one and run the command from there.
Thanks for the feedback, I've set that accordingly and run it from the main server. It may be that we have ADSync and not AD Connect, are these two separate services from Microsoft?