azureblog.co.uk
← cd ~/roles
// roles/entra

Entra Backup AdministratorMicrosoft Entra built-in role

Manage all aspects of Microsoft Entra Backup, such as create recovery jobs and manage backup snapshots.

Role IDb6a27b2b-f905-4b2e-81b5-0d90e0ef1fdb
PrivilegedNo
Permissions6

What it can do

PermissionWhat it allows
microsoft.directory/auditLogs/standard/readRead standard properties on audit logs, excluding custom security attributes audit logs
microsoft.directory/backup/preview/cancelCancel a Microsoft Entra backup operation to compare a backup snapshot with the current state.
microsoft.directory/backup/preview/createCreate a Microsoft Entra backup operation that allows a user to compare a backup snapshot with the current state.
microsoft.directory/backup/recovery/cancelCancel a Microsoft Entra recovery operation to recover the contents of a backup snapshot
microsoft.directory/backup/recovery/createCreate a Microsoft Entra recovery operation that allows a user to recover the contents of a backup snapshot.
microsoft.directory/backup/standard/readList Microsoft Entra backups (for example, backup IDs and timestamps), view difference reports, and list recovery jobs and their associated properties.

Assign it

The role ID is the same in every tenant, so these work as they are. Make it eligible through PIM:

powershell13 lines
Connect-MgGraph -Scopes "RoleEligibilitySchedule.ReadWrite.Directory"
$user = Get-MgUser -UserId "jane.doe@contoso.com"
New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -BodyParameter @{
    Action           = "AdminAssign"
    Justification    = "Needs Entra Backup Administrator for <reason>"
    RoleDefinitionId = "b6a27b2b-f905-4b2e-81b5-0d90e0ef1fdb"
    DirectoryScopeId = "/"
    PrincipalId      = $user.Id
    ScheduleInfo     = @{
        StartDateTime = (Get-Date).ToUniversalTime().ToString("o")
        Expiration    = @{ Type = "afterDuration"; Duration = "P180D" }
    }
}

Who already has it?

powershell3 lines
Connect-MgGraph -Scopes "RoleManagement.Read.Directory"
Get-MgRoleManagementDirectoryRoleAssignment -Filter "roleDefinitionId eq 'b6a27b2b-f905-4b2e-81b5-0d90e0ef1fdb'" -ExpandProperty Principal |
    ForEach-Object { $_.Principal.AdditionalProperties.displayName }

Related roles

Find the smallest role for a task →