EN 
30.11.2025 Ondřej WELCOME IN MY WORLD

This website is originally written in the Czech language. Most content is machine (AI) translated into English. The translation may not be exact and may contain errors.

Tento článek si můžete zobrazit v originální české verzi. You can view this article in the original Czech version.
Veeam Backup & Replication - zálohování Entra ID část 2

Veeam Backup & Replication - Entra ID backup part 2

| Petr Bouška - Samuraj |
Veeam Backup & Replication version 12.3 introduces a brand new feature, Veeam Backup for Microsoft Entra ID. It is the ability to back up Microsoft Entra ID. Backup of many types of objects is supported, such as users, groups, applications, Conditional Access Policies, and logs. We can perform granular recovery of certain objects or their attributes. In the second part, we will show you how to create both types of backup jobs (Entra ID Tenant and Entra ID log). We will mention enabling Conditional Access Policies backup. And we will take a very brief look at recovery.
displayed: 3 381x (1 273 CZ, 2 108 EN) | Comments [0]

Note: The description in this article is based on Veeam Backup & Replication 12.3.1, licensed using Veeam Universal License (VUL), which is equivalent to Enterprise Plus.

Continuation of information from Veeam Backup & Replication - Entra ID backup part 1.

Veeam Backup for Microsoft Entra ID

Creating a Tenant Backup Job

Tenant backup job is special. We set only a few parameters. We don't select storage and backups are saved to a (local) PostgreSQL database.

  • Veeam Backup & Replication Console
  • Home - Backup Job - Microsoft Entra ID - Tenant
Veeam Backup & Replication - Backup Job - Microsoft Entra ID - Tenant
  • Name - enter a unique name, optionally also a description
  • Tenant - select the Tenant that we added in the first part, Retention Policy - how many days we want to keep recovery points, older ones are removed
    • Advanced - Encryption - we can enable backup encryption
    • Advanced - Notifications - setting up notifications when a job completes (we can set globally or customize for individual job, to be able to set it on a job, it must be enabled globally, for example if we don't enable Success globally, it won't work when set on the job)
Veeam Backup & Replication - Entra ID Tenant Backup Job - Tenant
  • Schedule - we can schedule regular job execution (the second option is to run manually)

Running Tenant Backup Job

When we run the job, it connects to Entra ID and creates a list of objects to process. If we don't have enough licenses, we'll get an error and the job will end.

Job has been stopped with failures. Error: Unable to process the workload: your license has been exceeded

The backup of the test Tenant took 3.5 minutes.

Veeam Backup & Replication - Entra ID Tenant Backup Job - Run

Creating Log Backup Job

Log backup job is, on the other hand, classic. We set standard parameters and choose standard storage.

  • Veeam Backup & Replication Console
  • Home - Backup Job - Microsoft Entra ID - Logs
  • Name - enter a unique name, optionally also a description, we can select High priority if we want to prioritize this job
  • Tenant - select the Tenant that we added in the first part
  • Storage - select Backup Repository (backup storage) and Retention Policy (how many recovery points or days we want to keep), Configure secondary destinations for this job (we can add secondary storage, a Backup Copy Job will be created)
    • Advanced - Storage - we can enable compression and encryption of backups
    • Advanced - Maintenance - we can schedule regular maintenance, check the last Restore Point - Perform backup files health check (it's important that there's no collision with the time when the backup is running)
    • Advanced - Scripts - we can run custom scripts before and/or after the backup job
    • Advanced - Notifications - setting up notifications when a job completes (we can set globally or customize for individual job, to be able to set it on a job, it must be enabled globally, for example if we don't enable Success globally, it won't work when set on the job)
Veeam Backup & Replication - Entra ID Log Backup Job - Storage
  • Schedule - we can schedule regular job execution (the second option is to run manually)

Running Log Backup Job

An interesting thing is that we must create a Tenant Backup Job and it must run successfully. Otherwise, when running Log Backup Job, we'll get an error:

Failed to process Firma a.s.: Unable to backup Microsoft Entra ID logs: a recent backup of the same tenant must be created within
 the last 30 days to perform the audit log backup.  

In the test Tenant, the backup ran extremely slowly (2 KB/s) and took 1:36 hours.

Veeam Backup & Replication - Entra ID Log Backup Job - Run

Tenant Backup Job Backing Up Conditional Access Policies

If we want to back up Conditional Access Policies along with other Microsoft Entra ID objects, we need to do two things.

On the Veeam Backup Server, add a DWORD key EntraIdBackupSupportsConditionalAccessPolicyRestore with value 1 to the registry at path HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\.

Add permissions to the Veeam application in Entra ID.

  • Microsoft Entra admin center
  • Identity - Applications - App registrations
  • open the application - API permissions - Add a permission
  • Microsoft Graph - Application permissions - Policy.Read.All

During the next run, the job will also back up CAP.

Veeam Backup & Replication - Entra ID Log Backup Job - Run with CDP

Microsoft Entra ID Restore

Restore has many options, which are described in the official documentation Performing Restore. Here we'll show just a few images from the restore process.

Entra ID Tenant Restore

For Entra ID object restore, we have the Microsoft Entra ID Tenant Restore wizard, which has different graphics than the usual Browsers and Explorers in Veeam.

Veeam Backup & Replication - Entra ID Tenant Restore - Users
Veeam Backup & Replication - Entra ID Tenant Restore - User Properties
Veeam Backup & Replication - Entra ID Tenant Restore - Login Entra

Entra ID Log Restore

For log restore, the Backup Browser is used, and we essentially export a text file with logs.

Veeam Backup & Replication - Entra ID Logs Restore - Backup Browser
Author:

Related articles:

Veeam Backup & Replication

Articles that focus on Veeam Software's backup solution. It is a platform for Backup, Replication and Restore. In other words, a Data Protection and Disaster Recovery solution.

Azure, Microsoft 365, Office 365, Cloud

Various popular topics regarding the public cloud. More focused on Microsoft services, i.e. IaaS, PaaS, SaaS Azure, Entra ID directory services (formerly Azure AD) and hosted Microsoft 365 / Office 365 services.

If you want write something about this article use comments.

Comments

There are no comments yet.

Add comment

Insert tag: strong em link

Help:
  • maximum length of comment is 2000 characters
  • HTML tags are not allowed (they will be removed), you can use only the special tags listed above the input field
  • new line (ENTER) ends paragraph and start new one
  • when you respond to a comment, put the original comment number in squar brackets at the beginning of the paragraph (line)