Skip to main content
Solved

Invalid mail credentials

  • January 22, 2024
  • 26 comments
  • 627 views

Hi all, 

At the end of the job it does not send the email because it cannot find the credentials:
 

 

When entering options to modify them

 

I am getting the following error report

 

And I can't do anything else, since clicking ok on the notice doesn't do anything else.

Any idea? Thank you so much.

 

 

Best answer by andres.molino

Hi all, 

We finally opened a ticket with support and they fixed it.

It works correctly again with the credentials.

Thank you so much to everyone, incredible community! 😍

 

26 comments

coolsport00
Forum|alt.badge.img+21
  • Veeam Legend
  • January 22, 2024

What version of Veeam are you using? Seems to be an older version, because there is no “Options” option in the Console now...it’s called “General Options”, and don’t recall when that name was changed.

I can’t remember, but maybe you have credentials saved which you use in the Email Settings. I don’t recall that ever being the case with Veeam Email Settings. But, I’d check in your Credentials & Passwords settings to see if you’re using a set of user/pwd credentials there for your email, and change the pwd in that area.


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • January 22, 2024

What account did you use when installing Veeam and was that account on the VBR deleted?   You need an account that is in the local administrator group to log in to the console and then you can change the settings.


  • Author
  • Not a newbie anymore
  • January 22, 2024

What version of Veeam are you using? Seems to be an older version.

I can’t remember, but maybe you have credentials saved which you use in the Email Settings. I don’t recall that ever being the case with Veeam Email Settings. But, I’d check in your credentials settings to see if you’re using a set of user/pwd credentials there for your email, and change the pwd in that area.

I don't see a way to access the email credentials if not through "Options". Furthermore, I cannot modify any other option since the error does not allow me to enter the rest of the settings.


  • Author
  • Not a newbie anymore
  • January 22, 2024

What account did you use when installing Veeam and was that account on the VBR deleted?   You need an account that is in the local administrator group to log in to the console and then you can change the settings.

The account is active. The work is done correctly. Backup jobs work correctly. I can add and delete.Everything is functional except for sending emails after jobs and the "Options" tab.


coolsport00
Forum|alt.badge.img+21
  • Veeam Legend
  • January 22, 2024

Oh ok...so the new v12.1 changes the General Options back to Options?..Interesting.

Are you able to go into the Credentials section?


  • Author
  • Not a newbie anymore
  • January 22, 2024

Oh ok...so the new v12.1 changes the General Options back to Options?..Interesting.

Are you able to go into the Credentials section?

Yes,

but in none of these options the credentials for sending emails are managed.


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • January 22, 2024

Oh ok...so the new v12.1 changes the General Options back to Options?..Interesting.

Are you able to go into the Credentials section?

Yes,

but in none of these options the credentials for sending emails are managed.

What if you install the Console on another system and connect to the VBR server - can you access the Options section that way?


  • Author
  • Not a newbie anymore
  • January 22, 2024

Another installation, on another server, with the same accounts and credentials, works perfectly.

 


  • Author
  • Not a newbie anymore
  • January 22, 2024

What if you install the Console on another system and connect to the VBR server - can you access the Options section that way?

Ok, I see how to do it and try that way.

Thanks @Chris.Childerhose  & @coolsport00 for your help! :)


HunterLAFR
Forum|alt.badge.img+9
  • Veeam Legend
  • January 22, 2024

What if you install the Console on another system and connect to the VBR server - can you access the Options section that way?

Ok, I see how to do it and try that way.

Thanks @Chris.Childerhose  & @coolsport00 for your help! :)

this mail option is from the Scale Out repository, right?

may I ask, SMTP basic authentication? 
maybe that s what it hurts, have you try with different option? SMTP authenticated? 
that´s the thing with mail alerting from M365, depends on the security features, versions, etc.

 

check it out.

cheers.


dips
Forum|alt.badge.img+7
  • On the path to Greatness
  • January 22, 2024

As @HunterLAFR Basic Auth is being deprecated in Office 365. This might come in useful: 
https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online


  • Author
  • Not a newbie anymore
  • January 22, 2024

this mail option is from the Scale Out repository, right?

may I ask, SMTP basic authentication? 
maybe that s what it hurts, have you try with different option? SMTP authenticated? 
that´s the thing with mail alerting from M365, depends on the security features, versions, etc.

 

check it out.

cheers.

