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 is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply