directoryObject resource type

Namespace: microsoft.graph

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 directoryObject None Delete a directory object.
checkMemberGroups String collection Check for membership in a list of groups. The check is transitive.
Get available extension properties extensionProperty collection Get all or a filtered list of the directory extension properties that have been registered in a directory.
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 that a Microsoft 365 group's display name or mail nickname complies with naming policies.

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)"
}