Archive

Posts Tagged ‘Distributed Cache Service’

SharePoint 2013 : Change the Distributed Cache Service managed account

February 29, 2016 Leave a comment

After Completing the configuration of SharePoint Farm , i noticed that SharePoint Health Analyzer in central administration site has detected critical events that require my attention. one of these events was  changing  Distributed Cached Service Account in SharePoint servers because it runs under farm account.

execute each of  below steps

$Farm=Get-SPFarm
$CacheService=$Farm.Services | Where {$_.Name -eq "AppFabricCachingService"}
$Accnt = Get-SPManagedAccount -Identity Domain\ServiceAccount
$CacheService.ProcessIdentity.CurrentIdentityType = "SpecificUser"
$CacheService.ProcessIdentity.ManagedAccount = $Accnt
$CacheService.ProcessIdentity.Update()

For your info , in case of you have multiple servers in the farm, and distributed cache service is running on multiple server , you may encounter some issues like changes only applied on the server in which you execute above commands . i will prepare a post for resolving any issues related to distributed cache service.