“Error in Portal Crawl Web Service” when I checked the logs I got the following message
“PortalCrawl.GetSite(): System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. At Microsoft.Office.Server.Administration.UserProfileApplicationProxy.DemandAdministrationAccess(UserProfileApplicationAdminRights rights) at Microsoft.SharePoint.Portal.Search.PortalCrawl.PortalCrawl.GetSite(_PortalSite& sSite).”
It seemed to be permission related issue so I opened the Central Admin site and checked the Permissions on the Search Service Application to make sure that my service account has permissions on the Service Application.
Then I went to the Web Application UserPolicy settings (Central Admin -> Security -> User Policy for Web application) and gave my Content access account full control on the Web Application which hosted my site. But after doing all this also I was not able to successful y crawl the User Profiles.
Then I went to Search Service Application -> Content sources and removed the path for User Profile crawl (“sps3://
Then I ran a full crawl and it worked :)
So now if you face a problem in crawling User Profiles in SHarePoint 2010 ..you know what to do.