I set it up with a Gmail account, it worked fine. It was the next day when the error appeared and it no longer allowed me to enter options. Later I looked at the logs and saw that there was an error after finishing the backup and sending the email.
The fact is that the error in the credential also prevents it from entering the "Options" tab :(


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • January 22, 2024

this mail option is from the Scale Out repository, right?

may I ask, SMTP basic authentication? 
maybe that s what it hurts, have you try with different option? SMTP authenticated? 
that´s the thing with mail alerting from M365, depends on the security features, versions, etc.

 

check it out.

cheers.

I set it up with a Gmail account, it worked fine. It was the next day when the error appeared and it no longer allowed me to enter options. Later I looked at the logs and saw that there was an error after finishing the backup and sending the email.
The fact is that the error in the credential also prevents it from entering the "Options" tab :(

Gmail should work fine as I have my homelab set up that way and it works without issue.


CarySun
Forum|alt.badge.img+7
  • Veeam Vanguard
  • January 22, 2024

@andres.molino Did you try this for the credential issue? It’s old but worth to try it.

https://www.veeam.com/kb1807


  • Author
  • Not a newbie anymore
  • January 23, 2024

@andres.molino Did you try this for the credential issue? It’s old but worth to try it.

https://www.veeam.com/kb1807

Hi @CarySun CarySun, yes, I had already seen that post, and it refers to the credentials for the jobs, not those for sending notifications via email.

I think the most important thing here is, why does a credentials failure cause me to not be able to access the options menu?

 


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • January 23, 2024

@andres.molino Did you try this for the credential issue? It’s old but worth to try it.

https://www.veeam.com/kb1807

Hi @CarySun CarySun, yes, I had already seen that post, and it refers to the credentials for the jobs, not those for sending notifications via email.

I think the most important thing here is, why does a credentials failure cause me to not be able to access the options menu?

 

That and why it works on another machine with the console installed.  Are you able to access the Users & Roles section of the menu?  If so, check what users are there and add another one to the Backup Administrator role - then see if you can log in with that and change options.  If that works, I would remove the account from the list that does not work and add another one.


coolsport00
Forum|alt.badge.img+21
  • Veeam Legend
  • January 23, 2024

Yeah...don’t know if I’ve seen this issue before.

I had asked about the credentials area myself. He had said he was able to open them, though the screenshot above only shows him viewing the different Cred options. Hopefully he was able to open and get into them?


dloseke
Forum|alt.badge.img+8
  • Veeam Vanguard
  • February 1, 2024

Another installation, on another server, with the same accounts and credentials, works perfectly.

 

 

Was going to say, I’m surprised you can still use basic auth.  It’s going away...I’d recommend changing to Modern Auth.


Mildur
Forum|alt.badge.img+12
  • Influencer
  • February 1, 2024

 

Was going to say, I’m surprised you can still use basic auth.  It’s going away...I’d recommend changing to Modern Auth.

It’s not going away for SMTP. But it may been disabled by Microsoft for the tenant. You can enable it if you have old devices not capable to use modern authentication to send mails.

Deprecation of Basic authentication in Exchange Online | Microsoft Learn
Enable or disable SMTP AUTH in Exchange Online | Microsoft Learn
 


 

@andres.molino 
Looks like the credentials are missing in the configuration database. This is not something a remote console can solve. I suggest you open a support case with us to solve this issue.
Or replace the credentials of the notification settings per PowerShell with existing credentials ID from the database. Something like:

 

$credentials = Get-VBRCredentials

Set-VBRMailNotificationConfiguration -SmtpServer <IP or FQDN> -Sender <sender@domain.tld> -Recipient <recipient@domain.tld> -Subject %BackupJobs% -NotifyOnFailure -Credentials $credentials[0]

This will replace the current notification setting with existing credential IDs. Then the option window should open as normal again and you can change the notification settings as required.

 

Best,

Fabian


dloseke
Forum|alt.badge.img+8
  • Veeam Vanguard
  • February 8, 2024

I’ve heard rumblings in the past that basic auth for SMTP would go away eventually too though I couldn’t really pinpoint to anything substantial.  I’ve operated under that assumption for a while now and avoid SMTP basic auth when I can.  But yeah, I don’t see anything official about it going away anytime soon.


  • Author
  • Not a newbie anymore
  • Answer
  • February 29, 2024

Hi all, 

We finally opened a ticket with support and they fixed it.

It works correctly again with the credentials.

Thank you so much to everyone, incredible community! 😍

 


coolsport00
Forum|alt.badge.img+21
  • Veeam Legend
  • February 29, 2024

Hi @andres.molino -

Glad to hear Support was able to get you sorted. Curious to hear what they did to fix it? 


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • February 29, 2024

Great to hear you were able to get the issue fixed with the help of support.


  • Author
  • Not a newbie anymore
  • February 29, 2024

Hi @andres.molino -

Glad to hear Support was able to get you sorted. Curious to hear what they did to fix it? 

I'm sorry to say that I don't know either, it is a big company and the team that manages the licenses and incidents with support is independent and they only told us that the incident was resolved.


coolsport00
Forum|alt.badge.img+21
  • Veeam Legend
  • February 29, 2024

@andres.molino - all good. Was moreso for my curiousity. Just glad it’s taken care of for you all.