Crawling MySites on https

by Robi 6. August 2013 15:10
Small trick… If you are going to crawl My Sites which are configured on https, you need to set your content source to crawl sps3s://mysites instead of sps3://mysites. If you try to crawl sps3 when your mysites web application is configured with SSL, you get the: »Object not found« Error in your crawl logs.  Hope it helps!!!

Tags:

SharePoint | SharePoint 2013

UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have a1097ef1-f31e-4145-88c1-ca2fd5c8c836

by Robi 7. March 2013 15:59
I'm playing around with SharePoint Server 2013 and configuring Service applications, trying out different installs and, well everything I can think of.  Few days ago I tried configuring synchronization of profile pictures from AD, which of course was working without any issues. But when I tried to run a command: Update-SPProfilePhotoStore -CreateThumbnailsForImportedPhotos 1 -MySiteHostLocation http://myportal/ I got the following error: Update-SPProfilePhotoStore : UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have a1097ef1-f31e-4145-88c1-ca2fd5c8c836 At line:1 char:1 I was trying to find a solution on the web but could not find one that would have the exact same issue. But then one article pointed me in the right direction. Background When I was configuring SharePoint 2013 in my DEV environment, I was preparing install scripts and I wanted to make a least priileged install of my farm. So I also changed Distributed cache account to a dedicated AD account with this script: $farm = Get-SPFarm #get windows service account $windowsServiceAccount=read-host "Enter Windows Service account" $accnt = Get-SPManagedAccount -Identity $windowsServiceAccount  #change distributed cache service account $cacheService = $farm.Services | where {$_.Name -eq "AppFabricCachingService"} $cacheService.ProcessIdentity.CurrentIdentityType = "SpecificUser" $cacheService.ProcessIdentity.ManagedAccount = $accnt $cacheService.ProcessIdentity.Update() $cacheService.ProcessIdentity.Deploy()  #start service $distrCacheService=Get-SPServiceInstance |where {$_.TypeName -eq "Distributed Cache "} if($distrCacheService.status -eq "Disabled") { $distrCacheService | Start-SPServiceInstance } while(-not($distrCacheService.status -eq "Online")) { write-host -ForegroundColor Yellow $distrCacheService.status;sleep 5; $distrCacheService=Get-SPServiceInstance |where {$_.TypeName -eq "Distributed Cache "} }    Solution So because distributed cache is now caching user profile data, it was then obvious, that distributed cache account does not have enough permissions on the User Profile Service Application to perform the PowerShell Command. After I granted Full Control permission on UPS Service App to my distributed cache account, everything started working without any further issues. One thing to remember though is, that PowerShell command to create thumbnail photo, should be run after every user profile import. You can use Windows Task manager to achieve this task.  Hope it helps J  Robi Vončina SharePoint Server MVP

Tags:

SharePoint 2013

Calendar

<<  October 2018  >>
MonTueWedThuFriSatSun
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

Page List

Month List