directoryObject resource type

Important: APIs under the / beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported. Note: Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is correctly licensed by the customer.

Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Methods

Method Return Type Description
List directoryObjects directoryObject collection List properties and relationships of the directoryObject objects.
Get directoryObject directoryObject Read properties and relationships of the directoryObject object.
Create directoryObject directoryObject Create a new directoryObject object.
Delete directoryObject None Deletes a directoryObject.
Update directoryObject directoryObject Update the properties of a directoryObject object.

Properties

Property Type Description
id String The directory object identifier

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.directoryObject",
  "id": "String (identifier)"
}