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.

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

This resource supports:

  • Using delta query to track incremental additions, deletions, and updates, by providing a delta function.


Method Return Type Description
Get directoryObject directoryObject Read the properties of a directory object.
Delete None Delete a directory object.
checkMemberGroups String collection Check for membership in a list of groups. The check is transitive.
getMemberGroups String collection Return all the groups that the user, group, or directory object is a member of. The check is transitive.
getMemberObjects String collection Return all of the groups and directory roles that the user, group, or directory object is a member of. The check is transitive.
getByIds directoryObject collection Get a set of directory objects based on a set of supplied ids.
validateProperties JSON Validate an Office 365 group's display name or mail nickname complies with naming policies.
delta directoryObject collection Get incremental changes for directory objects. Supports filtering by derrived type.


Property Type Description
id String A Guid that is the unique identifier for the object; for example, 12345678-9abc-def0-1234-56789abcde12. Key. Not nullable. Read-only.



JSON representation

Here is a JSON representation of the resource

  "id": "string (identifier)"