This blog covers the errors during the configuration of the MIM Sync with SharePoint 2016. This error is seen during or after the configuration of the Microsoft Identity Manager synchronization with User profile service.
Start-SharePointSync
The term ‘Start-SharePointSync’ is not recognized as the name of a cmdlet, When you are trying to start the SharePoint Synchronization either full or Delta, you will end up with the following error.
PS C:\Users\kfinst> Start-SharePointSync
Start-SharePointSync
The term ‘Start-SharePointSync’ 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. Then, try again.
At line:1 char:1
+ Start-SharePointSync
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Start-SharePointSync:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\kfinst> Start-SharePointSync -delta
Start-SharePointSync
The term ‘Start-SharePointSync’ 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. Then, try again.
At line:1 char:1
+ Start-SharePointSync -delta
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Start-SharePointSync:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\kfinst>
Reason
The SharePointSync Module is not loaded before the start of these commands.
Resolution
Import the SharePointSync Module using the following command.
Import-Module C:\SharePointSync\SharePointSync.psm1 -Force.
Once it is loaded, you will be able to run Full or Delta Sync successfully.