I am trying to implement How to: Use the Content Enrichment web service callout for SharePoint Server from https://msdn.microsoft.com/en-us/library/office/jj163982.aspx
But everything else seems to be fine, and when executing the powershell cmdlets
Set-SPEnterpriseSearchContentEnrichmentConfiguration –SearchApplication $ssa –ContentEnrichmentConfiguration $config
I am getting the below error
Cannot convert 'System.Object' to the type 'Microsoft.Office.Server.Search.Cmdlet.SearchServiceApplicationPipeBind' required by parameter 'SearchApplication'. Specified method is not supported.
Please advise if I am missing anything obvious here.