Edit

Share via


deviceAndAppManagementRoleAssignment resource type

Namespace: microsoft.graph

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

The Role Assignment resource. Role assignments tie together a role definition with members and scopes. There can be one or more role assignments per role. This applies to custom and built-in roles.

Inherits from roleAssignment

Methods

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

Properties

Property Type Description
id String The unique identifier of the request. This ID is assigned at when the entity is created. Read-only. Inherited from roleAssignment
displayName String Indicates the display name of the role assignment. For example: 'Houston administrators and users'. Max length is 128 characters. Inherited from roleAssignment
description String Indicates the description of the role assignment. For example: 'All administrators, employees and scope tags associated with the Houston office.' Max length is 1024 characters. Inherited from roleAssignment
resourceScopes String collection Indicates the list of resource scope security group Entra IDs. For example: {dec942f4-6777-4998-96b4-522e383b08e2}. Inherited from roleAssignment
members String collection Indicates the list of role member security group Entra IDs. For example: {dec942f4-6777-4998-96b4-522e383b08e2}.

Relationships

Relationship Type Description
roleDefinition roleDefinition Indicates the role definition for this role assignment. Inherited from roleAssignment

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.deviceAndAppManagementRoleAssignment",
  "id": "String (identifier)",
  "displayName": "String",
  "description": "String",
  "resourceScopes": [
    "String"
  ],
  "members": [
    "String"
  ]
}