Configuration Failed – Failed to connect to the configuration database: Error during decryption. Ensure the passphrase is correct.

Problem: Trying to add a server to SharePoint 2013 farm, after a passphrase reset. Got this error message.
Configuration Failed
Failed to connect to the configuration database: 
An exception of type System.ArgumentException was thrown. Additional exception information: Error during decryption. Ensure the passphrase is correct.

Error during decryption. Ensure the passphrase is correct.

Troubleshooting:

  • Double-checked my passphrase is correct. If my passphrase is wrong, I should get this error message: “The passphrase you entered is incorrect. Please try again” – But I didn’t receive any such!The passphrase you entered is incorrect. Please try again
  • Verified the pass-phrase change timer job’s last run time:
    Get-SPTimerJob -Identity job-admin-passphrase-change | Format-Table -Property DisplayName,Id,LastRunTime,Status
  • Tried restarting SharePoint Timer job and SharePoint Administration services in CA server
  • Made sure the account I logged in is a Farm Admin account with Security Admin, DB Creator roles in SQL Server, and Local administrator in the server I’m trying to add.

Solution Worked for me:

Clear SharePoint Configuration Cache on ALL SharePoint servers! And rerun the configuration wizard in the new server!! Here is how: How to Clear SharePoint Configuration Cache using PowerShell?

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 *