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.

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.

Properties

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

Relationships

None

JSON representation

Here is a JSON representation of the resource

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