Get-AzureADMSDeletedDirectoryObject
This article provides migration details from Get-AzureADMSDeletedDirectoryObject command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Get-AzureADMSDeletedDirectoryObject
- Azure AD Module: AzureAD
- Microsoft Graph Command: Get-MgDirectoryDeletedItem (Community Examples)
- Graph Module: Microsoft.Graph.Identity.DirectoryManagement
- Graph Endpoint: GET /directory/deletedItems | /directory/deletedItems/{directoryObject-id}
Permissions
Supported resource | Delegated (work or school account) | Delegated (personal Microsoft account) | Application |
---|---|---|---|
administrativeUnit | AdministrativeUnit.Read.All | Not supported. | AdministrativeUnit.Read.All |
application | Application.Read.All | Not supported. | Application.Read.All |
group | Group.Read.All | Not supported. | Group.Read.All |
servicePrincipal | Application.Read.All | Not supported. | Application.Read.All |
user | User.Read.All | Not supported. | User.Read.All |
Property Mapping
Azure AD Name | Microsoft Graph Name |
---|---|
Id | DirectoryObjectId |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for