entitlement_management_access_packages_resource_role_scopes_role
Creates, updates, deletes, gets or lists an entitlement_management_access_packages_resource_role_scopes_role resource.
Overview
| Name | entitlement_management_access_packages_resource_role_scopes_role |
| Type | Resource |
| Id | entra_id.identity_governance.entitlement_management_access_packages_resource_role_scopes_role |
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 | A description for the resource role. |
displayName | string | The display name of the resource role such as the role defined by the application. |
originId | string | The unique identifier of the resource role in the origin system. For a SharePoint Online site, the originId is the sequence number of the role in the site. |
originSystem | string | The type of the resource in the origin system, such as SharePointOnline, AadApplication, or AadGroup. |
resource | |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | access_package_id, access_package_resource_role_scope_id | ||
update | update | access_package_id, access_package_resource_role_scope_id | ||
delete | delete | access_package_id, access_package_resource_role_scope_id | If-Match |
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 |
|---|---|---|
access_package_id | string | The unique identifier of accessPackage |
access_package_resource_role_scope_id | string | The unique identifier of accessPackageResourceRoleScope |
If-Match | string | ETag |
SELECT examples
- get
Retrieved navigation property
SELECT
id,
description,
displayName,
originId,
originSystem,
resource
FROM entra_id.identity_governance.entitlement_management_access_packages_resource_role_scopes_role
WHERE access_package_id = '{{ access_package_id }}' -- required
AND access_package_resource_role_scope_id = '{{ access_package_resource_role_scope_id }}' -- required
;
UPDATE examples
- update
No description available.
UPDATE entra_id.identity_governance.entitlement_management_access_packages_resource_role_scopes_role
SET
id = '{{ id }}',
description = '{{ description }}',
displayName = '{{ displayName }}',
originId = '{{ originId }}',
originSystem = '{{ originSystem }}',
resource = '{{ resource }}'
WHERE
access_package_id = '{{ access_package_id }}' --required
AND access_package_resource_role_scope_id = '{{ access_package_resource_role_scope_id }}' --required
RETURNING
id,
description,
displayName,
originId,
originSystem,
resource;
DELETE examples
- delete
No description available.
DELETE FROM entra_id.identity_governance.entitlement_management_access_packages_resource_role_scopes_role
WHERE access_package_id = '{{ access_package_id }}' --required
AND access_package_resource_role_scope_id = '{{ access_package_resource_role_scope_id }}' --required
AND If-Match = '{{ If-Match }}'
;