Skip to main content

[guide] VBR 12.3.2 - How to configure Microsoft Entra ID - Backup & Restore - Step by Step

  • August 4, 2025
  • 11 comments
  • 167 views

Link State
Forum|alt.badge.img+11

Hello everyone,

I would like to share with you a new guide dedicated to Azure cloud for backing up and restoring Entra ID objects.

Why back up Microsoft Entra ID
Backing up Azure Entra ID (formerly Azure Active Directory) objects is essential for ensuring security, business continuity, and compliance. Here is a summary of the main reasons:

1. Protection against accidental or malicious deletions
Users, groups, roles, or applications can be deleted by mistake or intentionally.

A backup allows you to quickly restore these objects without having to recreate them manually.

2. Reduced downtime
The unavailability or corruption of Entra ID objects can block access to critical cloud services (e.g., Microsoft 365, Teams, Intune).

Backup speeds up recovery, minimizing the impact on users and operations.

3. Resilience against cyberattacks
In the event of ransomware or malicious changes, a backup allows you to revert to a secure and stable version of configurations and permissions.

4. Compliance and auditing
Many regulations require the retention of user data and configurations.

Backups demonstrate compliance with regulatory requirements (e.g., GDPR, ISO 27001).

5. Granular restoration and recovery testing
Tools such as Veeam allow selective restoration (e.g., only a group or policy) and non-destructive testing of the disaster recovery plan.

Solution Architecture

Solution Architecture - User Guide for Microsoft Entra ID

  • How to work Veeam Backup for Microsoft Entra ID

Details Link:

Microsoft Entra ID Plug-in for Veeam Backup & Replication

General-purpose backup proxy

Microsoft Entra ID backup repository

Log backup repositories

Cache repository

  • Permissions

Permissions - User Guide for Microsoft Entra ID

  • Ports

Ports - User Guide for Microsoft Entra ID

  • System Requirements

System Requirements - User Guide for Microsoft Entra ID

  • Configuring Log and Cache Repositories

Configuring Log and Cache Repositories - User Guide for Microsoft Entra ID

  • Create user dedicated for New Database Entra ID in PostgesSQL 15.3

 

  •  

  • Choose Connection Method

 

https://entra.microsoft.com/

 

  • Configuring Veeam Backup for Microsoft Entra ID

Configuring Veeam Backup for Microsoft Entra ID - User Guide for Microsoft Entra ID

Step 1: Verify Your App Registration

  1. Go to Microsoft Entra Admin Center.
  2. Navigate to:
    Home > Identity > Applications > App registrations
  3. Click on the App ID you're using (xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx).

Confirm:

 

Step 2: Check Required API Permissions If you want create maul user

Under your App Registration:

  1. Go to API permissions.
  2. Click Add a permission > Microsoft Graph:
    •  Application permissions:
    • Directory.Read.All
    • Group.Read.All
    • User.Read.All

Delegated permissions (if using interactive logon)

    • offline_access
    • User.Read

 

  • Adding Microsoft Entra ID Tenants

Check connettivity:

Test-NetConnection login.microsoftonline.com -Port 443

bad 💀

good 😍

 

  • Test the Entra OAuth 2.0 endpoint

Invoke-WebRequest -Uri "https://login.microsoftonline.com/common/oauth2/token" -UseBasicParsing

good 😍

 

  • Verify the secretID of the new account created by the Veeam wizard and/or created manually.

 

  • Specifying Existing Application

Specifying Existing Application - User Guide for Microsoft Entra ID

 

  • Creating New Application

 

 

  • Check secret ID form azure

 

Complete the wizard

 

  • Create backup job for Entra ID

  • Test restore

 For testing purposes, I am deleting a test user so that I can then restore it.

 

 

 

enjoy

happy backup & restore

 

11 comments

Iams3le
Forum|alt.badge.img+11
  • Veeam Legend
  • 1546 comments
  • August 4, 2025

