The term ‘Start-ADSyncSyncCycle’ is not recognized error

In this PowerShell azure tutorial, we will discuss how to fix the error, The term ‘Start-ADSyncSyncCycle’ is not recognized error. This error I got while running the PowerShell command to Manually Force Sync Azure AD Connect Using PowerShell ISE.

The term ‘Start-ADSyncSyncCycle’ is not recognized error

Recently, I was trying to run the PowerShell cmdlet to manually force the sync Azure AD to connect. Then I got the error “The term ‘Start-ADSyncSyncCycle’ is not recognized”.

I was executing the below PowerShell cmdlet

PS C:\WINDOWS\system32> Start-ADSyncSyncCycle -PolicyType Delta

You can see it here, as below

start-adsyncsynccycle not recognized
start-adsyncsynccycle not recognized

The exact error message is

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) [], CommandNotFoun
      dException
    • FullyQualifiedErrorId : CommandNotFoundException

start-adsyncsynccycle not recognized – solution

Now to fix this issue, You need to follow the below steps

Step-1: Open the Windows PowerShell or PowerShell ISE with run as administrator mode

the term 'start-adsyncsynccycle' is not recognized as the name of a cmdlet
the term start-adsyncsynccycle is not recognized

Step-2: Run the below PowerShell cmdlet to set the execution policy 

PS C:\WINDOWS\system32> Set-ExecutionPolicy RemoteSigned
the term start-adsyncsynccycle is not recognized
the term start-adsyncsynccycle is not recognized

Step-3: Now the next step is to import the ADSync module using the below PowerShell cmdlet.

Import-Module -Name "C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync" -Verbose
start adsyncsynccycle
start-adsyncsynccycle not recognized

Check out the Path for ADSync installation. By default, the path is C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync. But cross-check the path in your machine before running the cmdlet.

Step-4: Now try running the below PowerShell cmdlet again,

PS C:\WINDOWS\system32> Start-ADSyncSyncCycle -PolicyType Delta
start-adsyncsynccycle is not recognized
start-adsyncsynccycle not recognized

Now, you should able to execute this PowerShell cmdlet sucessfully with out any issue.

You may like to follow the below tutorials

Conclusion

Here, in this article, we discussed the fix or the solution for the error The term ‘Start-ADSyncSyncCycle’ is not recognized which I got while trying to execute the PowerShell cmdlet to Manually Force Sync Azure AD Connect. This solution will also fix the below errors

  • start-adsyncsynccycle not recognized
  • the term ‘start-adsyncsynccycle’ is not recognized as the name of a cmdlet
  • start adsyncsynccycle
  • start-adsyncsynccycle
  • the term start-adsyncsynccycle is not recognized
  • start-adsyncsynccycle is not recognized
  • start-adsyncsynccycle not found
  • start adsyncsynccycle delta

Hope this helps you to fix your issue !!!