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 - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

Leave a Reply

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