Home > SharePoint 2013 > SharePoint 2013 : Change the Distributed Cache Service managed account

SharePoint 2013 : Change the Distributed Cache Service managed account

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.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: