Preparing Your Own Application

By default, when you add an Azure tenant, Veeam Data Cloud creates an application in your Azure tenant after you grant consent. Veeam Data Cloud uses the service principal of this application to protect your Azure resources.

If you want to control the application yourself, you can instruct Veeam Data Cloud to use an application that you register and manage in your Azure tenant. In this case, you must prepare the application, its certificate and the role assignments in Microsoft Azure before you launch the Add Azure Tenant wizard. You will then specify the application ID and the certificate at the Connection step of the wizard. For more information on adding Azure tenants, see Adding Microsoft Azure Tenants.

Important

You are responsible for renewing the certificate before it expires. If the certificate expires, Veeam Data Cloud will not be able to access your Azure tenant through the application.

Before You Begin

Before you prepare the application, make sure that your Azure account meets the following requirements:

  • The account can register applications in your Microsoft Entra tenant.
  • The account has the Microsoft.Authorization/roleDefinitions/write and Microsoft.Authorization/roleAssignments/write permissions at the subscription level of each subscription that you want to protect. These permissions allow you to create a custom role and assign it to the application.

Certificate Requirements

The certificate that you use for authentication must meet the following requirements:

  • The certificate file must have the PKCS #12 format (.PFX or .P12) and must not be larger than 16 KB. You can protect the file with a password.
  • The file must contain exactly one certificate with its private key.
  • The private key must be an RSA key that is at least 3072 bits long.
  • The signature algorithm of the certificate must be SHA-256 with RSA or ECDSA.
  • The certificate must be valid at the time you add the tenant: its start date must not be in the future, and its expiration date must not be in the past.

If the certificate does not meet these requirements, Veeam Data Cloud will not accept it at the Connection step of the wizard.

Setting Up Application

To prepare the application, do the following:

  1. In the Azure portal, open Microsoft Entra ID > App registrations and click New registration. Specify a name for the application, select the Accounts in this organizational directory only option to create a single-tenant application and click Register. For more information, see Microsoft documentation.
  2. On the Overview page of the application, copy the Application (client) ID and Directory (tenant) ID values. You will specify them at the Connection step of the wizard.
  3. Create a certificate that meets the requirements listed in the Certificate Requirements section. Save the certificate with its private key to a .PFX or .P12 file and export the public key of the certificate to a .CER file.
  4. In the application, open Certificates & secrets, switch to the Certificates tab, click Upload certificate and select the .CER file.
  5. Assign the required roles to the application on each subscription that you want to protect. To do that, create a custom role that contains the permissions listed in Permissions and assign this role to the service principal of the application at the subscription level. The application does not need any Microsoft Entra API permissions — Veeam Data Cloud requires only the Azure role assignments. For more information about custom roles, see Microsoft documentation.

After you prepare the application, launch the Add Azure Tenant wizard and select the Use my own application option at the Authorization step. For more information, see Select Connection Method.