Set-SPPassPhrase: Error deploying administration application pool credentials. Another deployment may be active.

Problem: Got this error message when trying to change pass-phrase in a SharePoint 2013 farm:

Set-SPPassPhrase: Error deploying administration application pool credentials. Another deployment may be active.

Set-SPPassPhrase: Error deploying administration application pool credentials. Another deployment may be active. an object of the type Microsoft.SharePoint.Administration.SPMasterPassphraseDeploymentJobDefinition named “Job-admin-passphrase-change” already exists under the parent Microsoft.SharePoint.Administration.SPTimerJobService named “SPTimerV4”. Rename your object or delete the existing object.

Solution:

Clear SharePoint Configuration Cache on all SharePoint Servers! Make sure the SharePoint timer job is successfully started after clearing the SharePoint configuration cache.

KB: https://support.microsoft.com/en-us/kb/939308.

If you still experience the trouble, delete the timer job and try again with your passphrase change:

#Get the passphrase change timer job
$job = Get-sptimerjob job-admin-passphrase-change
#Output to screen
$job 
#Delete the timer job
$job.Delete()

You may face this issue when you try to use: Set-SPManagedAccount cmdlet as well.

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

Leave a Reply

Your email address will not be published. Required fields are marked *