--- title: "Set-VBREntraIDTenantBackupJob" description: "This cmdlet modifies an Entra ID tenant backup job." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/set-vbrentraidtenantbackupjob.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Microsoft EntraID Support > Tenant Backup Jobs > Set-VBREntraIDTenantBackupJob" dateModified: "2026-08-19" --- # Set-VBREntraIDTenantBackupJob ## Short Description Modifies a backup job that protects a Microsoft Entra ID tenant. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Set-VBREntraIDTenantBackupJob -Job [-Name ] [-Description ] [-RetentionPolicy ] [-NotificationOptions ] [-EnableSchedule] [-ScheduleOptions ] [-EncryptionOptions ] [-EnableSecondaryTarget] [-SecondaryTarget ] [-TargetBackup ] [] ``` ## Detailed Description This cmdlet modifies an Entra ID tenant backup job. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Description

Specifies the description of the tenant backup job.

String

False

Named

False

EnableSchedule

Defines that the cmdlet will enable the custom schedule for the tenant backup job.

If you provide this parameter, the tenant backup job will run according to the schedule specified in ScheduleOptions. Otherwise, to run the job, you will need to start it manually.

SwitchParameter

False

Named

False

EnableSecondaryTarget

Enables copying tenant backups to the secondary backup repository.

SwitchParameter

False

Named

False

EncryptionOptions

Specifies encryption options.

Accepts the VBREncryptionOptions object. To create this object, run the New-VBREncryptionOptions cmdlet.

VBREncryptionOptions

False

Named

False

Job

Specifies the tenant backup job that you want to modify.

Accepts the VBREntraIDTenantBackupJob object. To get this object, run the Get-VBREntraIDTenantBackupJob cmdlet.

VBREntraIDTenantBackupJob

True

Named

True (ByPropertyName, ByValue)

Name

Specifies the name of the tenant backup job.

String

False

Named

False

NotificationOptions

Specifies notification options. The cmdlet will create the log backup job with these notification options.

Accepts the VBRNotificationOptions object. To create this object, run the New-VBRNotificationOptions cmdlet.

VBRNotificationOptions

False

Named

False

RetentionPolicy

Specifies the retention policy in days for backups created by the tenant backup job.

Int32

False

Named

False

ScheduleOptions

Specifies schedule options.

Accepts the VBRServerScheduleOptions object. To create this object, run the New-VBRServerScheduleOptions cmdlet.

VBRServerScheduleOptions

False

Named

True (ByPropertyName, ByValue)

SecondaryTarget

Specifies secondary repository settings.

Accepts the VBREntraIDBackupSecondaryTarget object. To create this object, run the New-VBREntraIDBackupSecondaryTarget cmdlet.

VBREntraIDBackupSecondaryTarget[]

False

Named

False

TargetBackup

Specifies Entra ID backup copy settings. The cmdlet will use data of this backup to create a backup chain instead of creating the chain anew.

Accepts the VBREntraIDTenantBackup object. To get this object, run the Get-VBREntraIDTenantBackup cmdlet.

VBREntraIDTenantBackup

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the [`VBREntraIDTenantBackupJob`](vbrentraidtenantbackupjob.md) object that contains setting of the created tenant backup job. ## Examples ::: example ### Changing Settings of Entra ID Backup Job This example shows how to change the settings of the `Tenant Backup` backup job and disable encryption. ``` $backupJob = Get-VBREntraIDTenantBackupJob -Name "Tenant Backup" $encOptions = New-VBREncryptionOptions -EnableEncryption:$false Set-VBREntraIDTenantBackupJob -Job $backupJob -Description "Backup of Entra ID tenant" -RetentionPolicy 12 -EncryptionOptions $encOptions ``` Perform the following steps: 1. Run the [`Get-VBREntraIDTenantBackupJob`](get-vbrentraidtenantbackupjob.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$backupJob` variable. 2. Run the [`New-VBREncryptionOptions`](new-vbrencryptionoptions.md) cmdlet. Set the `EnableEncryption` parameter value to `$false`. Save the result to the `$encOptions` variable. 3. Run the `Set-VBREntraIDTenantBackupJob` cmdlet. Specify the following: - Set the `$backupJob` variable as the `Job` parameter value. - Specify the `Description` and `RetentionPolicy` parameter values. - Set the `$encOptions` variable as the `EncryptionOptions` parameter value. ::: ## Related Commands - [`Get-VBREntraIDTenantBackupJob`](get-vbrentraidtenantbackupjob.md) - [`New-VBREncryptionOptions`](new-vbrencryptionoptions.md) - [`New-VBREntraIDBackupSecondaryTarget`](new-vbrentraidbackupsecondarytarget.md)