Validate-VBREntraIDTenantItem
Short Description
Validates that a restore point contains data for the specified Microsoft Entra ID items.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Validate-VBREntraIDTenantItem -Session <VBREntraIDTenantRestoreSession> -RestorePointId <Guid> -Items <VBREntraIDTenantItem[]> [<CommonParameters>] |
Detailed Description
This cmdlet checks that a restore point contains data for the specified Microsoft Entra ID items. Use this cmdlet before the Restore-VBREntraIDTenantItemRestores a Microsoft Entra ID item. and Restore-VBREntraIDTenantItemAttributesRestores properties of Microsoft Entra ID items. cmdlets.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Items |
Specifies an array of tenant items. The cmdlet will check if data for these items is present in the specified restore point.
Accepts the |
True |
Named |
False |
|
|
RestorePointId |
Specifies the ID of the restore point which you want to validate. |
|
True |
Named |
False |
|
Session |
Specifies the restore session started to recover tenant data.
Accepts the |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns None if the item data exists in the restore point. The cmdlet returns the array of VBREntraIDTenantItem objects if the item data does not exist in the restore point. This array contains items whose data is not present in the restore point.
Examples
Validating That Restore Point Contains Data
This example shows how to validate if a restore point contains information for the admin user.
|
$session = Get-VBREntraIDTenantRestoreSession -Id "901e32ac-4c9e-4f7a-9b36-a4fd0f7248fe" $restorePoint = Get-VBREntraIDTenantRestorePoint -Backup $backup $item = Get-VBREntraIDTenantItem -Backup $backup -Type User -Name "admin" Validate-VBREntraIDTenantItem -Session $session -Items $item -RestorePointId $restorePoint[0].Id |
Perform the following steps:
- Run the
Get-VBREntraIDTenantRestoreSessionReturns restore sessions started to recover Microsoft Entra ID tenant backups. cmdlet. Specify theIdparameter value. Save the result to the$sessionvariable. - Run the
Get-VBREntraIDTenantRestorePointReturns restore points of a Microsoft Entra ID tenant backup. cmdlet. Set the$backupvariable as theBackupparameter value. Save the result to the$restorePointvariable. - Run the
Get-VBREntraIDTenantItemReturns Microsoft Entra ID items that a backup contains. cmdlet. Set the$backupvariable as theBackupparameter value. Specify theTypeandNameparameter values. Save the result to the$itemvariable. - Run the
Validate-VBREntraIDTenantItemcmdlet. Specify the following settings:- Set the
$sessionvariable as theSessionparameter value. - Set the
$itemvariable as theItemsparameter value. - Set the
$restorePoint[0].Idvariable as theRestorePointIdparameter value.$restorePoint[0].Idcontains the ID of the first restore point.
- Set the
Related Commands
Get-VBREntraIDTenantRestoreSessionReturns restore sessions started to recover Microsoft Entra ID tenant backups.Get-VBREntraIDTenantRestorePointReturns restore points of a Microsoft Entra ID tenant backup.Get-VBREntraIDTenantItemReturns Microsoft Entra ID items that a backup contains.