Επεξεργασία

Κοινή χρήση μέσω


Restore-AzureADMSDeletedDirectoryObject

This cmdlet is used to restore a previously deleted object.

Syntax

Restore-AzureADMSDeletedDirectoryObject
       -Id <String>
       [<CommonParameters>]

Description

This cmdlet is used to restore a previously deleted object. Currently, only restoring Group and Application objects is supported. When a group or an application is deleted it is initially soft deleted and can be recovered during the first 30 days after deletion. After 30 days the deleted object is permanently deleted and can no longer be recovered. Note that only Unified Groups (a.k.a. Office 365 Groups) can be restored. Security groups cannot be restored.

Examples

Example 1

Restore-AzureADMSDeletedDirectoryObject -Id aa644285-eb75-4389-885e-7233f096984c

This example shows how to restore a deleted object with Id aa644285-eb75-4389-885e-7233f096984c

Parameters

-Id

The Id of the directory object to restore

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

Object