directoryObject resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

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.

Methods

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 a Microsoft 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.

Properties

Property Type Description
id String The unique identifier for the object. For example, 12345678-9abc-def0-1234-56789abcde. The value of the id property is often but not exclusively in the form of a GUID; treat it as an opaque identifier and do not rely on it being a GUID. Key. Not nullable. Read-only.

Relationships

None

JSON representation

Here is a JSON representation of the resource

{
  "id": "string (identifier)"
}