Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
1.7k views
in SharePoint Server by 66 69 85

In SharePoint Central Administrator 2019, I'm attempting to configure the outgoing mail, but I keep getting the following problem when saving the settings: couldn't store the SMTP password. The application credential key wasn't found on the local server or there was an encryption error.

As seen in the picture below:

couldn't store the SMTP password. The application credential key wasn't found on the local server or there was an encryption error.

P.S: The username and password are definitely correct.


1 Answer

1 like 0 dislike
by 163 204 403
selected by
 
Best answer

Set Application credential key in SharePoint 2019

To solve this issue "couldn't store the SMTP password. The application credential key wasn't found on the local server or there was an encryption error.", you have to set the application credential key, by running the following command on each SharePoint server:

Set Application Credential Key PowerShell Example:

$key = ConvertTo-SecureString -AsPlainText -Force "The "application credential key" # is the password to be used to encrypt and decrypt the SMTP password.
Set-SPApplicationCredentialKey $key

Note: Repeat the command on each additional SharePoint server in the farm, using the same application credential key.

Remove Application credential key in SharePoint 2019

If you want to remove the application credential key from the local server, use the Remove-SPApplicationCredentialKey cmdlet as below:

Remove-SPApplicationCredentialKey -Confirm:$false
If you don’t ask, the answer is always NO!
...