directory resource type
Namespace: microsoft.graph
Represents a deleted item in the directory. When an item is deleted, it moves to the deleted items container. Deleted items remain available to restore for up to 30 days. After 30 days, the items are permanently deleted.
Currently, deleted items functionality is only supported for the application, group, and user resources.
Inherits from entity.
Methods
Method | Return Type | Description |
---|---|---|
Get deleted item | directoryObject | Gets the properties of a deleted item. |
Restore deleted item | directoryObject | Restores a recently deleted item. |
List deleted items | directoryObject collection | Gets a list of recently deleted items. |
Permanently delete item | None | Permanently deletes an item. |
List deleted items owned by user | directoryObject collection | Lists directory items owned by a user. |
Properties
Property | Type | Description |
---|---|---|
id | String | A unique identifier for the object; for example, 12345678-9abc-def0-1234-56789abcde . Key. Not nullable. Read-only. Inherited from entity. |
Relationships
Relationship | Type | Description |
---|---|---|
administrativeUnits | administrativeUnit collection | Conceptual container for user and group directory objects. |
attributeSets | attributeSet collection | Group of related custom security attribute definitions. |
customSecurityAttributeDefinitions | customSecurityAttributeDefinition collection | Schema of a custom security attributes (key-value pairs). |
deletedItems | directoryObject collection | Recently deleted items. Read-only. Nullable. |
deviceLocalCredentials | deviceLocalCredential collection | The credentials of the device's local administrator account backed up to Microsoft Entra ID. |
federationConfigurations | identityProviderBase collection | Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. |
onPremisesSynchronization | onPremisesDirectorySynchronization | A container for on-premises directory synchronization functionalities that are available for the organization. |
subscriptions | companySubscription collection | List of commercial subscriptions that an organization acquired. |
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.directory"
}
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