Great guide ​@Link State! Thank you for sharing. 


coolsport00
Forum|alt.badge.img+21
  • Veeam Legend
  • 4903 comments
  • August 4, 2025

Great detailed Entra backup writeup! Thanks for sharing ​@Link State 👍🏻


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 9583 comments
  • August 4, 2025

This is a great article ​@Link State .  I set up EntraID backup to test it for our stuff and it works great.  It is interesting how it uses Postgres instead of traditional storage for backups.


JMeixner
Forum|alt.badge.img+16
  • On the path to Greatness
  • 2687 comments
  • August 4, 2025

A very comprehensive guide, ​@Link State 👍🏼

I have to lookup the licensing conduitions for this.

 

Another option is to use Veeam Data Cloud für EntraID 😎


Link State
Forum|alt.badge.img+11
  • Author
  • Veeam Legend
  • 686 comments
  • August 4, 2025

A very comprehensive guide, ​@Link State 👍🏼

I have to lookup the licensing conduitions for this.

 

Another option is to use Veeam Data Cloud für EntraID 😎

 here man, i use “rental License”

Licensing - User Guide for Microsoft Entra ID

You can use “Integration with VCSP Pulse”

Microsoft Entra ID Tenants - Veeam Rental Licensing and Usage Reporting

Integration with VCSP Pulse - Veeam Service Provider Console Guide

 


JMeixner
Forum|alt.badge.img+16
  • On the path to Greatness
  • 2687 comments
  • August 4, 2025

A very comprehensive guide, ​@Link State 👍🏼

I have to lookup the licensing conduitions for this.

 

Another option is to use Veeam Data Cloud für EntraID 😎

 here man, i use “rental License”

Licensing - User Guide for Microsoft Entra ID

You can use “Integration with VCSP Pulse”

Microsoft Entra ID Tenants - Veeam Rental Licensing and Usage Reporting

Integration with VCSP Pulse - Veeam Service Provider Console Guide

 

Fine, I am using rental licenses, too.

Thanks.


coolsport00
Forum|alt.badge.img+21
  • Veeam Legend
  • 4903 comments
  • August 5, 2025

This is a great article ​@Link State .  I set up EntraID backup to test it for our stuff and it works great.  It is interesting how it uses Postgres instead of traditional storage for backups.

Wait..what? Entra uses a DB to store its backups? Who knew??? 🤷🏻‍♂️😂


Stabz
Forum|alt.badge.img+8
  • Veeam Legend
  • 413 comments
  • August 6, 2025

This is a great article ​@Link State .  I set up EntraID backup to test it for our stuff and it works great.  It is interesting how it uses Postgres instead of traditional storage for backups.

Wait..what? Entra uses a DB to store its backups? Who knew??? 🤷🏻‍♂️😂

Yep ! But for backup Audit logs a repository is needed.

I remember that is recommended to deploy a new server dedicated for Veeam for Entra ID, but for small company I think we could mutualized with an VBR install.

I don’t know if we have some BP to follow

 


coolsport00
Forum|alt.badge.img+21
  • Veeam Legend
  • 4903 comments
  • August 6, 2025

I learned something new! 😊


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 9583 comments
  • August 6, 2025

This is a great article ​@Link State .  I set up EntraID backup to test it for our stuff and it works great.  It is interesting how it uses Postgres instead of traditional storage for backups.

Wait..what? Entra uses a DB to store its backups? Who knew??? 🤷🏻‍♂️😂

Yep ! But for backup Audit logs a repository is needed.

I remember that is recommended to deploy a new server dedicated for Veeam for Entra ID, but for small company I think we could mutualized with an VBR install.

I don’t know if we have some BP to follow

 

Yes audit logs are repo based exactly.  It is nice having everything in one PG instance or maybe not. 😜


MarcoLuvisi
Forum|alt.badge.img+6
  • VUG Leader
  • 320 comments
  • August 11, 2025

Top Guide ​@Link State !!