In this article, I will solve the below SharePoint issue
Distributed Cache Service does not support this operation from Central Administration. Please use Sharepoint Powershell commandlets.
Scenario
When I tried to change the distributed cache service account via Central Administration, by following:
- Go to Central Administration > Security > Configure Service Accounts.
- On the Service Accounts page > Select Windows Service – Distributed Cache.
- In the “Select an account” list > Choose an appropriate account for this component > OK. I got the following error
Distributed Cache Service does not support this operation from Central Administration. Please use Sharepoint Powershell commandlets
Cause
The Distributed Cache Service Account must be changed using PowerShell, you can’t change it from Central Administration.
Solution
How to change the Distributed Cache Service account In SharePoint using SharePoint PowerShell Cmdlets
- Run SharePoint Management Shell as Administrator.
- Run the following cmdlets one by one (don’t forget to update <domain\user> with your service account)
$farm = Get-SPFarm $cacheService = $farm.Services | where {$_.Name -eq "AppFabricCachingService"} $accnt = Get-SPManagedAccount -Identity $cacheService.ProcessIdentity.CurrentIdentityType = "SpecificUser" $cacheService.ProcessIdentity.ManagedAccount = $accnt $cacheService.ProcessIdentity.Update() $cacheService.ProcessIdentity.Deploy()
- Go back to Central Administration > Security > Configure Service Accounts.
- On the Service Accounts page > Select Windows Service – Distributed Cache > Ensure that the service account has been updated successfully.
Applies To
- SharePoint 2016.
- SharePoint 2013.
Thanks for a great article . You covered the topic perfectly. Down to every important detail. Always greatly appreciated!!!
LikeLike
Most Welcome, Glad to hear it helped you
LikeLike
Thanks for this post. Good work.
LikeLike
welcome, glad to hear it helped you
LikeLike