Restore-MgDirectoryDeletedItem
POST /directory/deletedItems/{directoryObject-id}/restore (v1.0)
Module: Microsoft.Graph.Identity.DirectoryManagement
Permissions
Delegated (work or school)
- User.DeleteRestore.All (least privilege)
- User.ReadWrite.All
- AgentIdUser.ReadWrite.IdentityParentedBy
- AgentIdUser.ReadWrite.All
- AgentIdentityBlueprintPrincipal.DeleteRestore.All
- AgentIdentityBlueprint.DeleteRestore.All
- AgentIdentity.DeleteRestore.All
Delegated (personal)
No permission metadata available for this account type.
Application
- User.DeleteRestore.All (least privilege)
- User.ReadWrite.CrossCloud
- User.ReadWrite.All
- AgentIdUser.ReadWrite.IdentityParentedBy
- AgentIdUser.ReadWrite.All
- AgentIdentityBlueprintPrincipal.DeleteRestore.All
- AgentIdentityBlueprint.DeleteRestore.All
- AgentIdentity.DeleteRestore.All
Source: Microsoft Graph PowerShell SDK metadata
Confirm property-specific permissions, Entra roles, licensing and ownership requirements in the official documentation. SDK metadata outside the verified sample is not independently certified.