#1 Global Leader in Data Resilience

"Database connection settings for the Microsoft Entra ID backup repository cannot be found."

KB ID: 4653
Product: Veeam Backup & Replication | 12.3
Published: 2024-12-03
Last Modified: 2024-12-16
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please, try again later.

If you are encountering this error after recently upgrading to Veeam Backup & Replication 12.3, and that upgrade failed on the first attempt, and you attempted the upgrade a second time, please review the section discussing "For Customers Who Ran the Upgrade a Second Time and It Succeeded" on KB4698.

As described below, if the Veeam Backup & Replication installer detects that during the upgrade Veeam Backup & Replication is not storing its configuration database on a local PostgreSQL instance, the installer will attempt to install PostgreSQL. The installer's attempted deployment of PostgreSQL can fail if the Windows Script Host is disabled. This is what can cause the initial failure described in KB4698.

Challenge

When attempting to add a Microsoft Entra ID Tenant to Veeam Backup & Replication a pop-up error is shown:

Database connection settings for the Microsoft Entra ID backup repository
cannot be found. Configure the repository according to this KB article to
continue.
Add entra id error

Cause

This error occurs when the Microsoft Entra ID backup repository connection settings have not been configured.
Empty Connection Settings
The Microsoft Entra ID backup repository connection settings will not be configured if the Veeam Backup & Replication installer detects an existing local PostgreSQL 15 instance on the Veeam Backup Server and it is not being used by Veeam Backup & Replication. In such a scenario, the Veeam Backup & Replication installer will avoid using the existing PostgreSQL 15 instance because the installer assumes the detected PostgreSQL 15 instance (that is not used by Veeam Backup & Replication) may be in use by another product or service, and sharing that PostgreSQL instance with Veeam Backup & Replication or any of its plug-ins would violate security best practices. Additionally, due to the complexity of installing two PostgreSQL instances of the same version on a Windows machine, the installer will not attempt to do so.

Solution

Overview

To resolve this issue, you must ensure that a valid PostgreSQL instance is specified within the database connection settings for the Microsoft Entra ID backup repository.

Possible Solutions

As explained in the cause section, this issue occurs when there is an existing PostgreSQL 15 instance on the Veeam Backup Server that is not being used to host the Veeam Backup & Replication Configuration Database. The most common resolution options are presented below:

Limitations and Considerations of Changing Connection Settings

More Information

The installer logic of whether to configure the Microsoft Entra ID backup repository is as follows:

For a New Veeam Backup & Replication Deployment

Is there an existing PostgreSQL 15 instance present on the machine?

  • No — Deploy a new PostgreSQL 15 instance and configure Veeam Backup & Replication and the Microsoft Entra ID backup repository to use it.
  • Yes — Switch the installer to advanced mode and prompt the user to specify PostgreSQL connection information.
    • If the user provides connection details for the existing local PostgreSQL instance, configure Veeam Backup & Replication and the Microsoft Entra ID backup repository to use it.
    • If the user does not provide credentials to connect to the existing local PostgreSQL instance and instead provides connection details for a local Microsoft SQL Server instance or a remote PostgreSQL or Microsoft SQL Server instance, configure VBR to use that instance but leave the Microsoft Entra ID backup repository settings blank.

For Veeam Backup & Replication Upgrades from a Previous Version

Is there an existing PostgreSQL 15 instance present on the machine?

  • No — This means the current Veeam Backup & Replication deployment is storing its configuration database in either a local Microsoft SQL Server instanceThis is likely the case for most Veeam Backup & Replication deployment that were first deployed prior to version 12.0. or a remote PostgreSQL or Microsoft SQL Server instance. In that case, deploy a new local PostgreSQL 15 instance and configure the Microsoft Entra ID backup repository to use it.
  • Yes — Is Veeam Backup & Replication configured to store its configuration database in that local PostgreSQL instance?
    • Yes — Use the known connection details to configure the Microsoft Entra ID backup repository to also use it.
    • No — Assume the existing local PostgreSQL instance was not created by Veeam and leave the Microsoft Entra ID backup repository settings blank.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.