directory_role_eligibility_schedule_requests_role_definition
Creates, updates, deletes, gets or lists a directory_role_eligibility_schedule_requests_role_definition resource.
Overview
| Name | directory_role_eligibility_schedule_requests_role_definition |
| Type | Resource |
| Id | entra_id.role_management.directory_role_eligibility_schedule_requests_role_definition |
Fields
The following fields are returned by SELECT queries:
- get
Retrieved navigation property
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
description | string | The description for the unifiedRoleDefinition. Read-only when isBuiltIn is true. |
displayName | string | The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq, in). |
inheritsPermissionsFrom | array | Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles (isBuiltIn is true) support this attribute. Supports $expand. |
isBuiltIn | boolean | Flag indicating whether the role definition is part of the default set included in Microsoft Entra or a custom definition. Read-only. Supports $filter (eq, in). |
isEnabled | boolean | Flag indicating whether the role is enabled for assignment. If false the role is not available for assignment. Read-only when isBuiltIn is true. |
resourceScopes | array | List of the scopes or permissions the role definition applies to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment. |
rolePermissions | array | List of permissions included in the role. Read-only when isBuiltIn is true. Required. |
templateId | string | Custom template identifier that can be set when isBuiltIn is false but is read-only when isBuiltIn is true. This identifier is typically used if one needs an identifier to be the same across different directories. |
version | string | Indicates version of the role definition. Read-only when isBuiltIn is true. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | unified_role_eligibility_schedule_request_id | Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
unified_role_eligibility_schedule_request_id | string | The unique identifier of unifiedRoleEligibilityScheduleRequest |
SELECT examples
- get
Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand.
SELECT
id,
description,
displayName,
inheritsPermissionsFrom,
isBuiltIn,
isEnabled,
resourceScopes,
rolePermissions,
templateId,
version
FROM entra_id.role_management.directory_role_eligibility_schedule_requests_role_definition
WHERE unified_role_eligibility_schedule_request_id = '{{ unified_role_eligibility_schedule_request_id }}' -- required
;