Muokkaa

Jaa


Get-AzureADMSDeletedDirectoryObject

This cmdlet is used to retrieve a soft deleted directory object from the directory

Syntax

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

Description

This cmdlet is used to retrieve a soft deleted directory object from the directory. Note that soft delete for groups is currently only implemented for Unified Groups (a.k.a. Office 365 Groups).

Examples

Example 1

Get-AzureADMSDeletedDirectoryObject -Id 85b5ff1e-0402-400c-9e3c-0f9e965325d1

This example shows how to retrieve the deleted directory object with id = 85b5ff1e-0402-400c-9e3c-0f9e965325d1 from the directory

Parameters

-Id

The Id of the directory object to retrieve

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

Inputs

String

Outputs

Object

Notes

See the migration guide for Get-AzureADMSDeletedDirectoryObject to the Microsoft Graph PowerShell.